Computes polarization index from parametric Lorenz fit
Source:R/gd_compute_pip_stats_lq.R
gd_compute_polarization_lq.Rd
Used for grouped data computations
Arguments
- mean
numeric: Welfare mean.
- p0
numeric: TO BE DOCUMENTED.
- dcm
numeric: Distribution corrected mean
- 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