Skip to content

r.i.c.e.

model Stata do file for demographic decomposition papers

Blog Post1 min read

Diane and I just finished teaching a weeklong workshop at the Indian Statistical Institute in Delhi, where we taught about how to write empirical papers using demographic datasets in Stata.  In particular, we focused on demographic decomposition techniques as a transparent way to write about interesting and important empirical facts.  This sort of paper embraces paradoxes, puzzles, and otherwise messy correlations.

As part of the course, I made this model do file that collected what the class learned.  In case it is of use to you, I thought to post it here online.  You can modify the program to help write your own decomposition paper.

The do file made the graph included with this blog post.  The motivating example is to use Bangladeshi DHS data to ask how much of the difference in average child height between rural and urban Bangladesh can be accounted for by differences in mothers' education.

About

r.i.c.e. is a non-profit research organization focused on health and well-being in India. Our core focus is on children in rural north India. Our research studies health care at the start of life, sanitation, air pollution, maternal health, social inequality, and other dimensions of population-level social wellbeing.

501(c)(3) Status

Privacy Policy

Research Themes

Content by Category

© 2021 r.i.c.e.