You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorporates review edits, plus:
* Rename the normalised Bartholomew measure from \tilde\mu_B to \mu_{NB},
in the maths, the code and the summary tables.
* Label the simulated paths figure in years (0, 5, ..., 45) rather than in
periods, so the horizontal axis is unambiguous.
* Explain why the uniform matrix is singled out as perfect mobility. Any
matrix with identical rows is origin independent, but quantiles are
constructed to hold equal mass at both dates, which forces the mobility
matrix to be doubly stochastic. A doubly stochastic matrix with identical
rows must be uniform, so within this setting M* is the only
origin-independent matrix.
* Report the column sums of the PSID matrices, which are close to but not
exactly one, and attribute the gap to the published rounding and to panel
attrition. This is the same deviation that makes the stationary
distribution only approximately uniform in the final exercise, now
cross-referenced.
* Note that systematic rank reversal, which is what a measure above one
indicates, is unusual in ordinary market economies, and that every
empirical matrix in the lecture scores well below one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: lectures/mobility.md
+82-34Lines changed: 82 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,32 +31,35 @@ In {doc}`inequality` we measured how unequally income and wealth are distributed
31
31
32
32
Such measures are snapshots.
33
33
34
-
They tell us how far apart the rich and the poor are, but nothing about whether the same families stay rich and poor.
34
+
While they do provide information on how far apart the rich and the poor are,
35
+
they tell us nothing about whether the same families stay rich and poor.
35
36
36
-
Two economies can have identical Lorenz curves and identical Gini coefficients while offering their citizens completely different life prospects.
37
+
This is important because two economies can have identical Lorenz curves and
38
+
identical Gini coefficients while offering their citizens completely different
39
+
life prospects.
37
40
38
-
In one, position is fixed at birth and never changes.
41
+
For example, suppose we are comparing economies with identical wealth distributions.
39
42
40
-
In the other, families rise and fall constantly, and today's poor household has a good chance of being tomorrow's rich one.
43
+
Suppose further that they fall into one of two cases.
44
+
45
+
1. Position is fixed at birth and never changes.
46
+
2. Families rise and fall constantly, and today's poor household has a good chance of being tomorrow's rich one.
41
47
42
48
The difference between these two economies is **mobility**: the rate at which households change position within the distribution.
43
49
44
50
Mobility matters for policy.
45
51
46
-
Attitudes to redistribution, the case for taxing wealth rather than capital income, and our sense of how much opportunity an economy offers all depend on it.
52
+
Attitudes to redistribution, taxation, and our sense of how much opportunity an economy offers all depend on it.
47
53
48
-
In this lecture we study how to measure mobility when the data take the form of a transition matrix over wealth quantiles.
54
+
In this lecture we study how to *measure* mobility when the data take the form of a transition matrix over wealth quantiles.
49
55
50
56
This is a natural application of the Markov chain theory developed in {doc}`markov_chains_I` and {doc}`markov_chains_II`, and it gives us a second use for the {doc}`Perron-Frobenius theorem <eigen_II>`.
51
57
52
58
```{note}
53
-
This lecture draws heavily on Sections 2 and 3 of the working paper "Mobility" by Daniel Carroll, Nicholas Hoffman and Eric R. Young {cite}`carroll2026mobility`.
59
+
This lecture draws heavily on Sections 2 and 3 of the paper "Mobility" by Daniel Carroll, Nicholas Hoffman and Eric R. Young {cite}`carroll2026mobility`.
54
60
55
61
That paper collects the standard mobility measures in one place, applies them to US wealth data, and then asks whether workhorse macroeconomic models can reproduce what it finds.
56
62
57
-
We use their measures and their estimated transition matrices, with thanks.
58
-
59
-
The broader literature on measuring mobility is surveyed in {cite}`fields1999measurement`.
60
63
```
61
64
62
65
Let's start with some imports.
@@ -78,16 +81,16 @@ Suppose we observe the wealth of a large number of households at two dates, $s$
78
81
79
82
We sort households by wealth at each date and divide them into $N$ equally sized groups, or **quantiles**.
80
83
81
-
With $N = 5$these are quintiles, each containing 20% of households.
84
+
(When looking at data we often consider the case $N = 5$, in which case these quantiles are **quintiles**, each containing 20% of households.)
82
85
83
86
Now we ask, for each household, which quantile it started in and which quantile it ended in.
84
87
85
88
Averaging over households gives us a matrix $M$ with typical element
86
89
87
90
$$
88
91
m_{ij}
89
-
= \mathbb P \{ \text{household is in quantile } j \text{ at } s+t
90
-
\mid \text{it was in quantile } i \text{ at } s \}
92
+
= \mathbb P \{ \text{household $h$ is in quantile } j \text{ at } s+t
93
+
\mid \text{$h$ was in quantile } i \text{ at } s \}
91
94
$$
92
95
93
96
Each row of $M$ is a probability mass function, so $M$ is a stochastic matrix in the sense of {doc}`markov_chains_I`.
@@ -102,11 +105,11 @@ An economy in which everyone's wealth doubles has no mobility at all by this def
102
105
103
106
Second, the time unit of the chain is the horizon $t$, which might be five years or twenty.
104
107
105
-
Everything below depends on that choice, and we return to it when we look at data.
108
+
Much depends on that choice, and we return to it when we look at data.
106
109
107
110
### An example
108
111
109
-
Here is a mobility matrix estimated from US data over the five years from 1984 to 1989, which we discuss properly in {ref}`a later section <mobility_data>`.
112
+
Here is a mobility matrix estimated from US data over the five years from 1984 to 1989, which we discuss more fully in {ref}`a later section <mobility_data>`.
110
113
111
114
```{code-cell} ipython3
112
115
M_ex = [[0.70, 0.23, 0.05, 0.02, 0.00],
@@ -128,7 +131,7 @@ def normalize_rows(M):
128
131
M_ex = normalize_rows(M_ex)
129
132
```
130
133
131
-
Row 1 says that a household in the poorest quintile in 1984 had a 70% chance of still being there in 1989, a 23% chance of moving up one quintile, and essentially no chance of reaching the top.
134
+
Row 1 says that a household in the poorest quintile in 1984 had a 70% chance of still being there in 1989, a 23% chance of moving up one quintile, and no chance of reaching the top.
132
135
133
136
The mass concentrates near the diagonal, and the two extreme quintiles are the stickiest.
134
137
@@ -144,15 +147,17 @@ tags: [hide-input]
144
147
---
145
148
mc = qe.MarkovChain(M_ex)
146
149
periods = 10
150
+
years = np.arange(periods) * 5 # each period of M_ex spans five years
147
151
styles = ('-', '--', '-.', ':')
148
152
149
153
fig, ax = plt.subplots()
150
154
for i, ls in enumerate(styles):
151
155
X = mc.simulate(periods, init=i, random_state=10 + i)
152
-
ax.step(range(periods), X + 1, where='post', lw=2, ls=ls,
@@ -184,6 +189,29 @@ Here the ending quantile is independent of the starting quantile, so knowing whe
184
189
185
190
This property is called **origin independence**, and it is the natural upper reference point for mobility: the distribution is reshuffled completely at every step.
186
191
192
+
You might object that $M^*$ is not the only matrix with this property.
193
+
194
+
Indeed, the ending quantile is independent of the starting quantile whenever every row of $M$ is the same, so that $M = \mathbb 1 \psi^\top$ for some probability mass function $\psi$.
195
+
196
+
Why then single out the uniform case and call it perfect mobility?
197
+
198
+
The reason is that our quantiles are constructed to hold equal numbers of households at *both* dates.
199
+
200
+
The fraction of households ending in quantile $j$ is $\sum_i (1/N) m_{ij}$, and this must equal $1/N$, so
201
+
202
+
$$
203
+
\sum_{i=1}^N m_{ij} = 1
204
+
\qquad \text{for every } j
205
+
$$
206
+
207
+
In other words, a mobility matrix over equally sized quantiles has columns summing to one as well as rows --- it is **doubly stochastic**.
208
+
209
+
Now suppose such a matrix also has identical rows, so $M = \mathbb 1 \psi^\top$.
210
+
211
+
Its $j$-th column sums to $N \psi(j)$, and setting this to one gives $\psi(j) = 1/N$.
212
+
213
+
So $M^*$ is not one origin-independent matrix among many --- within this setting it is the only one.
214
+
187
215
```{code-cell} ipython3
188
216
N = 5
189
217
M_immobile = np.identity(N)
@@ -200,6 +228,10 @@ Values above 1 are possible and meaningful.
200
228
They arise when a chain reverses ranks *systematically* --- for example a matrix that sends the poorest quintile to the richest with probability one moves households around more than pure chance does.
201
229
202
230
So 1 marks origin independence, not a maximum.
231
+
232
+
Such systematic reversal is unusual in ordinary market economies, where wealth is persistent and estimated mobility matrices put most of their mass on or near the diagonal.
233
+
234
+
All of the empirical matrices we study below score well below 1.
203
235
```
204
236
205
237
## Four measures of mobility
@@ -291,7 +323,7 @@ So to put Bartholomew's measure on the same footing as the others we rescale,
291
323
```{math}
292
324
:label: bartholomew_norm
293
325
294
-
\tilde \mu_B(M) = \frac{3}{N+1} \, \mu_B(M)
326
+
\mu_{NB}(M) = \frac{3}{N+1} \, \mu_B(M)
295
327
```
296
328
297
329
which is the expected number of quantiles crossed, relative to the number crossed under origin independence.
psid = {k: normalize_rows(M) for k, M in psid.items()}
562
594
```
563
595
596
+
We argued above that a mobility matrix over equally sized quantiles should be doubly stochastic.
597
+
598
+
Let's see how well the estimated matrices satisfy this.
599
+
600
+
```{code-cell} ipython3
601
+
for label, M in psid.items():
602
+
print(f'{label}: {M.sum(axis=0).round(3)}')
603
+
```
604
+
605
+
The columns sum to roughly but not exactly one.
606
+
607
+
Two things push them off.
608
+
609
+
The published figures are rounded to two decimal places, and the panel is not perfectly balanced --- families leave the sample between the starting and ending years, so the households sorted into quintiles at the two dates are not quite the same set.
610
+
611
+
We will see the same deviation resurface in {ref}`the final exercise <mob_ex6>`, where the stationary distribution of these matrices turns out to be close to uniform without being exactly uniform.
All four measures fall as we move the twenty-year window forward, suggesting that US wealth mobility has declined since the mid-1980s.
676
725
677
-
The decline is modest --- $\mu_S$ falls from 0.74 to 0.70 --- and we should be cautious about it.
726
+
The decline is modest --- $\mu_S$ falls from 0.74 to 0.70.
678
727
679
-
{cite}`carroll2026mobility` bootstrap the PSID sample to place confidence intervals around these numbers, and conclude that the decline is statistically significant at the medium horizon but *not* at the long horizon shown here.
728
+
{cite}`carroll2026mobility` bootstrap the PSID sample to place confidence intervals around these numbers, and conclude that the decline is statistically significant at the medium horizon but not at the long horizon shown here.
680
729
681
-
A drop of this size is well within the sampling error of a panel of a few thousand families.
682
730
683
731
### Is the quintile chain Markov?
684
732
@@ -708,15 +756,13 @@ At twenty years the gap is large: $\mu_S$ is 0.87 under the Markov prediction ag
708
756
709
757
Households are therefore more persistent over long horizons than their five-year behavior implies, which means that current quintile alone is not a sufficient statistic for a household's future position.
710
758
711
-
Something else, unobserved and persistent, is at work.
712
-
713
-
{cite}`carroll2026mobility` find direct evidence for this: a family that makes one large jump through the wealth distribution is significantly more likely to make another, and families holding stocks or private businesses move much more than others.
759
+
Also, unobserved features are at work.
714
760
715
-
In the language of the older sociological literature, the population contains both movers and stayers.
761
+
For example, {cite}`carroll2026mobility` find that a family that makes one large jump through the wealth distribution is significantly more likely to make another, and families holding stocks or private businesses move much more than others.
716
762
717
763
This matters for modelling.
718
764
719
-
It means that a calibration matching mobility at one horizon will generally miss it at another, and that the state of a realistic model must include something beyond position in the wealth distribution.
765
+
It means that the state of a realistic model must include something beyond position in the wealth distribution.
720
766
721
767
## Exercises
722
768
@@ -784,7 +830,7 @@ $$
784
830
785
831
with $\alpha, \beta \in (0,1)$ and $\alpha + \beta \leq 1$.
786
832
787
-
1. Show that $\mu_S(M) = \tilde\mu_B(M) = \mu_{2E}(M) = \alpha + \beta$.
833
+
1. Show that $\mu_S(M) = \mu_{NB}(M) = \mu_{2E}(M) = \alpha + \beta$.
788
834
789
835
2. Let $\{X_t\}$ be a stationary chain with this transition matrix, viewed as taking values in $\{0, 1\}$.
790
836
@@ -836,7 +882,7 @@ M2 = np.array([[1 - α, α],
836
882
[β, 1 - β]])
837
883
838
884
print(f'μ_S = {shorrocks(M2):.4f}')
839
-
print(f'~μ_B = {bartholomew_normalized(M2):.4f}')
885
+
print(f'μ_NB = {bartholomew_normalized(M2):.4f}')
840
886
print(f'μ_2E = {second_eigenvalue(M2):.4f}')
841
887
print(f'α+β = {α + β:.4f}')
842
888
```
@@ -956,7 +1002,7 @@ Mobility matrices cannot be completely ordered, and the toy examples above showe
956
1002
957
1003
Search for others.
958
1004
959
-
Generate a large number of random $5 \times 5$ stochastic matrices, compute $\tilde\mu_B$ and $\mu_{MFP}$ for each, and find a pair that the two measures rank in opposite directions.
1005
+
Generate a large number of random $5 \times 5$ stochastic matrices, compute $\mu_{NB}$ and $\mu_{MFP}$ for each, and find a pair that the two measures rank in opposite directions.
960
1006
961
1007
Report the pair and explain the disagreement.
962
1008
```
@@ -1117,7 +1163,9 @@ The two agree to machine precision.
1117
1163
1118
1164
It is worth noticing that the stationary distribution is not exactly uniform, even though quintiles contain equal numbers of households by construction.
1119
1165
1120
-
In a stationary environment it would be, so the deviation reflects sampling error together with the fact that the wealth distribution itself changed between 1984 and 1989.
1166
+
The uniform distribution is stationary for $M$ precisely when $M$ is doubly stochastic, since $\psi^* M = \psi^*$ with $\psi^* = \mathbb 1^\top / N$ says exactly that every column of $M$ sums to one.
1167
+
1168
+
So this deviation is the same one we saw in the column sums earlier, and it has the same two sources: the published rounding, and attrition from the panel between 1984 and 1989.
0 commit comments