Skip to contents

Microdata

md_ABC_2000_income
ABC 2000 Income (microdata)
md_ABC_2010_income
ABC 2010 Income (microdata)
md_DEF_2000_consumption
DEF 2000 Consumption (microdata)
md_GHI_2000_consumption
GHI 2000 Consumption (microdata)
md_GHI_2000_income
GHI 2000 Income (microdata)

Grouped data

grouped_data_ex1
A dataset containing fake group data distribution
grouped_data_ex2
A dataset containing fake group data distribution
grouped_data_ex3
A dataset containing fake group data distribution
gd_GHI_2009_income
GHI 2009 Income (group data)
gd_clean_data()
Clean data (grouped)
gd_estimate_distribution()
Estimate distribution (grouped data)

Lorenz Curve Validity Checks

check_curve_validity_lb()
Check validity of Lorenz beta fit
check_curve_validity_lq()
Check validity of Lorenz Quadratic fit

Lorenz Functional Form Creation

create_functional_form_lb()
create_functional_form_lb
create_functional_form_lq()
Prepares data for Lorenz Quadratic regression

Derivative Calculations

derive_lb()
Returns the first derivative of the beta Lorenz- Vectorized
derive_lq()
Returns the first derivative of the quadratic Lorenz

Lorenz Curve Solvers/Computations

value_at_lb()
Solves for beta Lorenz curves
value_at_lq()
Solves for quadratic Lorenz curves
get_lorenz()
Lorenz curve
md_compute_lorenz()
Lorenz curve
regres()
Perform linear regression on Lorenz formatted input

Distributional and Poverty Statistics Algorithms

use_lq_for_distributional()
Algorithm to decide which Lorenz fit to use for distributional statistics
use_lq_for_poverty()
Algorithm to decide which Lorenz fit to use for poverty statistics

Model Fitting and Statistics (Grouped Data)

gd_compute_fit_lb()
Computes the sum of squares of error Measures the fit of the model to the data.
gd_compute_fit_lq()
Computes the sum of squares of error
gd_compute_gini_lb()
Compute gini index from Lorenz beta fit
gd_compute_gini_lq()
Compute gini index from Lorenz Quadratic fit
gd_compute_headcount_lb()
Compute the headcount statistic from Lorenz Beta fit
gd_compute_headcount_lq()
Compute poverty for Quadratic Lorenz
gd_compute_mld_lb()
Computes MLD from Lorenz beta fit
gd_compute_mld_lq()
Computes MLD from Lorenz Quadratic fit
gd_compute_polarization_lb()
Computes polarization index from parametric Lorenz fit
gd_compute_polarization_lq()
Computes polarization index from parametric Lorenz fit
gd_compute_pov_gap_lb()
Compute poverty gap for Lorenz Beta fit
gd_compute_pov_gap_lq()
Compute poverty gap using Lorenz quadratic fit
gd_compute_pov_severity_lb()
Compute poverty severity for Lorenz Beta fit
gd_compute_pov_severity_lq()
Compute poverty severity for Lorenz Quadratic fit
gd_compute_watts_lb()
Computes Watts Index from beta Lorenz fit
gd_compute_watts_lq()
Computes Watts Index from Quadratic Lorenz fit

Poverty and Inequality Measures

fill_gaps()
Fill gaps
compute_pip_stats()
Compute default PIP statistics (microdata)
md_compute_cumulative_share()
Welfare share by quantile in micro data
md_compute_fgt() md_compute_headcount() md_compute_pov_gap() md_compute_pov_severity() md_compute_watts()
Compute FGT poverty family measures and Watts index for Microdata
md_compute_mld()
Mean Log Deviation
md_compute_polarization()
Wolfson polarization index
md_compute_poverty_stats()
Compute Poverty Statistics
get_gini()
Gini coefficient
md_compute_gini()
Gini coefficient
prod_compute_pip_stats()
Compute default PIP statistics (microdata, prod)

Welfare Statistics

deflate_welfare_mean()
Deflate welfare mean
get_bins()
Bins
predict_request_year_mean()
Predict request year mean
get_9010_ratio()
Calculate ratio of the top 10% to the bottom 10% of the welfare distribution
get_average_shortfall()
Calculate average shortfall for the poor using headcount, poverty gap ratio, and poverty line
get_income_gap_ratio()
Calculate income gap ratio from headcount and poverty gap
get_number_poor()
Calculate the number of poor using headcount and population
get_palma_ratio()
Calculate Palma ratio using decile information
get_total_shortfall()
Calculate total shortfall from headcount, poverty gap, and poverty line