Compute quantiles from Lorenz Quandratic fit
Source:R/gd_compute_pip_stats_lq.R
gd_compute_quantile_lq.Rdgd_compute_quantile_lq() computes quantiles from a Lorenz Quadratic fit.
Arguments
- 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].- n_quantile
numeric: Number of quantiles to return.
- key_values
named list: key values for lq fit, calculated using A, B, C parameters using gd_lq_key_values