Computes the sum of squares of error Measures the fit of the model to the data.
Source:R/gd_compute_pip_stats_lb.R
gd_compute_fit_lb.Rd
Computes the sum of squares of error Measures the fit of the model to the data.
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]
.