Lights → GDP: the calibration slope
Lessmann and Seidel (2017) predict a region's income from how brightly it glows at night. The model regresses log regional GDP per capita on log nighttime light, and the slope — the light-to-GDP elasticity β — is the single most important number in the prediction step. Slide it and watch the prediction line pivot through the data cloud.
What to look for
- Move β toward 0.190. That is the clean within-region elasticity (col 2): a steeper slope, before national income and geography are absorbed.
- Move β toward 0.102. The preferred random-effects slope. Smaller, because national income already does most of the conversion — light fine-tunes the regional detail.
- The fit is good either way. Predicted and observed log income correlate r = 0.925 across four orders of magnitude of income — what licenses applying the model to regions with no statistics.
Build an inequality index
Turn six regional incomes into a single number. Drag incomes and populations and watch the weighted Gini, Theil, and CV update — next to the equal-weight Gini.
Kuznets explorer
Fit a linear, quadratic, or cubic curve to inequality vs log income and watch the N-shape emerge as terms are added.
Spatial errors
Widen the Conley radius and watch the confidence interval on β = 0.190 grow — while the estimate stays far from zero.
Glossary (open a card if a term is unfamiliar)
Nighttime lights as an income proxy
Light-to-GDP elasticity (β)
Population-weighted index
The role of population weights
Spatial Kuznets curve
Conley (spatial-HAC) standard errors
Random vs fixed effects
Theil index / GE(α)
Build an inequality index from six regions
The post compresses each country's many regional incomes into one number, weighting each region by its population. Drag the income and population of six regions and watch the population-weighted Gini, Theil and CV update live — alongside the equal-weight Gini, so you can see exactly what the weights do.
Six regions — drag income (k$) and population (millions)
What to look for
- Weighted ≠ equal-weight. Push the smallest region to an extreme income: the equal-weight Gini jumps, but the weighted Gini barely moves — population weighting discounts tiny extreme regions. In the post the two correlate only 0.75.
- "Make all regions equal" drives every index to 0 — perfect equality.
- "One rich capital" concentrates income in one populous region: the indices rise together because all five measures agree on the same story (they correlate above 0.9 in the data).
- Weighting usually lowers inequality (by ~0.003 on average in the post) — so always report whether you counted regions or people.
Kuznets explorer: how the curve bends as terms are added
Does regional inequality first rise, then fall, as countries grow richer? The post fits a cubic in log income with country and period fixed effects: const −0.799, lg 0.293, lg² −0.032, lg³ 0.00112 — a positive, negative, positive sign pattern that traces an N-shape. Toggle the curve order and watch the bends appear.
Fitted curve order
What to look for
- Linear → Quadratic. The straight line becomes a hump — inequality rises then falls. That is the original Kuznets prediction.
- Quadratic → Cubic. A faint upturn appears at the very top: the N-shape. The cubic term (0.00112) is tiny but flips the high-income tail back up.
- The cloud is wide. Development explains the shape, not the scatter — country-specific factors (named in Tab 1's glossary and the post's determinants) account for the rest. Ethnic inequality is the strongest, at 0.071.
Spatial errors: how far do shocks travel?
Regions are not independent — a boom in one province spills into its neighbours, so their regression errors are correlated. The Conley spatial-HAC correction widens the standard error on the clean light elasticity (β = 0.190) by letting regions within a chosen radius correlate. Slide the radius and watch the confidence interval widen — while the point estimate stays fixed.
What to look for
- The interval widens, the dot does not move. Conley SEs (0.026 → 0.037 across 1,000–5,000 km) are two to three times the naive 0.013, because neighbouring regions are not independent observations.
- Still far from zero. Even at the widest radius the t-statistic stays above 5, so the lights-predict-income relationship is not a mirage created by ignoring geography.
- Counting independent witnesses. If ten "witnesses" all heard the same rumour you have one fact, not ten — Conley errors discount correlated neighbours.