Case studies

Published numbers, reproduced in open code

Before I propose to move a program's estimation to new code, I show that the new code gets the agency's own published numbers. Each study below takes a national survey's public microdata and reproduces its official estimates and standard errors in Python, with code anyone can rerun.

Two more were done independently by survey statisticians in Brazil and Mexico, on their own national data (all case studies). Across 37 estimators, svy matches R's survey package to six decimals (the comparison).

Discuss a modernization engagement →