Skip to contents

Measures the fit of the model to the data.

Usage

gd_compute_fit_lq(welfare, population, headcount, A, B, C, key_values)

Arguments

welfare

numeric: Welfare vector (grouped).

population

numeric: Population vector (grouped).

headcount

numeric: Headcount index. Allows for vector.

A

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

B

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

C

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

key_values

named list: key values for lq fit, calculated using A, B, C parameters using gd_lq_key_values

Value

list