Skip to contents

Computes the sum of squares of error Measures the fit of the model to the data.

Usage

gd_compute_fit_lb(welfare, population, headcount, A, B, C)

Arguments

welfare

numeric: Welfare vector (grouped).

population

numeric: Population vector (grouped).

headcount

numeric: Headcount index.

A

numeric: Lorenz curve coefficient. Output of regres()$coef[1].

B

numeric: Lorenz curve coefficient. Output of regres()$coef[2].

C

numeric: Lorenz curve coefficient. Output of regres()$coef[3].

Value

list