Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

Pages

Page Not Found

Sorry, but the page you were trying to view does not exist — perhaps you can try searching for it below.

About me

Development economist using data, measurement, and analytics to improve outcomes for children and vulnerable populations.

Posts

publications

software

ADECOMP

Published:

Decompose changes in poverty or inequality into contributions by welfare components (e.g. labor income, transfers) using Shapley-Shorrocks averaging, resolving path-dependence in micro-decompositions.

AINEQUAL

Published:

Compute 12+ inequality indices from micro or grouped data, including Gini, Atkinson, Theil entropy, mean log deviation, Mehran, Piesch, Kakwani, and generalized entropy measures with user-defined sensitivity parameters.

ALORENZ

Published:

Generate Pen’s Parade, Lorenz, and Generalized Lorenz curves with stochastic dominance tests in Stata.

APOVERTY

Published:

Compute 12+ poverty measures from micro or grouped welfare data, including headcount ratio, poverty gap, FGT indices, Watts index, Sen index, Takayama index, and Thon index, with optional bootstrapped standard errors.

CHANGEMEAN

Published:

Separate the effect of income growth from distributional change on poverty across 25 welfare measures, covering FGT indices, Watts, Sen, Clark-Ulph-Hemming, and other standard poverty metrics.

CRTEST

Published:

Perform the Cramer-Ridder test for pooling states in a multinomial logit model in Stata.

DFL

Published:

Construct counterfactual wage or welfare distributions using the DiNardo-Fortin-Lemieux (1996) reweighting approach, isolating the contribution of institutional changes, price effects, and compositional shifts.

DRDECOMP

Published:

Decompose changes in poverty indicators into growth and distribution components using Datt-Ravallion methodology with Shapley values.

FACTORTEST

Published:

Test whether a correlation matrix is suitable for factor analysis using Bartlett’s sphericity test (is the matrix the identity?) and the Kaiser-Meyer-Olkin (KMO) measure of sampling adequacy.

FHSAE

Published:

Produce reliable welfare estimates for small geographic areas or subgroups with limited samples using the Fay-Herriot area-level model, combining survey direct estimates with auxiliary administrative or census data via EBLUP.

GROUPFUNCTION

Published:

High-performance data aggregation for large datasets — several orders of magnitude faster than Stata’s collapse — computing means, sums, variances, first values, minima, and maxima across groups in a single pass.

GRQREG

Published:

Graph the coefficients of a quantile regression with confidence intervals in Stata.

HOI

Published:

Measure how equitably basic opportunities (education, sanitation, health) are distributed among children using the Human Opportunity Index (HOI), decomposing gaps by coverage rate and inequality across circumstances.

ISOPOVERTY

Published:

Map the growth-redistribution trade-offs needed to reach a poverty target by plotting iso-poverty, growth-poverty, and inequality-poverty curves — key tools for pro-poor policy analysis.

MOL

Published:

Go beyond the standard literacy rate by computing the Basu-Foster (1998) effective literacy measure, which accounts for household-level spillovers where a literate member partially extends literacy benefits to illiterate household members.

MPOVLINE

Published:

Calculate poverty headcount, gap, and severity (FGT0–FGT2) simultaneously across a range of poverty lines, enabling welfare-tier analysis of the poor, vulnerable, and middle class in a single command.

OUTTABLE

Published:

Export Stata matrix to a LaTeX table, with automatic row and column labeling.

SAE

Published:

Unit-level small area estimation for poverty mapping using the ELL methodology in Stata.

SKDECOMP

Published:

Estimate Shapley value of growth, price, and distribution components on changes in poverty indicators.

SPIKE

Published:

Model non-zero probability of zero willingness-to-pay in contingent valuation experiments in Stata.

TURNBULL

Published:

Non-parametric Turnbull estimation of willingness-to-pay from contingent valuation data in Stata.

unicefdata (Python)

Published:

Python package for downloading UNICEF child welfare indicators via SDMX API.

unicefData (R)

Published:

R package for downloading UNICEF child welfare indicators via SDMX API.

unicefdata (Stata)

Published:

Stata module for downloading UNICEF child welfare indicators via SDMX API.

WBOPENDATA

Published:

Access over 29,000 indicators from 51 World Bank databases directly from Stata, covering 296 countries and regions from 1960 to present.

YAML

Published:

Stata module for reading, writing, and manipulating YAML configuration files.