EEconomics, Built

Act X · The Graduate Core

Part 52 of 68

Many Agents

Graduatestarts at this level46 min of film18 chaptersprerequisites: Part 22, Part 26, Part 30, Part 40, Part 51

What does macroeconomics get wrong by treating a country as one household?

The part opens on Alan Kirman's 1992 essay asking whom or what the representative individual represents (it 'deserves a decent burial'), on Krusell and Smith's 1998 finding that their economy's aggregates are almost perfectly described by the mean of the wealth distribution, and on Kaplan, Moll and Violante's reversal of the textbook account of monetary policy. Gorman's condition and MPCs that fall with wealth; Bewley's and Huggett's households, whose uninsured risk pushes the interest rate below time preference; Aiyagari's economy derived and solved, with 33% more capital than one household would hold; the Island's 100,000 households against Young's histogram and Aiyagari's table recomputed. The viewer guesses which fifth of households spends most after a rate cut (the second; the poorest almost entirely through incomes). The wealth distribution's top, missed by the simple model and reached by lucky returns; Krusell and Smith's algorithm, fit and Den Haan's test. After an intermission of the top 1%'s and poorer half's shares of US wealth since 1989, continuous time as one sparse matrix and its transpose; HANK's direct and indirect effects against a representative household; sequence-space Jacobians by fake news, against brute force; multipliers, forward guidance and who gains from inflation; Hopenhayn's industry and lumpy plants; the MPC dial against the models; distributions at the central bank, Krusell and Smith as Called it?, and micro data in macro models.

What you need. Part 22: consumption and the MPC; Part 26: banks and liquidity; Part 30: the New Keynesian model; Part 40: the wealth distribution; Part 51: the methods; Statistics, Built: Markov chains and stationary distributions.

Hook
whom does the representative agent represent?
Ideas, models and mathematics
incomplete markets, the Aiyagari economy solved, the wealth distribution, aggregate shocks and approximate aggregation, the continuous-time system, HANK and the two channels of monetary policy, sequence-space Jacobians, firm dynamics
Agora gains
a heterogeneous-agent economy
Play it
whose spending moves when rates fall?

What you will be able to do

Principles and the major

  • Explain when a representative household is exact (Gorman) and why differing MPCs break it.
  • Explain why uninsurable risk lowers the interest rate and raises saving.

Graduate

  • Solve Aiyagari's and Huggett's economies, with the stationary distribution by Young's method or the Kolmogorov forward equation, and simulate a population.
  • Run Krusell and Smith's algorithm and judge its rule by R-squared and Den Haan's test.
  • Compute sequence-space Jacobians by the fake-news algorithm and use them to split a rate cut into direct and indirect effects and to compute multipliers.

Research

  • Prove the fake-news recursion and the balanced-budget multiplier of the intertemporal Keynesian cross; derive Hopenhayn's stationary industry.
  • State what remains open: estimation with micro data, heterogeneous beliefs, nonlinear aggregate risk.

Practice

  • Write a distributional analysis of a policy: equilibrium paths, every household's response, and the change by group, reported beside its assumptions.

Contents

Each chapter has a home level. Choose a track to see what to read and watch: Principles and the major 13 min · Graduate 39 min · Research 46 min · Practice 15 min.

  1. 0A decent burial, and a reprievePrinciples and the major3 min
  2. 1Aggregation: when one household is exactPrinciples and the major2 min
  3. 2Incomplete marketsPrinciples and the major3 min
  4. 3The Aiyagari economyGraduate3 min
  5. 4The Island's 100,000 householdsGraduate2 min
  6. 5Play it: rates fallPrinciples and the major2 min
  7. 6The wealth distributionGraduate4 min
  8. 7Aggregate shocks: Krusell and SmithGraduate3 min
  9. Intermission: the top 1% and the poorer half, 1989-2026Principles and the major
  10. 8Continuous time: two equations, one matrixGraduate3 min
  11. 9HANK: monetary policy with many householdsGraduate3 min
  12. 10Sequence-space JacobiansResearch3 min
  13. 11What changes for policyGraduate3 min
  14. 12Many firms: entry, exit and lumpsResearch3 min
  15. 13The Dials: the propensity to spendGraduate2 min
  16. 14In practice: distributions at the central bankPractice2 min
  17. 15Frontier: micro data in macro modelsGraduate2 min
  18. Recap, problems, and the road aheadAll tracks3 min

Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.

Lecture

The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film.

A decent burial, and a reprievePrinciples and the major3 min

A country has millions of households: some with savings, some with debts, some one paycheque from trouble. For a generation, macroeconomics replaced them all with one: a single, representative household who earns the average income, owns the average wealth and lives for ever. In 1992 the economist Alan Kirman asked, in the title of an essay, whom or what the representative individual represents. His answer was that the device has no general justification, and that it deserves, in his words, a decent burial.

Six years later, Per Krusell and Anthony Smith did what Kirman's critics had said was impossible. They solved an economy with a whole distribution of households, rich and poor, buffeted by their own luck and by the economy's. To general relief, they found that the behaviour of the aggregates could be, in their words, almost perfectly described using only the mean of the wealth distribution. The crowd behaved, on average, almost as if it were one.

And twenty years after that, a model with a realistic distribution turned the textbook account of monetary policy on its head. In the textbook, when the central bank cuts its rate, saving is less rewarded, so the household spends more now: a direct effect. In the economy of Greg Kaplan, Benjamin Moll and Giovanni Violante, the direct effect is small. Most of the extra spending comes indirectly: some households spend more, firms hire, incomes rise, and households who live from those incomes spend them. The same split will appear in this part's own economy.

The question: what does macroeconomics get wrong by treating a country as one household? When does one household stand for many, exactly? What does risk that cannot be insured do to saving and to interest rates? Can an economy with a whole distribution in it be solved, and quickly? And when does the distribution change the answer?

Economics, Built. Part fifty-two: many agents. This part puts the methods of Part fifty-one to work on whole populations. When one household is exact, and why it rarely is. Economies of households who face risk they cannot insure, from Bewley, Huggett and Aiyagari. The wealth distribution, and what the simple model misses at the top. Aggregate shocks, continuous time, and the models called HANK, solved by sequence-space Jacobians. Then what changes for policy, and a population of firms.

What it does: Kirman; Krusell and Smith; Kaplan, Moll and Violante; the question; objectives

1Aggregation: when one household is exactPrinciples and the major2 min

William Gorman stated the condition in 1953. If every household's spending is a straight line in its income, and the lines have the same slope, the same marginal propensity to spend, then total spending depends only on total income, and a single representative household reproduces the aggregate exactly. It is a knife-edge. It fails as soon as the poor spend a larger share of an extra dollar than the rich, and they do.

Here is that fact inside the economy this part will build, in which households face income risk they cannot insure. The curves show how much of a small windfall a household spends within the year, against its wealth. A household with nothing saved and the lowest wage spends about 76 percent of it, and the share falls steeply as savings build up. A household with the highest wage spends little even with nothing saved: it is busy building a buffer while times are good. Averaged over the population it is 7 percent, against about 4 percent for a representative household, who spends only the interest on a windfall. The slopes differ, so Gorman's condition fails, and the distribution of wealth becomes part of the state of the economy.

What it does: Three households; Gorman's condition; MPCs that fall with wealth

2Incomplete marketsPrinciples and the major3 min

The models of this part start from one change to the textbook. Each household's income jumps between bad years and good ones, and there is no insurance to buy against it: no contract pays out when your own income falls. The only way to smooth is to save in a single asset, a bond, and there is a limit on how much can be borrowed. With complete insurance, consumption would be flat and one household would stand for all. Without it, each household self-insures by saving, and its own history of luck decides how much it holds. Truman Bewley studied such households in the late 1970s; Mark Huggett put them into a market in 1993.

Why does this matter for interest rates? Start from the household's Euler equation. Today's marginal utility is at least the discounted, interest-weighted marginal utility expected tomorrow, with equality unless the household is pinned at its borrowing limit. Give it the interest rate a representative household would face, where patience exactly offsets interest. Then expected marginal utility can only fall over time. But income risk keeps knocking consumption around, so marginal utility can only stop falling once the household is so rich that the risk no longer matters. Wealth drifts up without bound: at that interest rate, everyone wants to save, and nobody wants to borrow. So the market can only clear at a lower rate. Uninsurable risk pushes the interest rate below the rate of time preference.

Huggett's economy makes this concrete. Households lend to and borrow from one another, so their bond holdings must add up to zero. The curve shows the total they want to hold at each interest rate. At low rates, borrowers outweigh savers. As the rate rises toward the rate of time preference, five percent, the precautionary demand for bonds explodes, exactly as the Euler equation said. The market clears where the curve crosses zero, at 3.19 percent. Huggett used this to ask whether uninsured risk could explain why safe interest rates are so low; with a tight enough limit on borrowing, it pushes them a long way down.

In equilibrium, the households spread out. Those with low incomes run down their bonds and borrow; those with high incomes build them up. And a crowd of low-income households sits exactly at the borrowing limit, with nothing left to borrow: they would spend any extra dollar. The interest rate, the amount saved, and the response to any shock all depend on this whole picture, not on an average household.

What it does: The setting; the Euler inequality; Huggett's market; the distribution

3The Aiyagari economyGraduate3 min

In 1994 Rao Aiyagari put such households into the growth model. Households maximize expected lifetime utility. Each year they earn a wage times a personal draw that is persistent and cannot be insured, earn interest on their savings, and cannot borrow. Firms rent capital and labour and pay each its marginal product, as in Part twenty. And the market for capital clears when the savings of all households, added up over their stationary distribution, equal the capital firms use. The numbers here: a discount factor of 0.96 a year, risk aversion of three, wage draws with persistence 0.9, capital's share 0.36, depreciation eight percent.

The household's rules, found by the endogenous grid method of Part fifty-one. On the left, consumption against wealth for the lowest, middle and highest wage. At the bottom, the low-wage household spends everything it has: the borrowing limit binds. The curves are steep there and flatten as wealth grows: the more you have, the less a dollar more changes what you spend. On the right, next year's wealth against this year's. Above the dashed diagonal the household saves; below it, it runs its savings down. A good year pushes it up, a bad year pulls it down: wealth is a buffer, filled in good years and drained in bad ones.

Now the market for capital. Firms want more capital the cheaper it is: the pink curve. Households, computed at each interest rate, supply the green curve. It rises slowly at first, then shoots up as the rate approaches the rate of time preference, for the reason of the last chapter. A representative household would supply any amount at exactly 4.17 percent, the dashed line, and the economy would settle at capital of 5.45. With many households the curves cross at 2.12 percent, with capital of 7.26. That is 33 percent more capital, built by households saving against risks they cannot insure, and a saving rate of 28 percent. Aiyagari's question was how much of a nation's saving is precautionary; in this economy, a good deal.

What it does: The model; the household's rules; the capital market

4The Island's 100,000 householdsGraduate2 min

The rules are now known, so the Island can be populated. Give a hundred thousand households the equilibrium rules, draw each one's luck, and let them live. Here are five of them, followed for two centuries. A run of good years carries one up; a run of bad years drains its buffer to zero. The dashed line is the economy's capital per household. No household stays rich or poor for ever. The distribution settles down; the people inside it keep moving.

After four hundred years of simulated time, here is the whole crowd: wealth across all hundred thousand households. A wealth Gini of 0.48, the top one percent holding 4.7 percent, and 1.6 percent of households at the borrowing limit. The same numbers come from a different calculation with no random draws at all: Young's method from Part fifty-one, which moves the whole histogram forward at once, splitting each household's savings between the two nearest grid points. The two agree to the second or third digit. The simulation is what the economy looks like; the histogram is how it is computed.

Aiyagari's own table varied three things: how widely wages are spread, how persistent they are, and how much households dislike risk. Here it is, recomputed with the methods of Part fifty-one. With a small spread and no persistence, the rate is barely below the rate of time preference: a bad year is soon over, and a little saving covers it. Raise the spread, the persistence and the risk aversion, and the rate falls, as households pile up buffers: down to 0.72 percent with persistence 0.9 and risk aversion 5. Every cell is below the rate of time preference. Uninsured risk lowers interest rates, and the more persistent the risk, the more it lowers them.

What it does: Five lives; the crowd against the histogram; Aiyagari's table recomputed

5Play it: rates fallPrinciples and the major2 min

Your turn. The central bank cuts the real interest rate by a quarter of a point, starting next quarter, and lets the cut fade over about a year. The economy is the Island's: households hold about 4 quarters of income in savings they can use, they spend on average 22 percent of a windfall within the quarter, and output is whatever they buy. Line the households up by wealth and cut them into fifths. Which fifth raises its spending the most in the first quarter, as a share of what it spent before? The poorest, the second fifth, the middle, or the richest? Pause, and choose.

Here is the first quarter. Every fifth spends more, but not equally. The largest rise is in the second fifth: 1.18 percent. The richest fifth raise their spending least, by 0.76 percent, and the poorest by 0.95. Across everyone, spending rises 0.91 percent. If you chose the poorest, you were close, and for an interesting reason: their rise comes almost entirely from somewhere other than the interest rate.

Split each bar in two. The blue part is the direct effect: how each fifth would respond to the lower rate if its income did not change. The gold part is the indirect effect: other households spend more, firms produce more, and incomes rise. For the poorest fifth, the direct effect is almost nothing, 0.04 percent. They are at or near their borrowing limit: a cheaper loan they cannot take means little to them, but a fatter paycheque is spent at once. The richest fifth respond mostly to the rate itself, and their pay is a small part of their resources. And the two groups who matter most for spending own almost none of the wealth: the poorest two fifths hold 1 percent of it. A representative household, who owns the average wealth, cannot see any of this.

What it does: Which fifth spends most; direct and indirect by fifth

6The wealth distributionGraduate4 min

How well does this economy match the distribution of wealth in the data? In the Federal Reserve's distributional accounts for the United States, the richest one percent of households hold 32.5 percent of all wealth, and the richest tenth 69 percent. In Aiyagari's economy, the top one percent hold 4.7 percent. The model gets a spread of wealth, but not the very rich. Saving against bad luck builds a buffer of a few years' income, and then stops: once the buffer is full, there is no reason to keep accumulating. The rich in the data are not buffer-stock savers.

Here is why. The curves show how much each household adds to its wealth in a year, as a share of what it has. A poor household with a low wage runs its wealth down; one with a high wage builds it up quickly. But above some level, every curve falls below zero: even the luckiest household runs its wealth down. The interest rate is below the rate of time preference, so wealth for its own sake is not worth keeping. Nothing in the model lets fortunes grow without limit, and so nothing produces the long upper tail of the data.

Three fixes have been tried. The first gives households different patience: Krusell and Smith let the discount factor itself drift between values. With three permanent types here, the top one percent hold 6.9 percent: better, but nowhere near. The second, after Jess Benhabib, Alberto Bisin and Shenghao Zhu, gives some households, at some times, a higher return on their wealth: think of an owner whose business takes off. If 9 percent of households at a time earn six points more, the top one percent hold 7.5 percent; if they earn eight points more, 23.4 percent. Returns that compound for the lucky few make fortunes that grow until the luck ends, and that is what the data's upper tail looks like. The third fix, not shown, gives the best-paid a small chance of extraordinary earnings.

On a log-log plot of how many households are richer than each level of wealth, a Pareto tail is a straight line, and the flatter the line, the fatter the tail. Aiyagari's economy has a steep, thin tail: an exponent of about 5. With returns six points higher for the lucky, about 2.9; with eight points, about 1.5. The data's top shares imply 1.5. Notice how sensitive the tail is: two points of extra return move the top one percent's share from 8 to 23 percent. A model can match the top this way, but only by choosing returns that must then be measured, and measuring returns to private wealth is hard.

What it does: The gap at the top; why; patience and returns; Pareto tails

7Aggregate shocks: Krusell and SmithGraduate3 min

So far the economy has been in a steady state. Now let it have booms and recessions: aggregate productivity switches between good and bad times, and unemployment rises in the bad ones. To decide how much to save, a household must forecast next year's wages and interest rates. Those depend on next year's capital, which depends on how much every household saves, which depends on the whole distribution of wealth today, and on how that distribution will move. The state of the economy includes a distribution: in principle, infinitely many numbers. Krusell and Smith made a bet: let households forecast using only the average, and then check whether anything better was available.

The algorithm is a loop. Guess a rule that forecasts next quarter's capital from this quarter's, one for good times and one for bad. Solve every household's problem as if the rule were true, by the endogenous grid method. Simulate the economy for a thousand quarters, moving the whole distribution forward. Regress the simulated capital on its own past to get a new rule, and go round again until the rule stops changing. Here it took 30 rounds and 34 seconds, in the calibration that a comparison of methods made standard in 2010.

How good is a forecast that uses only the mean? The white line is capital in the simulated economy, with every household's choices in it; the grey bands are bad times. The usual measure of fit is the regression's R-squared, and it is 0.999980 in good times and 0.999977 in bad: almost perfect. Wouter den Haan pointed out that R-squared flatters a rule that is only ever asked one quarter ahead. A stricter test feeds the rule nothing but the shocks and lets it run for a thousand quarters on its own. That is the gold line. It never drifts more than 0.59 percent from the real thing. Approximate aggregation: the mean is nearly enough.

Why does it work? Here is the saving rule of an employed household, next quarter's wealth against this quarter's, with the population drawn beneath it. Except near the bottom, the rule is almost a straight line. And the richer half of households own 74 percent of the capital. Where the rules are straight lines with a common slope, shifting wealth between households does not change their total saving: Gorman's condition from chapter one, holding almost exactly for the households who matter for capital. The poor have curved rules, but they own too little to move the total. That is also when it fails: when the question is about spending rather than capital, the poor and their curved rules are exactly the households who matter.

What it does: The problem; the algorithm; the fit and Den Haan's test; why it works

Intermission: the top 1% and the poorer half, 1989-2026Principles and the major

This chapter has no narration to read.

8Continuous time: two equations, one matrixGraduate3 min

In continuous time, the same economy becomes two equations, as Part fifty-one began to show. The first is the Hamilton-Jacobi-Bellman equation: the value of holding wealth a with income state j equals the best flow of utility plus how fast that value changes as wealth drifts, plus the chance of switching income. The second is the Kolmogorov forward equation for the density of households: in a steady state, the flow of households out of each small interval of wealth, as their wealth drifts and their income switches, is balanced by the flow in. Both are written with the same drift: income plus interest minus consumption. Yves Achdou, Jiequn Han, Jean-Michel Lasry, Pierre-Louis Lions and Benjamin Moll showed how much that shared piece buys.

Put wealth on a grid. The Hamilton-Jacobi-Bellman equation becomes a matrix equation. Each row of the matrix A says where a household at one grid point goes next: to the neighbouring point up or down, as its wealth drifts, or to the same wealth in the other income state, when its income switches. Nearly every entry is zero. With 1,000 unknowns, at most 3,996 of the 1,000,000 entries are not. And here is the beautiful part: the Kolmogorov forward equation, discretized the same way, uses exactly the same matrix, transposed. The rows that say where each household goes are the columns that say where each household came from. Solve for the value, and the distribution comes almost free.

Here is the solution for Huggett's economy of chapter two. A household with low income runs its bonds down until it reaches the borrowing limit, where its saving stops exactly: in continuous time, the limit binds only at a single point. A household with high income saves, and saves less as it grows richer. One household problem, value and distribution together, takes about 12 milliseconds here. The whole market, found by bisection on the interest rate, 0.20 seconds. That speed is what makes the next step possible: economies hit by shocks, solved again and again.

What it does: HJB and Kolmogorov; the sparse matrix and its transpose; timings

9HANK: monetary policy with many householdsGraduate3 min

HANK stands for Heterogeneous Agent New Keynesian: the households of this part, in an economy where spending sets output, as in Parts twenty-seven and thirty. Here, the households are Aiyagari's, with quarterly periods. Prices are sticky, so firms produce whatever is bought. The central bank sets the real interest rate. The government keeps its debt fixed, so when interest payments fall, taxes fall with them. Any change in spending can be split in two: the direct effect of the interest rate, holding every household's income fixed, and the indirect effect of the change in incomes that comes from everyone else's spending.

Here is the rate cut of the Play it, in the Island's economy, quarter by quarter. Spending jumps by 0.91 percent of output at once and fades with the cut. The direct effect, the response to the rate with incomes held fixed, is the blue line. The indirect effect through incomes is the gold one. In the first quarter the direct effect is 62 percent of the total; over the first year, 45 percent. Within a year, most of the extra spending is people spending incomes that other people's spending created.

Now compare economies. A representative household, with the same rate cut: spending rises by 0.83 percent, and 96 percent of it is direct. That is the textbook. Households with sixteen quarters of income in liquid savings, then four, then just one. Look first at the heights: the totals barely change. Iván Werning showed that, under some conditions, the total response with many households matches the representative household's exactly; here it nearly does. What changes is why. The less liquid wealth households hold, the larger the share that comes through incomes: with one quarter of liquid wealth, only 47 percent is direct. Kaplan, Moll and Violante's economy, with most wealth in illiquid houses and pensions, puts the direct share lower still.

Which economy is right? It turns on how much of a windfall households spend. American households hold several years of income in wealth, but most of it in houses and retirement accounts they cannot easily spend. If all of that wealth were liquid, households here would spend 6 percent of a windfall within the quarter, below the evidence of Part twenty-two, ten to forty percent. If only the liquid part existed, they would spend 49 percent, above it. A one-asset model cannot match both the wealth and the spending. Kaplan and Violante's answer was two assets: many households are wealthy on paper and live hand to mouth, because their wealth is locked in a house or a pension.

What it does: Direct and indirect; against one household; liquidity

10Sequence-space JacobiansResearch3 min

Solving a model like this one used to be hard: after a shock the distribution moves, and the old approach linearized the economy in thousands of numbers that describe it. Adrien Auclert, Bence Bardóczy, Matthew Rognlie and Ludwig Straub turned the problem sideways. Treat the households as a single block. Feed it whole paths: the interest rate in each of the next three hundred quarters, and incomes in each quarter. Inside, every household solves its rules backward from the end and the distribution moves forward from today. Out comes the path of total spending. Linearize that map, and it is a matrix: how spending in quarter t responds to income in quarter s. A Jacobian, in the space of sequences.

Here is that matrix for the Island's households, the first forty quarters. Each column is the path of spending after a one-off rise in income in one quarter; each row, a quarter's spending. The bright diagonal says that income is spent mostly when it arrives. Take the first column: income today. Spending jumps at once, then decays over the following quarters, the intertemporal marginal propensities to consume. Take the column for income announced today but paid in quarter ten. Households who can borrow or draw on savings spend some of it before it arrives; those at their limit cannot, so the jump comes when the money does.

Building the matrix one column at a time would mean solving the economy three hundred times. The authors found a shortcut they called the fake-news algorithm. One backward pass records how news about each future quarter changes households' rules today. One forward pass records how a change in next quarter's distribution shows up in spending later. Combined, they give a matrix of the effects of news, and a running sum down its diagonals turns that into the Jacobian. The trick rests on time being the same everywhere: hearing today about quarter s is like hearing next quarter about s minus one, shifted by a quarter.

Does it work? The lines are three columns from the fake-news algorithm. The dots are the same columns computed by brute force, solving the whole economy again with income raised in one quarter. They agree to the fifth decimal place, the error of the small step both use. The difference is the time. All 600 columns, for interest rates and incomes, took 0.47 seconds; by brute force, an estimated 78. Once the Jacobians are in hand, solving the economy's response to any shock is a single linear solve: the equations of chapter nine, each one a matrix.

What it does: Paths in, paths out; the matrix; fake news; against brute force

11What changes for policyGraduate3 min

Fiscal policy first. The government buys an extra one percent of output for a while, with the real interest rate held fixed. If it pays with taxes at once, output rises by exactly what the government buys: a multiplier of one, whatever the households are like. Higher taxes and higher incomes cancel for every household. If it borrows and taxes later, the answer depends on who the households are. A representative household sees the future taxes coming and saves for them: the multiplier is still one, as David Ricardo argued. Households with little liquid wealth spend the extra income now and worry about the taxes later. With one quarter of liquid wealth, the multiplier is 1.88. Adrien Auclert, Matthew Rognlie and Ludwig Straub call this the intertemporal Keynesian cross.

Next, promises. The central bank announces a quarter-point cut, for one quarter only, some quarters from now. How much does spending rise today? For a representative household the answer does not depend on how far off the cut is. Its spending today depends on the sum of all future interest rates, and a cut five years away lowers that sum as much as a cut next quarter. Promises about the distant future are as powerful as action now: the forward guidance puzzle. With many households, some of whom may hit their borrowing limits before the cut arrives, distant promises count for less. With one quarter of liquid wealth, a cut five years away does 14 percent less today than one next quarter; with sixteen quarters, 10 percent less. Here the discount is mild. Alisdair McKay, Emi Nakamura and Jón Steinsson showed it can be much stronger when the households most likely to hit their limits face more risk; the puzzle is softened, not solved.

Finally, who gains from inflation? A representative household owes its debts to itself, so a surprise rise in prices moves nothing. Real households hold their debts and their bonds in dollars. Suppose prices rise 5 percent more than anyone expected. A young family with a fixed-rate mortgage of 180,000 dollars gains 8,571 dollars in real terms: the debt is now smaller. A middle-aged couple with a smaller mortgage gains less; a retired teacher with 250,000 dollars in bonds loses 11,905. Matthias Doepke and Martin Schneider measured these positions for the whole United States. The main losers from a moderate inflation are rich, old households, the big bondholders; the winners are young, middle-class households with fixed-rate mortgages, and the government. A representative household cannot even ask the question.

What it does: Multipliers; forward guidance; who gains from inflation

12Many firms: entry, exit and lumpsResearch3 min

Households are not the only agents who differ. In 1992 Hugo Hopenhayn built a competitive industry out of a population of firms. A firm pays a cost to enter, and only then learns how productive it is. Each year it hires, produces and pays a fixed cost of operating. Its productivity wanders; when the future is no longer worth the fixed costs, it leaves. Entry continues until entering is worth exactly what it costs, and that pins down the price. In a steady state the industry is constant, but its members are not: each year 6.6 percent of firms are new, and the same share leave. The bars show where the firms are; pink ones stay, red ones are about to go.

Follow one cohort of entrants. Many fail early: after five years 46 percent are still alive, and the failures come mostly in the first few years. The survivors grow: from about 17 workers at entry to 44 by age ten, partly because they get more productive, and partly because the unproductive have left. Up or out: the pattern John Haltiwanger and his coauthors found in American firm data, where young firms are both the most likely to die and the fastest to grow.

Now double the cost of entering, as a licence, a permit or a bank that will not lend might. The price of the good rises, from 4.03 to 4.36. Entry falls from 6.6 to 2.1 percent of firms a year. With fewer challengers, weaker incumbents can afford to stay: the productivity below which firms exit falls from 0.75 to 0.56, and the average firm is 7 percent less productive. A barrier to entry protects the unproductive. A representative firm, which neither enters nor exits, could not show any of this.

One more population. Plants do not invest a little every year; they invest in lumps, because adjusting has fixed costs. Here are three plants: years of nothing, then a burst. In this sketch, 73 percent of plant-years have no investment at all. Add up twenty thousand of them and the lumps vanish: aggregate investment is smooth. But not inert. When a common shock raises every plant's target, many plants cross their thresholds at once, and investment jumps. Whether such lumps matter for the business cycle was the question of Aubhik Khan and Julia Thomas. Their answer, in a general equilibrium where interest rates and wages respond, was that they matter much less than the plants suggest: prices smooth the aggregate further. Heterogeneity is not always decisive; it has to be checked.

What it does: Hopenhayn's industry; cohorts; an entry barrier; lumpy plants

13The Dials: the propensity to spendGraduate2 min

The Dial for this part is the one every model in it turns on: how much of a windfall households spend. It was set in Part twenty-two. The 2001 tax rebates, mailed in an order set by the last digits of Social Security numbers: about thirty percent spent on nondurables within the quarter. The 2008 stimulus payments, about twenty percent, and more counting cars. The 2020 payments, about ten percent, when many households already had cash. Alaska's oil dividend, about a quarter; Italian households asked directly, about half; and Part twenty-two's own households. In Norway, Andreas Fagereng, Martin Holm and Gisle Natvik found that lottery winners with little liquid wealth spent small prizes entirely within the year. The status: it depends on the setting, and most of all on liquidity.

Now ask each model the same question. The representative household spends the interest on a windfall and saves the rest: 0.5 percent in a quarter, far outside the evidence. The households of this part, with liquid wealth from one to sixteen quarters of income: from 49 percent down to 6.5. Only the economies with little liquid wealth land in the range of the evidence. The representative household misses by a factor of twenty or more, and that is why the models of the last three chapters give different answers about monetary and fiscal policy. The amount of wealth matters less than whether it can be spent.

What it does: The MPC dial; the models' MPCs

14In practice: distributions at the central bankPractice2 min

Where is this used? First in measurement. Since 2019 the Federal Reserve has published distributional financial accounts, which split the nation's balance sheet by wealth, income, age and education, quarter by quarter back to 1989: the data of chapter six and of the intermission. Central bank researchers now build HANK models alongside the older representative-agent ones, often with the open-source sequence-space Jacobian toolkit. The questions they answer are distributional ones: who gains from a rate cut, who spends a stimulus cheque, who pays for an inflation. And for firms, the Census Bureau's Business Dynamics Statistics count entry and exit by firm age and size, the facts Hopenhayn's industry is fitted to.

A distributional analysis has a fixed shape. Take a policy; work out the paths of interest rates, wages and taxes it produces in equilibrium; feed those paths to every household's rule; and add up the changes by group. The Play it of chapter five was exactly this, for a rate cut, by fifth of wealth. The answers depend on the model's liquidity and its fiscal rule, so a careful analysis reports them beside its assumptions.

Called it? In October 1998 Per Krusell and Anthony Smith wrote that in their economy the macroeconomic aggregates could be almost perfectly described using only the mean of the wealth distribution. For capital, it has held up, in their economy and many others; chapter seven reproduced it. But it was read, for twenty years, as permission to ignore the distribution altogether. Where many households have little liquid wealth, spending and the transmission of policy depend on who holds what, as chapters five and nine showed. The verdict: partly right. Right about capital, and right about the economy they studied; not a licence to forget the households who do the spending.

What it does: Who uses the models; a distributional analysis; Called it? (partly right)

15Frontier: micro data in macro modelsGraduate2 min

The frontier is in fitting these models to the households they describe. One number, the share of a windfall spent in a quarter, is not enough. What matters for policy is the whole path: how much is spent in the first year, the second, the third. Here are those paths for the economies of this part. The less liquid wealth, the more is spent at once and the faster the spending dies away. In Norway, where tax records cover every household, Andreas Fagereng, Martin Holm and Gisle Natvik followed lottery winners: spending peaks in the year of winning and returns to normal within about five years. Adrien Auclert, Matthew Rognlie and Ludwig Straub argued that a model should be fitted to that whole curve, and that one which is, with sluggish expectations added, produces both the jumps seen in household data and the slow humps seen in aggregate data.

What remains open? Estimation: fitting a model's whole distribution to household records and to national accounts at the same time. Beliefs: households disagree wildly about inflation and about their own prospects, and models with many households are only beginning to let their beliefs differ too. Big shocks: the sequence-space methods linearize in the aggregates; a deep recession, or a crisis, may need the full nonlinear economy, and that is still hard. And climate: who bears a carbon tax and who can adapt to a warmer world are questions about distributions, and the models that answer them are being built now.

What it does: Intertemporal MPCs as targets; open questions

Recap, problems, and the road aheadAll tracks3 min

So: what does macroeconomics get wrong by treating a country as one household? Whatever depends on who holds what. How much a nation saves, and the interest rate it needs: households who cannot insure their risks save more, and push the rate below the rate of time preference. The top of the wealth distribution, which needs more than bad luck to explain. How a rate cut reaches spending, which is mostly through incomes when liquid wealth is scarce. How large a multiplier is, and who gains from inflation. For the path of capital, one household is nearly enough, as Krusell and Smith found. For spending, which is done disproportionately by those with little, it is not.

Part fifty-two in twelve lines. One household stands for many only if everyone spends an extra dollar alike. Risk that cannot be insured pushes the interest rate below the rate of time preference. In Aiyagari's economy, that means more capital, built by precaution. A simulated population and a moving histogram give the same answer. When rates fall, the poorest respond through their incomes, not the rate. The simple model misses the very rich; lucky returns can make them. With aggregate shocks, the mean is nearly enough for capital. In continuous time, the distribution comes from the transpose of one matrix. In HANK, most of a rate cut's effect comes through incomes. Sequence-space Jacobians solve such economies in a second. Deficit-financed spending multiplies more when households cannot borrow. And populations of firms enter, grow and exit, and their lumps mostly vanish in the sum.

The problems. Gorman's condition with numbers; why marginal utility is a supermartingale; Aiyagari's extra capital; why Huggett's rate falls as the limit tightens; the fixed point of a Krusell and Smith rule; the balanced-budget multiplier; the fake-news recursion; and a starred problem on Hopenhayn's stationary industry. Full solutions are in the part's notes.

The reading: Ljungqvist and Sargent's chapters on incomplete markets; lecture notes by Greg Kaplan and by Benjamin Moll; Krusell and Smith's own survey; and the documentation of the sequence-space Jacobian toolkit. Then the papers, from Gorman to the fake news.

Next time, the households differ not in what they have but in what they know. A prosecutor cannot lie to the judge, but she chooses which investigation to run, and the judge follows the evidence. Part fifty-three builds the games of incomplete information: types and beliefs, signals, cheap talk, and the design of information itself, Emir Kamenica and Matthew Gentzkow's theory of Bayesian persuasion.

Where it goes next. Part 53 turns from what households have to what they know: games of incomplete information, cheap talk, and the design of information itself.

Key results

The part's results in one place, for revision.

Gorman\(\displaystyle c_i = a_i(p) + b(p)\, m_i \Rightarrow \textstyle\sum_i c_i = \sum_i a_i(p) + b(p)\sum_i m_i\)
Aiyagari's market\(\displaystyle K(r) = \int a\, d\lambda_r(a, e),\quad\allowbreak r = \alpha K^{\alpha - 1} - \delta\)
The forward equation\(\displaystyle \mathbf{A}^{\top}\mathbf{g} = 0\)
Direct and indirect\(\displaystyle dC = \mathbf{M}_r\, dr + \mathbf{M}_Z\, dZ\)
Fake news\(\displaystyle \mathbf{J}_{t,s} = \mathbf{F}_{t,s} + \mathbf{J}_{t-1,s-1}\)

Try it

Lab 52 · Many agents

Solve economies with a whole distribution of households (and of firms), check the answers two ways, and see which aggregate questions the distribution changes.

Figure produced by Lab 52: Many agents
Produced by the lab below, seed 0, in 13.7 s.
python -m videos.economics.labs 52 needs numpy, scipy, matplotlib · download lab52.py · source on GitHub
Gorman: a transfer of 20 with slopes 0.9, 0.6, 0.3 changes spending by  12.0
Aiyagari: r, rate of time preference, seconds                           2.12%, 4.17%, 1.1
Aiyagari: capital against one household's                               7.27 against 5.45
Aiyagari: Gini, top 1%, at the limit                                    0.485, 4.8%, 1.6%
simulated Gini (20,000 households)                                      0.480
Huggett: the rate that clears the bond market (rho = 5%)                3.19%
Krusell and Smith (small): R-squared, Den Haan's largest error          0.999975, 0.38%
fake news: all columns, seconds; brute force, one column                0.06; 0.03
fake news against brute force: largest difference                       8.0e-06
rate cut: direct share on impact, with many households and with one     56%, 97%
rate cut: rise in spending by fifth, poorest first                      0.92%, 1.04%, 1.01%, 0.89%, 0.78%
multiplier, balanced                                                    1.000
multiplier, deficit                                                     1.443
Hopenhayn, entry cost 40: price, entry rate, average productivity       4.03, 6.6%, 1.300
Hopenhayn, entry cost 80: price, entry rate, average productivity       4.36, 2.1%, 1.208

Uninsured risk lowers the interest rate and raises capital; a simulated population agrees with the histogram; the mean is nearly enough to forecast capital; fake-news Jacobians match brute force at a fraction of the cost; with little liquid wealth most of a rate cut works through incomes and a deficit-financed multiplier exceeds one; entry barriers protect the unproductive.
The code (102 lines; it asserts its own result)
"""Lab 52: many agents: Gorman's transfer, Aiyagari's equilibrium and its supply curve, Huggett's bond market, the
wealth shares by model, a small Krusell and Smith, sequence-space Jacobians against brute force, a rate cut split by
fifth of wealth, multipliers, and Hopenhayn's industry at two entry costs."""

import time

import numpy as np

from videos.coursekit import labs
from explainer.economics.agora import hetero as H
from explainer.economics.island import truths

TITLE = "Many agents"
GOAL = ("Solve economies with a whole distribution of households (and of firms), check the answers two ways, and see "
        "which aggregate questions the distribution changes.")
TASKS = [
    "Raise the spread of wages from 0.4 to 0.6 in Aiyagari's economy. What happens to the interest rate and to "
    "capital?",
    "Give the HANK households eight quarters of liquid wealth instead of two. How do the direct share of a rate cut "
    "and the deficit-financed multiplier change?",
    "Triple Hopenhayn's entry cost. What happens to the price, to entry and to average productivity?",
]


def run(seed=0):
    lab = labs.Lab()
    T = truths(52)
    A = T["aiyagari"]

    g = H.gorman_demand([20, 60, 120], [4, 6, 8], [0.9, 0.6, 0.3], 20.0, 2, 0)
    lab.row("Gorman: a transfer of 20 with slopes 0.9, 0.6, 0.3 changes spending by", f"{g['change']:.1f}")

    kw = dict(beta=A["beta"], gamma=A["gamma"], rho=A["rho"], sigma=A["sd"] * np.sqrt(1 - A["rho"] ** 2),
              n_e=A["n_e"], n_a=200, a_max=A["a_max"])
    t0 = time.perf_counter()
    res = H.aiyagari(**kw)
    lab.row("Aiyagari: r, rate of time preference, seconds",
            f"{100 * res['r']:.2f}%, {100 * res['rho_time']:.2f}%, {time.perf_counter() - t0:.1f}")
    assert 0 < res["r"] < res["rho_time"]
    lab.row("Aiyagari: capital against one household's",
            f"{res['K']:.2f} against {H.capital_demand(res['rho_time']):.2f}")
    lab.row("Aiyagari: Gini, top 1%, at the limit",
            f"{res['gini']:.3f}, {100 * res['top1']:.1f}%, {100 * res['at_limit']:.1f}%")
    sim = H.simulate(res, n=20000, T=300, seed=seed)
    lab.row("simulated Gini (20,000 households)", f"{H.gini(sim['wealth'], np.ones(len(sim['wealth']))):.3f}")
    curve = H.capital_supply(np.linspace(0.0, res["rho_time"] - 0.003, 8), **kw)

    hg = H.huggett_ct(**T["huggett"])
    lab.row("Huggett: the rate that clears the bond market (rho = 5%)", f"{100 * hg['r']:.2f}%")

    ks = H.krusell_smith(n_a=60, T=500, burn=60, max_rounds=40, tol=1e-5, inner_tol=1e-6)
    lab.row("Krusell and Smith (small): R-squared, Den Haan's largest error",
            f"{min(ks['r2']):.6f}, {ks['dh_max']:.2f}%")

    ss = H.hank_steady_state(2.0, n_a=200)
    t0 = time.perf_counter()
    jac = H.jacobians(ss, T=150)
    fake = time.perf_counter() - t0
    t0 = time.perf_counter()
    b = H.jacobian_column_brute(ss, "Z", 5, T=150)
    one = time.perf_counter() - t0
    err = float(np.max(np.abs(b["C"] - jac["J"][("C", "Z")][:, 5])))
    lab.row("fake news: all columns, seconds; brute force, one column", f"{fake:.2f}; {one:.2f}")
    lab.row("fake news against brute force: largest difference", f"{err:.1e}")
    assert err < 1e-3
    rc = H.hank_rate_cut(ss, jac)
    ra = H.ra_rate_cut(ss["r"], ss["B"], rc["dr"])
    lab.row("rate cut: direct share on impact, with many households and with one",
            f"{100 * rc['direct_share_impact']:.0f}%, {100 * ra['direct_share_impact']:.0f}%")
    tot = H.response(ss, rc["dr"], rc["dZ"])
    groups = H.by_wealth_group(ss, tot)
    lab.row("rate cut: rise in spending by fifth, poorest first",
            ", ".join(f"{x['pct']:.2f}%" for x in groups))
    for f in ("balanced", "deficit"):
        mult = H.hank_multiplier(ss, jac, financing=f)["multiplier"]
        lab.row(f"multiplier, {f}", f"{mult:.3f}")
        assert mult >= 1.0 - 1e-8

    F = T["hopenhayn"]
    for ce in F["c_e"]:
        h = H.hopenhayn(c_e=ce, c_f=F["c_f"], entrant_shift=F["entrant_shift"])
        lab.row(f"Hopenhayn, entry cost {ce:.0f}: price, entry rate, average productivity",
                f"{h['p']:.2f}, {100 * h['entry_rate']:.1f}%, {h['productivity']:.3f}")

    lab.note = ("Uninsured risk lowers the interest rate and raises capital; a simulated population agrees with the "
                "histogram; the mean is nearly enough to forecast capital; fake-news Jacobians match brute force at a "
                "fraction of the cost; with little liquid wealth most of a rate cut works through incomes and a "
                "deficit-financed multiplier exceeds one; entry barriers protect the unproductive.")

    fig, ax = labs.figure(2, size=(11, 4.4))
    ax[0].plot([c["supply"] for c in curve], [100 * c["r"] for c in curve], color=labs.BLUE, label="households")
    ax[0].plot([c["demand"] for c in curve], [100 * c["r"] for c in curve], color=labs.ORANGE, label="firms")
    ax[0].set(title="Aiyagari: the market for capital", xlabel="capital", ylabel="interest rate, %")
    ax[0].legend()
    q = np.arange(16)
    ax[1].plot(q, 100 * rc["dC"][:16], color="black", label="total")
    ax[1].plot(q, 100 * rc["direct"][:16], color=labs.BLUE, label="direct")
    ax[1].plot(q, 100 * rc["indirect"][:16], color=labs.ORANGE, label="indirect")
    ax[1].set(title="a rate cut, % of output", xlabel="quarter")
    ax[1].legend()
    lab.fig = fig
    return lab

Now change it

  1. Raise the spread of wages from 0.4 to 0.6 in Aiyagari's economy. What happens to the interest rate and to capital?
  2. Give the HANK households eight quarters of liquid wealth instead of two. How do the direct share of a rate cut and the deficit-financed multiplier change?
  3. Triple Hopenhayn's entry cost. What happens to the price, to entry and to average productivity?

Problems, with solutions

Try each problem before opening its solution.

1. Gorman: three households spend c_i = 5 + b_i m_i with b = (0.9, 0.6, 0.3). A transfer of 10 goes from the third to the first. By how much does total spending change? With equal slopes?

Solution

The first spends 0.9 x 10 = 9 more, the third 0.3 x 10 = 3 less: total spending rises by 6. With equal slopes b the two changes are b x 10 and -b x 10, and total spending does not move: that is Gorman's condition.

2. The supermartingale: with beta(1 + r) = 1 and income risk, show that u'(c_t) is a nonnegative supermartingale, and explain why consumption cannot settle down.

Solution

The Euler inequality u'(c_t) >= beta(1 + r) E_t u'(c_{t+1}) becomes u'(c_t) >= E_t u'(c_{t+1}), the definition of a supermartingale, and marginal utility is positive. By the martingale convergence theorem it converges almost surely. If it converged to a positive number, consumption would settle at a finite level, but a household with finite wealth and random income cannot keep consumption constant: a run of bad draws would force it to change. So marginal utility must go to zero: consumption, and wealth, grow without bound. At that interest rate everyone wants to save, so the market can only clear at a lower rate.

3. Aiyagari's market: with alpha = 0.36 and delta = 0.08, find capital per worker at r = 4.17% and at r = 2.12%. By what percentage does capital rise?

Solution

From r = alpha K^(alpha - 1) - delta, K = (alpha/(r + delta))^(1/(1 - alpha)). At 4.17%: (0.36/0.1217)^1.5625 = 5.45. At 2.12%: (0.36/0.1012)^1.5625 = 7.26. Capital is 33% higher: the precautionary saving of households who cannot insure their wages.

4. Huggett: explain why bonds held must sum to zero, and why the interest rate that clears the market falls as the borrowing limit tightens.

Solution

The bonds are IOUs among households: every bond one holds is another's debt, so in total they sum to zero. A tighter limit means borrowers can absorb fewer bonds, while savers still want a buffer; to clear the market the interest rate must fall until savers want to hold fewer. In the limit of no borrowing at all, nobody can hold a bond, and the rate falls until no household wants to save.

5. Krusell and Smith: a rule log K' = 0.13 + 0.964 log K. Find its fixed point. What does R-squared miss that Den Haan's test catches?

Solution

log K = 0.13/(1 - 0.964) = 3.61, so K = 37.0. R-squared measures one-step-ahead fit when the true capital is fed in every quarter, so small, persistent biases never accumulate. Den Haan's test feeds the rule only the shocks and lets it use its own forecasts; a rule that is slightly off in a consistent direction drifts away from the economy, and the test shows how far (0.59% at most in the film).

6. Werning's benchmark: with debt fixed and output set by demand, show that a balanced-budget increase in purchases raises output one for one, whatever the MPCs.

Solution

With the real rate fixed, spending responds only to after-tax income: dC = M dZ, with dZ = dY - dT. Balanced budget means dT = dG, and the goods market says dY = dC + dG. Try dY = dG: then dZ = 0, so dC = 0, and dY = dG holds. As long as I - M is invertible this is the only solution, whatever the matrix of MPCs M. (The film attributes the general framework to Auclert, Rognlie and Straub.)

7. Fake news: show that J_{t,s} = F_{t,s} + J_{t-1,s-1} when the economy is the same at every date.

Solution

J_{t,s} is the effect on C_t of a change in the input at s, announced at 0. Split it into the part that works through date-0 decisions and the date-1 distribution they produce (the fake-news entry F_{t,s}) and the rest, which works through decisions from date 1 on. From date 1, the economy faces news about an input s - 1 periods ahead and is asked about an outcome t - 1 periods ahead: because the economy is the same at every date, that is exactly J_{t-1,s-1}.

8. Hopenhayn: derive the stationary mass of firms mu = M (I - P' X)^(-1) nu, and show that a higher entry cost lowers the exit threshold.

Solution

Next year's firms are this year's stayers, moved by the productivity chain, plus the entrants: mu' = P' X mu + M nu, with X the diagonal matrix of decisions to stay. In a steady state mu' = mu, so mu = M (I - P' X)^(-1) nu. Free entry says the expected value of entering equals c_e; a higher c_e therefore needs a higher value of being in the industry, which needs a higher price. A higher price raises every firm's profits, so a less productive firm now finds staying worth its fixed cost: the threshold falls, from 0.75 to 0.56 in the film.

Notes and sources

Sources

The studies the film states are listed with what each shows in dials.SHOWN[52]; the MPC dial is in explainer/economics/dials.py; Krusell and Smith's finding is a Called it? entry (explainer/economics/calls.py); the wealth shares are in the Data Room. Checked on 2026-11-21: Kirman's essay (JEP 6(2), 1992) and its "decent burial"; Krusell and Smith's abstract (JPE 106(5), 1998: "almost perfectly described using only the mean of the wealth distribution"); Kaplan, Moll and Violante (AER 108(3), 2018: direct effects small, indirect effects dominant); Doepke and Schneider (JPE 114(6), 2006: rich, old households lose; young, middle-class households with fixed-rate mortgages and the government gain); Fagereng, Holm and Natvik (AEJ: Macroeconomics 13(4), 2021: low-liquidity winners of small prizes spend all within the year; spending reverts within five years). The models are stated from the papers cited in the chapters (Gorman 1953, Bewley 1977, Hopenhayn 1992, Huggett 1993, Aiyagari 1994, Chamberlain and Wilson 2000, Khan and Thomas 2008, Den Haan 2010, Young 2010, Benhabib, Bisin and Zhu 2011 and 2015, Kaplan and Violante 2014, Werning 2015, McKay, Nakamura and Steinsson 2016, Auclert et al. 2021, Achdou et al. 2022) and computed here. Not stated, because not checked: Krusell and Smith's own R-squared and rule coefficients; Aiyagari's own table entries; Kaplan, Moll and Violante's exact direct share.

About this partfrom its README

Part 52 of a sixty-eight-part course in economics (see the series plan and the syllabus), the second of Act X, The Graduate Core. It asks what macroeconomics gets wrong by treating a country as one household. Its answer: whatever depends on who holds what. How much a nation saves and the interest rate it needs (households who cannot insure their risks save more, and push the rate below the rate of time preference); the top of the wealth distribution, which needs more than bad luck to explain; how a rate cut reaches spending, mostly through incomes when liquid wealth is scarce; how large a deficit-financed multiplier is; and who gains from inflation. For the path of capital, one household is nearly enough, as Krusell and Smith found; for spending, which is done disproportionately by those with little, it is not.

It opens on Alan Kirman's 1992 essay asking whom or what the representative individual represents (his answer: the device deserves "a decent burial"), on Per Krusell and Anthony Smith's 1998 finding that their economy's aggregates "can be almost perfectly described using only the mean of the wealth distribution", and on Kaplan, Moll and Violante's 2018 reversal of the textbook account of monetary policy. From there it covers:

  • aggregation: three households with straight Engel curves, where a transfer changes nothing when the slopes are equal and raises spending by 12 when they are not; Gorman's condition; the share of a windfall spent falling with wealth in Aiyagari's economy (76% for a household with nothing and the lowest wage, 6.9% on average, against 4% for a representative household);
  • incomplete markets after Bewley and Huggett: the Euler inequality, why wealth drifts up without bound when beta(1 + r) = 1 (Chamberlain and Wilson), and Huggett's bond market clearing at 3.19% against a rate of time preference of 5%, with a crowd of low-income households at the borrowing limit;
  • Aiyagari's economy derived and solved: the household's rules by the endogenous grid method, the capital market's two curves crossing at 2.12% against 4.17%, with 33% more capital than a representative household would hold and a saving rate of 28%;
  • the Island's 100,000 households simulated for four centuries, whose Gini (0.481), top 1% share (4.7%) and share at the limit (1.6%) match Young's histogram method; Aiyagari's table recomputed (every rate below 4.17%, down to 0.72% with persistence 0.9, a spread of 0.4 and risk aversion 5);
  • Play it: a quarter-point cut in the real rate, fading over a year; which fifth of households by wealth raises its spending most? The second fifth (1.18%); the poorest raise theirs by 0.95%, almost all of it through incomes (0.04% directly); the richest by 0.76%, mostly through the rate;
  • the wealth distribution: the top 1% hold 32.5% of US household wealth in the Federal Reserve's distributional accounts (2026 Q2) and the top tenth 68.9%, a Pareto exponent of 1.48; Aiyagari's economy gives 4.7%; three degrees of patience, 6.9%; a business state in which 9% of households earn 6 or 8 points more on their wealth, 7.5% and 23.4% (exponents 2.9 and 1.49), at the same prices;
  • Krusell and Smith in the calibration of the 2010 comparison project: 30 rounds of guess, solve, simulate and regress; R-squared of 0.99998 in both states; the rule alone, run on the shocks for 1,000 quarters, never more than 0.59% from the economy; why: the richer half own 74% of the capital and save in nearly straight lines;
  • an intermission film of the top 1%'s and the poorer half's shares of US wealth, 1989-2026 (22.8% to 32.5%; 3.5% to a low of 0.4% in 2010 and 2.3% now), as lines and a tune;
  • continuous time after Achdou, Han, Lasry, Lions and Moll: the HJB and Kolmogorov forward equations, one sparse matrix (1,000 unknowns, at most 3,996 non-zeros) and its transpose; one household problem in about 12 milliseconds, Huggett's market in 0.2 seconds;
  • HANK: the rate cut split into its direct and indirect effects; in the Island's economy (liquid wealth of four quarters of output, a quarterly MPC of 22%) 62% of the first quarter's rise and 45% of the first year's is direct, against 96% and 94% for a representative household; totals within about a tenth of each other (Werning), the split moving with liquidity (47% direct with one quarter of liquid wealth); why one asset cannot match both wealth and MPCs (Kaplan and Violante's wealthy hand-to-mouth);
  • sequence-space Jacobians: the matrix of intertemporal MPCs, the fake-news algorithm of Auclert, Bardóczy, Rognlie and Straub (all 600 columns in under a second against about a minute by brute force, agreeing to 10^-5);
  • policy: a balanced-budget multiplier of exactly one whatever the households, a deficit-financed one from 1.04 to 1.88 as liquid wealth falls from sixteen quarters to one; forward guidance (a promised cut five years out does 14% less today than one next quarter with one quarter of liquid wealth, 10% with sixteen, and no less for one household); who gains from a surprise 5% inflation (a young family with a 180,000 mortgage gains 8,571, a retired teacher with 250,000 in bonds loses 11,905), and Doepke and Schneider's measurement;
  • firms: Hopenhayn's industry (6.6% of firms entering and leaving each year; up or out), doubling the entry cost (entry to 2.1%, the exit threshold from 0.75 to 0.56, average productivity 7% lower, the price 8% higher), and a sketch of lumpy plant investment that vanishes in the sum (73% of plant-years with none), after Khan and Thomas;
  • the Dials: the MPC out of a windfall (10 to 40% within a quarter in the studies) against the models' (0.5% for a representative household, 6.5% to 49% for the economies of this part, by liquidity);
  • in practice (the Fed's distributional accounts, HANK models at central banks, open-source toolkits) and Called it? on Krusell and Smith's approximate aggregation (partly right); a frontier of intertemporal MPCs as targets (Fagereng, Holm and Natvik's lottery winners) and the open problems.
What is computed and built

Everything plotted is computed by compute.py with Agora's many agents (explainer.economics.agora.hetero), the continuous-time household of Agora's solver (agora.solve) and the Island's Part 52 truths; the narration states the cached numbers.

  • Aiyagari's economy. Annual periods; u = c^(1-gamma)/(1-gamma) with gamma = 3, beta = 0.96; log wage draws a seven-state Rouwenhorst chain with persistence 0.9 and unconditional s.d. 0.4, normalized to mean one; no borrowing; 300 asset points up to 250, crowded near zero; output K^0.36 with labour 1 and depreciation 8%. The household by the endogenous grid method, the distribution by Young's (2010) lottery, the interest rate by bisection on the capital market. MPCs out of a windfall of 5% of the wage, arriving as cash.
  • The Island. 100,000 households from equal wealth for 400 years with seed 52, following the equilibrium rules.
  • The table. Spreads 0.2 and 0.4, persistence 0 to 0.9, risk aversion 1, 3 and 5, as in Aiyagari's Table II; each cell a full equilibrium.
  • The top. Three permanent types with beta 0.94, 0.96 and 0.98, a common interest rate; a business state entered with probability 2% a year and left with 20%, earning 6 or 8 points more, at the base economy's interest rate and wage (not re-cleared), on 600 points up to 20,000. Pareto exponents from the top 1% and 10% shares, S(p) = p^(1 - 1/alpha), for the data and the models alike.
  • Huggett. Incomes 0.1 and 0.2 switching at rate 1.2, rho = 0.05, gamma = 2, borrowing to -0.15, 500 points; the rate that makes bonds sum to zero, by bisection.
  • Krusell and Smith. The calibration of Den Haan, Judd and Juillard (2010): beta = 0.99, log utility, alpha = 0.36, quarterly depreciation 2.5%, productivity 0.99 or 1.01, unemployment 10% or 4%, unemployment benefits of 15% of the wage financed by a tax on the employed, labour endowment 1/0.9; Krusell and Smith's transition matrices (eight-quarter spells, unemployment spells of 2.5 and 1.5 quarters); 100 asset points and six values of capital; 1,100 quarters (the first 100 dropped) with the distribution moved by Young's method; the rule updated with damping 0.3 until it changes by less than 10^-6.
  • HANK. Quarterly; output 1; the real rate 0.5%; government bonds of 1 to 16 quarters of output are all the households hold; taxes r B; log income a seven-state chain with persistence 0.966 and s.d. 0.5; log utility; the discount factor set to clear the bond market. Jacobians over 300 quarters by the fake-news algorithm with a step of 10^-4. The rate cut: -0.25 points from quarter 1, decaying by 30% a quarter; debt constant (taxes fall by B dr); after-tax income from asset-market clearing. Spending by fifth from the date-0 rules on the equilibrium paths. Government purchases of 1% of output decaying by 20% a quarter; deficit-financed with taxes of 10% of last quarter's debt. The representative household's responses in closed form.
  • Firms. Productivity a 41-state Rouwenhorst chain (persistence 0.9, innovation s.d. 0.2); output phi n^0.64; fixed cost 15; beta = 0.95; entrants drawn half a standard deviation below incumbents; entry costs 40 and 80; expenditure 100. Plants: 20,000, depreciation 10%, adjusting when the log gap exceeds 0.3, a common shock of 10% at year 80.
Chapter notes
# Chapter What it does
0 A decent burial, and a reprieve Kirman; Krusell and Smith; Kaplan, Moll and Violante; the question; objectives
1 Aggregation: when one household is exact Three households; Gorman's condition; MPCs that fall with wealth
2 Incomplete markets The setting; the Euler inequality; Huggett's market; the distribution
3 The Aiyagari economy The model; the household's rules; the capital market
4 The Island's 100,000 households Five lives; the crowd against the histogram; Aiyagari's table recomputed
5 Play it: rates fall Which fifth spends most; direct and indirect by fifth
6 The wealth distribution The gap at the top; why; patience and returns; Pareto tails
7 Aggregate shocks: Krusell and Smith The problem; the algorithm; the fit and Den Haan's test; why it works
— Intermission The top 1%'s and the poorer half's shares of wealth, 1989-2026; the story so far
8 Continuous time: two equations, one matrix HJB and Kolmogorov; the sparse matrix and its transpose; timings
9 HANK: monetary policy with many households Direct and indirect; against one household; liquidity
10 Sequence-space Jacobians Paths in, paths out; the matrix; fake news; against brute force
11 What changes for policy Multipliers; forward guidance; who gains from inflation
12 Many firms: entry, exit and lumps Hopenhayn's industry; cohorts; an entry barrier; lumpy plants
13 The Dials: the propensity to spend The MPC dial; the models' MPCs
14 In practice: distributions at the central bank Who uses the models; a distributional analysis; Called it? (partly right)
15 Frontier: micro data in macro models Intertemporal MPCs as targets; open questions
— Outro The answer; twelve lines; problems; reading; next, Part 53, Information and Persuasion
Notes
  • python -m videos.economics.labs 52: Gorman's transfer; Aiyagari's equilibrium and its supply curve; Huggett's market; the wealth shares by model; a small Krusell and Smith; the fake-news Jacobians against brute force; the rate cut split by fifth; multipliers; Hopenhayn at two entry costs.
  • The interactive (course site): households. The reader sets how much liquid wealth households hold and how the government pays, and watches a rate cut split into direct and indirect effects and the multiplier change.

Companion material in this repository

The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. Hook: Kirman's question; the question; objectives.
  2. Aggregation: when one household is exact (Gorman) and why it almost never is.
  3. Incomplete markets: uninsurable income risk and a borrowing limit (Bewley 1977; Huggett 1993).
  4. The Aiyagari economy (1994) derived: the household's problem, the stationary distribution, the capital market; the equilibrium interest rate below the rate of time preference.
  5. Solved on the Island with 100,000 households (Part 51's methods); Aiyagari's table reproduced.
  6. Play it: rates fall by a point: whose spending moves, and why?
  7. The wealth distribution: what the basic model misses at the top; fixes (heterogeneous discounting, entrepreneurs, returns: Benhabib, Bisin and Zhu).
  8. Aggregate shocks: the state is a distribution. Krusell and Smith (1998): approximate aggregation, R² of 0.999998 (verify), and when it fails.
  9. Continuous time: an HJB equation and a Kolmogorov forward equation as one system (Achdou et al. 2022).
  10. HANK (Kaplan, Moll and Violante 2018): liquid and illiquid assets; the direct effect of a rate cut is small, the indirect effect through incomes is most of it.
  11. Sequence-space Jacobians (Auclert, Bardóczy, Rognlie and Straub 2021): linearize in aggregates, not in the distribution; the model solved in seconds.
  12. What changes for policy: fiscal multipliers, forward guidance, who gains from inflation (Doepke and Schneider 2006).
  13. Firms: Hopenhayn (1992) and entry; lumpy investment and whether it aggregates (Khan and Thomas 2008).
  14. Dials. 14. In practice: distributional analysis of monetary policy at central banks. 15. Frontier: estimation with micro data; heterogeneity in beliefs; climate and inequality in one model.

Agora: hetero: Aiyagari, Krusell–Smith, a two-asset HANK by sequence-space Jacobians, Hopenhayn's industry. The Island's population becomes the model. Dials: the average MPC implied by each model against Part 22's row. Facts: Pareto tails in wealth; consumption smoother than income, household by household. Reading: Bewley 1977; Huggett 1993; Aiyagari 1994; Krusell & Smith 1998; Kaplan, Moll & Violante 2018; Auclert et al. 2021; Achdou et al. 2022; Hopenhayn 1992; Ljungqvist & Sargent chs 17–18; Kirman 1992.

Build the film

python -m videos.economics.econ52.compute        # the part's numbers, into .cache/econ52
python tools/build.py econ52                  # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py econ52 Hook   # one chapter, silent, with a contact sheet

Scenes: videos/economics/econ52. Setup: see the course page. Source of these notes: the README and the scenes' narration.

Build it
python -m videos.economics.econ52.compute              # every number (about five minutes), into .cache/econ52/
python tools/qa_scene.py econ52 Aiyagari               # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py econ52 -q l   # the whole part, silent preview
python tools/build.py econ52                           # 1080p30 with narration and the series' computed score
python -m videos.economics.labs 52                     # the lab

Times quoted in the film are measured when the cache is built, so they differ from machine to machine; the ratios between methods are what the film relies on. The only data are the Federal Reserve's Distributional Financial Accounts (shares of the top 1%, the next 9% and the bottom half, via FRED), registered in SOURCES.md.