gd_compute_dist_fit_lq: Computes the sum of squares of error

View source: R/gd_compute_dist_stats.R

gd_compute_dist_fit_lqR Documentation

Computes the sum of squares of error

Description

Measures the fit of the model to the data for distributional statistics.

Usage

gd_compute_dist_fit_lq(welfare, population, A, B, C, key_values)

Arguments

welfare

numeric: Welfare vector (grouped).

population

numeric: Population vector (grouped).

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


PIP-Technical-Team/wbpip documentation built on Nov. 29, 2024, 6:57 a.m.