Sticky Prices
Why does money move the real economy, and what is the best a central bank can do?
The part opens on the price collectors behind America's consumer price index and on Bils and Klenow, who counted how often each price changes. It asks the viewer how long the median price lasts, reviews the evidence (magazines, a survey of firms, the records, sticky and flexible inflation), computes Mankiw's menu-cost argument on the Island's ferry, and derives the New Keynesian Phillips curve from Calvo pricing and the dynamic IS curve from the Euler equation. It fits Taylor's rule to the Greenspan years, draws the Taylor principle, and solves the three equations for three shocks. After an intermission of sticky and flexible inflation since 1968, it shows the divine coincidence, optimal policy under discretion and commitment, the selection effect with 20,000 simulated firms, the zero lower bound and the forward-guidance puzzle, and the frictions of medium-scale models, reads the frequency-of-price-changes dial, and scores Bernanke's 2002 promise on deflation.
What you need. Part 10: monopoly pricing; Part 12: monopolistic competition; Part 22: the Euler equation; Part 28: the Phillips curve; Part 29: the saddle path. Chapter 5 sums a geometric series of expectations; chapter 8 checks the roots of a 2-by-2 matrix; chapter 10 is a constrained minimization.
- Hook
- how often does a price change?
- Ideas, models and mathematics
- monopolistic competition, menu costs, Calvo pricing, the New Keynesian Phillips curve derived, the dynamic IS curve, the Taylor rule and principle, the three-equation model solved, optimal policy, the zero bound, medium-scale models
- Agora gains
- a New Keynesian model
- Play it
- guess the price that never moved
What you will be able to do
Principles and the major
- Explain why prices are sticky, with the evidence on how often they change and Mankiw's menu-cost argument.
- Explain the three equations of the New Keynesian model and what each says about firms, households and the central bank.
- Explain the Taylor principle, the divine coincidence and why the zero lower bound matters.
Graduate
- Derive the New Keynesian Phillips curve from Calvo pricing and solve the model for AR(1) shocks.
- Compare discretion and commitment after a cost-push shock, and compute policy at the zero bound.
Research
- Weigh the evidence on price stickiness (sales, selection) and the forward-guidance puzzle and its repairs.
Practice
- Use a New Keynesian model for scenarios and alternative policy paths, alongside judgement.
Contents
Each chapter has a home level. Choose a track to see what to read and watch: Principles and the major 18 min · Graduate 27 min · Research 36 min · Practice 20 min.
- 0Why does money move the real economy?Principles and the major3 min
- 1Play it: how long does a price last?Principles and the major1 min
- 2The evidence on price settingPrinciples and the major2 min
- 3Why prices stick: menu costsPrinciples and the major2 min
- 4Monopolistic competition: the desired markupPrinciples and the major1 min
- 5Calvo's fairy: the New Keynesian Phillips curveGraduate3 min
- 6The dynamic IS curvePrinciples and the major1 min
- 7A rule for the central bankPrinciples and the major2 min
- 8Three equations, solvedGraduate2 min
- Intermission: sticky and flexible prices since 1968Principles and the major
- 9The natural rate and the divine coincidencePrinciples and the major1 min
- 10Optimal policy: discretion and commitmentGraduate3 min
- 11Menu costs and the selection effectResearch2 min
- 12The zero lower bound and forward guidanceResearch3 min
- 13Medium-scale models: what each friction buysResearch2 min
- 14The Dials: how often prices changeResearch1 min
- 15In practice: policy simulations at central banksPractice2 min
- 16Frontier: the model after 2021Research1 min
- 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.
Why does money move the real economy?Principles and the major3 min
Every month, the Bureau of Labor Statistics records about a hundred thousand prices, from about twenty-three thousand shops and service businesses across America, to build the consumer price index. In 2004, Mark Bils and Peter Klenow opened those records and did something simple: they counted how often each price changes. The median price lasted about four months, far less time than economists had been assuming. And yet, as this part will show, long enough for money to move the real economy.
Here is what that difference does. The Federal Reserve Bank of Atlanta splits the consumer price index, food and energy aside, into two groups by how often each item's price changes. In orange, the prices that change often: clothing, cars, hotel rooms. In blue, the prices that change rarely: rents, haircuts, insurance and fees. In 2022 the flexible prices rose 19 percent in a year, the sticky ones 6.5. The flexible line jumps with every shock; the sticky one moves slowly and carries the trend. If all prices behaved like the orange line, money would barely matter for output. Because so many behave like the blue one, it does.
This part's question: why does money move the real economy, and what is the best a central bank can do? How sticky are prices, and why? What do sticky prices do to the whole economy? The answer fits in three equations, which now sit inside every central bank. And what should a central bank do with them, including when interest rates cannot fall any further?
Economics, Built. Part thirty: sticky prices. Here is the plan. A guess about how long prices last, then the evidence, and why prices stick at all. Calvo's model of price setting, and the Phillips curve it implies, derived. The household's side as a dynamic IS curve, the central bank as a Taylor rule, and the three equations solved together. When stabilizing inflation also stabilizes output, what the best policy looks like, and why menu costs can make money matter less than Calvo says. And the zero lower bound, the puzzle of forward guidance, the bigger models central banks actually use, and a dial.
What it does: The price collectors; Bils and Klenow; sticky and flexible inflation since 1968; objectives
1Play it: how long does a price last?Principles and the major1 min
Your turn. Take the prices that go into America's consumer price index, from petrol to haircuts to rent, and line them up by how often they change. Petrol changes almost every week; some fees barely once a year. What about the price in the middle? About a month; about four months; or about a year? Pause, and choose.
Bils and Klenow's answer, across three hundred and fifty categories of goods and services in 1995 to 1997: the median price lasted four point three months. If you chose B, you agree with them. Goods changed faster, about every three months; services slower, about every eight. But Emi Nakamura and Jón Steinsson noticed that many of those changes are temporary sales, after which the price goes back to where it was. Leave sales out, and only nine to twelve percent of regular prices change in a month: a median of eight to eleven months. So B and C are both right, depending on whether a sale counts. For money and the cycle the answer matters, and economists still argue about which number belongs in a model.
What it does: A month, four months or a year? 4.3 months (Bils and Klenow); 8–11 without sales (Nakamura and Steinsson)
2The evidence on price settingPrinciples and the major2 min
There are three ways to find out how prices are set. Follow one product for decades. Stephen Cecchetti followed the newsstand prices of American magazines, and found they changed rarely, and more often when inflation was high. Ask. Alan Blinder and his coauthors interviewed the price setters of two hundred American firms in the 1990s: the median firm changed its price about once a year. The explanation they rated highest was coordination: nobody wants to raise prices first. Contracts with customers, written or understood, also ranked high. Or read the records, as Bils, Klenow, Nakamura and Steinsson did. All three agree. Many prices stay fixed for months, even though some change every week.
The Atlanta Fed's two indexes show what the difference does in calmer times. From 1985 to 2019, inflation in the flexible prices had a standard deviation of 1.6 points; in the sticky prices, 1.1. A price that will be in force for months has to be set with the future in mind. So sticky-price inflation carries what firms expect, and Michael Bryan and Brent Meyer found it the better guide to where inflation is heading.
That is one of the series' facts. In the data, the median price lasts four point three months counting sales, eight to eleven without. The theory of why comes next. And the Island's prices, from chapter five on, last nine months on average, the calibration in Jordi Galí's textbook, between the two.
What it does: Cecchetti; Blinder and coauthors (once a year; coordination); the Atlanta Fed's indexes, 1985–2019; the sticky-prices Fact
3Why prices stick: menu costsPrinciples and the major2 min
Back on the Island, Bo's ferry fare is painted on a board by the pier. Repainting it is a nuisance, and regular passengers dislike surprises. Bo faces a demand elasticity of 6, so his best fare is 20 percent above his cost. Now suppose demand falls, and his best fare falls with it, but the old fare stays on the board. In gold, Bo's profit, against how far his fare is from the best one. In green, the number of passengers he carries. With a fare five percent too high, his profit is only 3.1 percent below the best he could do, but he carries 26 percent fewer passengers. The top of a profit curve is flat: near the best price, a mistake costs the seller very little.
Here are the numbers. A fare one percent too high costs Bo 0.14 percent of his profit, and the island 5.8 percent of its ferry trips: forty times as much. At two percent, twenty times. At five percent, eight times. At ten percent, four times. The reason is general. The loss of profit grows with the square of the gap, because the profit curve is flat at the top; the loss of output grows with the gap itself.
In 1985 Gregory Mankiw turned this into an argument about the whole economy. For a firm, leaving its price alone after a small change in demand costs almost nothing: a loss of the second order. But the output lost to society is of the first order. So even a tiny cost of changing prices, a menu cost, can be enough to keep prices where they are, and then a fall in the money supply cuts output instead of prices. George Akerlof and Janet Yellen made the same point the same year: firms that are only nearly rational lose little, while the economy loses a lot. It is the reason money is not neutral, in one picture.
What it does: Bo's fare: profit and passengers against the fare; the table (40, 20, 8 and 4 to 1); Mankiw; Akerlof and Yellen
4Monopolistic competition: the desired markupPrinciples and the major1 min
Sticky prices need firms that set prices, so the model starts from Part twelve's monopolistic competition. Each firm sells its own variety, and its sales fall with its price relative to the average, with elasticity epsilon. Each firm sets its own price, and the best price is a fixed markup on marginal cost. With epsilon at 6, twenty percent. That markup does a quiet but essential job. Because price is above marginal cost, a firm is always glad to sell one more unit at its going price, so when demand rises and its price is stuck, it simply produces more.
Here is that firm when demand rises. Demand moves out, from grey to green. The price is stuck at its old level. Marginal cost rises as the firm produces more, because it must pay more for overtime and materials. The firm sells more at the old price, and its markup shrinks, but it remains positive. So output is set by demand, not by the price: exactly Keynes's effective demand, now derived from firms that choose. And the gap between what the firm would like to charge and what it does charge drives the next chapter.
What it does: Demand \(y_i = (P_i/P)^{-\varepsilon}Y\); the markup \(\varepsilon/(\varepsilon-1) = 1.2\); a stuck price and a shrinking markup
5Calvo's fairy: the New Keynesian Phillips curveGraduate3 min
How should sticky prices enter a model of the whole economy? Guillermo Calvo's answer, in 1983, is a fairy. Each quarter, a randomly chosen fraction of firms, one minus theta, may reset their price; the rest must keep the price they have. With theta at two thirds, a third of firms reset each quarter, whatever has happened to them and however long they have waited. A price then lasts 9 months on average. As a description of a firm, it is absurd: no firm waits for a fairy. As mathematics it is wonderful, because the firms that reset are a random sample, so one equation describes them all.
Now take a firm the fairy has visited. It knows its new price may last a long time, so it looks ahead. In logs, its best price is its markup plus a weighted average of the nominal marginal costs it expects in every future quarter, each weighted by the chance that the price will still be in force then, theta to the power k, and by discounting. And the price level is an average of the new prices and the old ones: a third reset, two thirds carried over from last quarter.
Put the two equations together, use the fact that marginal cost rises with the output gap, the percentage gap between output and what it would be with flexible prices, and out comes the New Keynesian Phillips curve: inflation today equals beta times expected inflation next quarter, plus kappa times the output gap. Kappa, the slope, shrinks as prices get stickier, as theta rises, and depends on how fast costs rise with output. Now solve it forward, and inflation today is kappa times the discounted sum of every output gap people expect. Compare Part twenty-eight's curve, which looked backward at last year's inflation. This one looks forward: firms raise prices today because they expect costs to be high later.
How steep is the curve? Here is kappa against theta, holding the rest of the Island's economy fixed. Stickier prices mean a flatter curve. If prices last about four months, as Bils and Klenow found, theta is about 0.5 and kappa about 0.38. Galí's baseline, prices lasting nine months, gives 0.13, which the Island uses. Nakamura and Steinsson's regular prices give about 0.09. The difference between those two numbers decides how much output a central bank must sacrifice to move inflation, the sacrifice ratio of Part twenty-eight.
What it does: A third reset each quarter; the reset price; the NKPC and its forward solution; \(\kappa\) against \(\theta\)
6The dynamic IS curvePrinciples and the major1 min
The second equation comes from households. It is Part twenty-two's Euler equation, in logs: consumption today equals expected consumption tomorrow, less a term in the real interest rate. A higher real rate makes saving more attractive, so people spend less now and more later. With no investment or government in this simplest version, output equals consumption; subtract the same equation for an economy with flexible prices, and you get the dynamic IS curve: today's output gap equals tomorrow's expected gap, less the gap between the real interest rate and the natural rate. The natural rate is the real rate the economy would have with flexible prices. It is the benchmark the central bank's rate is measured against.
Here is the whole model. Firms: inflation depends on expected inflation and the output gap, plus a cost-push shock u. Households: the output gap depends on the expected gap and on the real interest rate against the natural rate, which moves with demand. And the central bank sets the nominal interest rate, by a rule the next chapter takes from the data, plus a policy shock v. Three equations, three shocks. This is the model taught in every graduate course, and the core of every model central banks use.
What it does: The Euler equation; the natural rate; the three equations and three shocks
7A rule for the central bankPrinciples and the major2 min
In 1993 John Taylor proposed a rule simple enough to fit on an index card. The federal funds rate equals two, plus inflation, plus half the gap between inflation and two percent, plus half the output gap. Two is the neutral real rate; inflation is over the past year; the gap is output against its potential. So each extra point of inflation raises the policy rate by a point and a half, which means the real rate rises too: the central bank leans against inflation. And each point of output gap adds half a point.
How well does it fit? In pink, the federal funds rate from 1985 to 2007. In green, Taylor's rule, computed from the GDP deflator and the Budget Office's output gap as they stand today. Through Alan Greenspan's years as chair, the two move together, with a correlation of 0.69 and a typical gap of 1.6 points. A regression over those years puts 1.34 on inflation and 0.94 on the output gap. The number that matters is the first one: more than one for one. The next chapter shows why.
And since then? From 2009 to 2015 the rule called for a negative interest rate, as low as minus 1.3 percent, but the federal funds rate stopped just above zero. That is the zero lower bound, chapter twelve's subject. In 2021 and 2022 the rule called for much higher rates, much sooner, than the Federal Reserve set. A rule describes a central bank; it does not bind one. But as a description, it is what the model needs.
What it does: Taylor's rule; 1985–2007 (correlation 0.69); the fit; 2009–15 and 2021–22
8Three equations, solvedGraduate2 min
Before solving the model, check that it has one solution. Both variables, inflation and the gap, are free to jump, so by the counting rule of Part twenty-nine, both roots of the system must lie outside the unit circle. Here is the answer for every rule, the response to inflation across the bottom and to the gap up the side. In green, rules that pin down a unique equilibrium. In red, rules that leave many: any inflation people expect can come true. The boundary has a formula: kappa times phi pi minus one, plus one minus beta times phi x, must be positive. In words, the Taylor principle: when inflation rises, raise the nominal rate by more, so that the real rate rises. Taylor's own rule is safely inside. Richard Clarida, Jordi Galí and Mark Gertler estimated the Federal Reserve's response before 1979 and found it below one, and after 1979 above: one account of why the 1970s went wrong and the 1980s right.
Now the responses, with Galí's numbers on the Island: each shock is one point at an annual rate, fading by half each quarter. A monetary tightening: the policy rate rises 0.43 points, the output gap falls 0.28 percent, and inflation falls 0.29 points. Money is not neutral, because prices cannot all adjust at once. A rise in demand: output and inflation both rise, and the rule raises the rate to lean against them. A cost-push shock: inflation rises by 1.4 points while output falls 0.56 percent, because the central bank raises rates against the inflation. Demand shocks move output and inflation together; cost shocks move them apart, and that difference is the next chapter.
What it does: Determinacy over \((\phi_\pi, \phi_x)\); the Taylor principle; Clarida, Galí and Gertler; three impulse responses
Intermission: sticky and flexible prices since 1968Principles and the major
This chapter has no narration to read.
9The natural rate and the divine coincidencePrinciples and the major1 min
The IS curve's benchmark has an old name. In 1898 the Swedish economist Knut Wicksell called it the natural rate of interest: the real rate at which output equals what it would be with flexible prices. Demand shocks move it: optimism raises it, fear lowers it. So the central bank's job, in this model, is to move its rate with the natural rate. Hold the real rate below the natural rate and demand runs ahead of supply; above it, demand falls short. The trouble is that nobody can see the natural rate. It can only be estimated, as Part thirty-one does.
Now a remarkable property of the model. Suppose the central bank holds inflation at exactly its target, whatever it takes. After a demand shock, the output gap stays at zero too: moving the policy rate with the natural rate kills both at once. Olivier Blanchard and Jordi Galí called this the divine coincidence. But after a cost-push shock, holding inflation at target means an output gap of minus 1.96 percent. The coincidence holds only when nothing pushes costs up on its own: no oil shocks, no wage push, no supply chains breaking. When those happen, the central bank must choose, and the next chapter asks how.
What it does: Wicksell; strict inflation targeting after a demand shock (gap 0) and a cost-push shock (gap −1.96%)
10Optimal policy: discretion and commitmentGraduate3 min
To ask what the best policy is, first ask why inflation is costly in this model. With Calvo pricing, inflation means some prices were set recently and some long ago, so relative prices spread out. Goods that cost the same to make sell at different prices, and people buy the wrong mix of them. Michael Woodford derived the welfare loss from the household's own utility: a sum of squared inflation and squared output gaps, with a weight of kappa over epsilon on the gap. On the Island that weight is 0.021: a point of inflation costs as much as several points of output gap, because of all the price dispersion it causes.
Now a cost-push shock of one point, fading by half each quarter, and two ways to respond. Under discretion, the central bank does what is best each quarter, taking expectations as given. It splits the pain: inflation rises 0.79 points and output falls, both fading with the shock. Under commitment, it promises to keep output a little low even after the shock has gone. Because Calvo's firms look ahead, that promise lowers inflation immediately: 0.54 on impact instead of 0.79, then slightly below zero for a while. The loss falls from 0.091 to 0.057, about a third less. The promise does the work, but it is only worth anything if it is believed, and it is tempting to break later: Part twenty-eight's time inconsistency again.
The clearest difference is in the price level. Under discretion, the price level ends 0.39 percent higher and stays there: bygones are bygones. Under commitment, the brief deflation after the shock brings the price level back to where it started. So the best policy looks like targeting the price level, making up for past inflation, and that is what makes people expect lower inflation today. The Federal Reserve's move in 2020 to average inflation targeting, making up for past shortfalls, borrowed this idea, as Part thirty-one explains.
What it does: Price dispersion and Woodford's loss (weight 0.021); discretion against commitment; the price level
11Menu costs and the selection effectResearch2 min
Calvo's fairy has a hidden cost. It picks firms at random. With a real menu cost, a firm reprices when its price has drifted far enough from where it should be. After a rise in the money supply, the firms that reprice are the ones furthest below their best price, so the price changes that happen are large ones, and they do most of the adjusting. Mikhail Golosov and Robert Lucas called this the selection effect, in 2007. It can make money far less powerful than Calvo's model says, even with the same number of price changes.
Here is a race between the two, on the Island, with 20,000 firms whose best prices drift randomly from month to month. In both economies a tenth of firms reprice in a normal month. Then money rises by 5 percent. Under Calvo, prices follow slowly: half of the rise has passed into prices after 7 months. Under menu costs, the firms that were already close to repricing jump at once, and half has passed through within the first month. Measured as output, or real money, lost along the way, Calvo gives 42 percent-months, menu costs 6. The frequency of price changes is not enough to know how much money matters; which prices change matters too. Later work, with sales and multi-product firms, restores much of the effect, and the size of the selection effect is still argued.
What it does: Golosov and Lucas; 20,000 firms: half passed through after 1 month against 7; 5.6 against 42 percent-months of output
12The zero lower bound and forward guidanceResearch3 min
Suppose fear grips the Island and the natural rate of interest falls to minus two percent for six quarters. The central bank should cut its rate below zero, but it cannot: people would hold cash instead. Its rate sits at zero. Output falls 5.7 percent below its natural level, and prices fall at 7.9 percent a year. Falling prices make the real interest rate higher, which deepens the slump: the liquidity trap of Part twenty-seven, now with expectations. Gauti Eggertsson and Michael Woodford worked out this case in 2003, and the numbers in the model are far larger than anything seen in 2009, which is itself a puzzle.
What can a central bank do at zero? It can talk. Promise to keep the rate at zero for a while after the natural rate has recovered, when the economy would otherwise call for higher rates. That future stimulus raises expected output and inflation, and pulls the economy up today. In the model the effect is enormous. With no promise, output is 5.7 percent below normal. Promise one extra quarter at zero, and the slump almost disappears: minus 0.7 percent. Two quarters, and it becomes a boom of 6.3 percent; three, 16 percent. No central bank has ever seen a promise work like that.
Too good to be true? Ask the model a cleaner question: promise to cut the rate by one point for one quarter, h quarters from now. A cut one quarter ahead raises today's output by 0.28 percent. A cut promised three years ahead raises it by 10 percent, with inflation up 17 points: the further away the promise, the bigger its effect today, because every quarter in between passes the stimulus back. Marco Del Negro, Marc Giannoni and Christina Patterson called this the forward guidance puzzle. Real promises are not that powerful. The repairs give households reasons not to look so far ahead: borrowing limits and income risk, as Alisdair McKay, Emi Nakamura and Jón Steinsson showed, or limited attention to distant news, as Xavier Gabaix proposed.
What it does: The trap; promises of 1, 2 and 3 extra quarters; the puzzle (+0.28% at one quarter, +10% at twelve); the repairs
13Medium-scale models: what each friction buysResearch2 min
The three-equation model has a problem with timing. After a monetary tightening, its output falls most in the very first quarter, then recovers. In the data, as Part thirty-one will measure, output's response builds for a year or more before it turns: a hump. Add three frictions to the Island: households whose consumption habits make them slow to change spending, firms that index unchanged prices to past inflation, and a central bank that moves its rate gradually. The response now builds, with the trough 2 quarters after the shock. Each friction is there to buy a feature of the data.
This is how the models central banks use were built. Lawrence Christiano, Martin Eichenbaum and Charles Evans in 2005, and Frank Smets and Raf Wouters in 2007, each added frictions to buy features of the data. Habits give the hump in spending. Sticky wages, with Calvo's fairy visiting workers too, keep inflation persistent. Indexation makes prices carry past inflation forward. Costs of adjusting investment give the hump in investment. Variable utilization lets output rise before capital does. And Smets and Wouters let seven shocks drive the economy, and estimated the whole model on American data. The critics ask whether each friction describes how people behave, or only repairs a fit.
What it does: The hump; Christiano, Eichenbaum and Evans; Smets and Wouters; what each friction buys
14The Dials: how often prices changeResearch1 min
This part's new dial is the frequency of price changes: the share of prices that change in a month. Bils and Klenow's median duration of four point three months corresponds to about a fifth of prices changing each month. Nakamura and Steinsson find much the same when sales count, about nineteen to twenty percent. Without sales, nine to twelve percent. And the Island's Calvo calibration, prices lasting nine months on average, means about thirteen percent. The status: settled within a range, between about one in ten and one in five. Which end belongs in a model depends on whether temporary sales matter for money, and the evidence says they matter less than their number suggests.
What it does: The frequency of price changes (settled within a range): 0.21, 0.195, 0.105 and the Island's 0.126
15In practice: policy simulations at central banksPractice2 min
One of the series' facts gets its theory here. In the data, as Part thirty-one will measure, output's response to a monetary tightening is hump-shaped and peaks after a year or more. The theory: habits, indexation and gradual policy spread the effect out over time. On the Island, adding them moves the trough from the moment of the shock to 2 quarters later: in the right direction, though still sooner than in the data.
Inside a central bank, the staff use these models in a few standard ways. Scenarios: what happens if oil prices jump, or if the natural rate is lower than we think? Alternative paths for the policy rate: faster, slower, following a rule, or chosen to minimize the loss. And story-telling: which shocks explain this year's forecast errors? Always alongside judgement and simpler forecasting models, never instead of them. The model's real job is to make the story add up, and to make every assumption visible.
And a forecast about the zero bound. Called it? In November 2002, Ben Bernanke, then a governor of the Federal Reserve, said that the central bank, with the rest of the government, had enough instruments to make sure that any deflation in America would be mild and brief. Six years later the federal funds rate hit zero and stayed there for seven years. Consumer prices fell over twelve months in 2009 and briefly in 2015, by at most two percent, while core inflation never went below zero. But core inflation also stayed below the two percent target most of the following decade. Right, about deflation.
What it does: The hump Fact; what central bank staff do with the model; Called it? on Bernanke (2002)
16Frontier: the model after 2021Research1 min
The surge of 2021 to 2023 tested this model hard. Here is what it had to learn. Flexible prices moved first, up 19 percent by February 2022, and sticky prices followed, peaking at 6.5 percent that December. When many firms reprice at once, as they did, a fairy who visits a fixed share each quarter is wrong; pricing that depends on the state of the economy fits better. The Phillips curve may steepen when labour markets are very tight, Benigno and Eggertsson's bent curve from Part twenty-eight. Supply shocks travelled through networks of firms, not as one cost-push term. And long-run expectations stayed anchored, mostly, which helped inflation fall without a recession.
The open questions follow. Is the frequency of price changes a constant, or a choice that rises when inflation does? How much does monetary policy work through people's incomes rather than through interest rates, as models with many households suggest? What does forward guidance really do, once the puzzle is fixed? And can models with many households and many firms be solved and estimated? The research tier of this series takes them up.
What it does: The surge of 2021–23 and what the model had to learn; open questions
Recap, problems, and the road aheadAll tracks3 min
So: why does money move the real economy, and what is the best a central bank can do? Because many prices are set for months at a time, and leaving a price alone costs the seller little but the economy a lot, a change in money or interest rates moves spending and output before it moves prices. The best a central bank can do is move its rate with the natural rate, more than one for one with inflation, and commit to a path people believe. When its rate hits zero, promises are what it has left, and they are weaker in reality than in the model.
Part thirty in twelve lines. The price collectors record a hundred thousand prices a month, and Bils and Klenow counted how often they change. You guessed the median life of a price: four months with sales, eight to eleven without. Magazines, surveys and the records agree that many prices stick, and sticky prices carry inflation's trend. Menu costs explain why: a small error costs the seller little and the economy a lot. A firm with a markup sells what is demanded at its stuck price. Calvo's fairy gives the New Keynesian Phillips curve; the Euler equation gives the IS curve; Taylor's rule closes the model, and the Taylor principle makes its solution unique. Demand shocks can be offset completely, cost shocks cannot. Commitment beats discretion and brings the price level back. Menu costs with selection make money weaker than Calvo says. And at the zero bound, forward guidance works in the model far better than in life, and frictions give the hump.
The problems. Calvo's durations; Bo's fare and Mankiw's second-order loss; the Phillips curve solved forward; the Taylor principle; a monetary shock by undetermined coefficients; the divine coincidence; discretion; and a starred problem on the forward guidance puzzle. Full solutions are in the part's notes.
The reading: Jordi Galí's textbook, which this part follows; Michael Woodford's Interest and Prices, the treatise behind it; Romer's chapters on nominal rigidity and policy; and Carl Walsh's Monetary Theory and Policy. Then the papers, from Calvo to the forward guidance puzzle.
This part built the model central banks think with. The next looks at what they actually do. On the twenty-sixth of July 2012, with Spanish and Italian borrowing costs at levels that threatened the euro, Mario Draghi added a sentence to a speech in London: the European Central Bank would do whatever it takes, and believe me, it will be enough. The programme he announced was never used. Part thirty-one: the central bank. What does a central bank actually do, and how do we know what it achieves?
Where it goes next. Part 31 turns to what central banks actually do and how their effects are measured; Part 52 gives the model many households; Part 55 estimates it.
Key results
The part's results in one place, for revision.
Try it
Lab 30 · Sticky prices: the New Keynesian model, built and solved
Compute the private and social cost of a sticky price; derive the slope of the New Keynesian Phillips curve from Calvo's theta; fit Taylor's rule; check determinacy over policy rules; solve the three-equation model for three shocks; compare discretion and commitment; race Calvo against menu costs with simulated firms; and put the economy in a liquidity trap and get it out with promises.
python -m videos.economics.labs 30
needs numpy, scipy, matplotlib · download lab30.py ·
source on GitHuba fare 1% too high: profit lost, sales lost 0.14%, 5.8% (40 to 1)
a fare 2% too high: profit lost, sales lost 0.56%, 11.3% (20 to 1)
a fare 5% too high: profit lost, sales lost 3.13%, 25.9% (8 to 1)
a fare 10% too high: profit lost, sales lost 10.49%, 45.1% (4 to 1)
Calvo theta 0.50: mean life (months), monthly frequency, kappa 6.0, 0.206, 0.379
Calvo theta 0.67: mean life (months), monthly frequency, kappa 9.0, 0.126, 0.128
Calvo theta 0.75: mean life (months), monthly frequency, kappa 12.0, 0.091, 0.064
Taylor's rule fitted, 1987-2005: constant, inflation, gap 1.47, 1.34, 0.94
phi_pi = 0.8: unique equilibrium? False (roots 0.927, 1.337)
phi_pi = 0.99: unique equilibrium? False (roots 1.000, 1.264)
phi_pi = 1.01: unique equilibrium? True (roots 1.010, 1.254)
phi_pi = 1.5: unique equilibrium? True (roots 1.153, 1.153)
a monetary shock on impact: gap, inflation, policy rate -0.285%, -0.288, +0.426
a demand shock on impact: gap, inflation, policy rate +0.285%, +0.288, +0.574
a cost shock on impact: gap, inflation, policy rate -0.564%, +1.410, +1.834
a cost-push shock: loss under discretion and commitment; the price level at the end 0.0909, 0.0575; 0.394% and 0.000%
money up 5%: share passed into prices after 1, 3 and 6 months, Calvo 8%, 24%, 44%
the same, menu costs 55%, 85%, 96%
the trap with 0 extra quarters at zero: gap and inflation on impact -5.70%, -7.87
the trap with 1 extra quarters at zero: gap and inflation on impact -0.71%, +0.38
the trap with 2 extra quarters at zero: gap and inflation on impact +6.34%, +12.15
the trap with 3 extra quarters at zero: gap and inflation on impact +16.33%, +28.90
habits, indexation and smoothing: the trough of output after a tightening quarter 2, -0.233%
A price error costs its setter a second-order amount and the economy a first-order one, so small menu costs can make money matter. Calvo's theta sets the Phillips curve's slope; the Federal Reserve of the Greenspan years responded more than one for one to inflation, which is what makes the model's equilibrium unique. Demand shocks can be offset completely, cost shocks cannot; commitment beats discretion by bringing the price level back. Menu costs with idiosyncratic shocks pass money into prices far faster than Calvo at the same frequency. At the zero bound, promises are enormously powerful in the model, which is the forward-guidance puzzle.
The code (121 lines; it asserts its own result)
"""Lab 30: sticky prices: Mankiw's menu-cost arithmetic, Calvo's slope, the Taylor rule on FRED's data, determinacy and
the Taylor principle, impulse responses of the three-equation model, discretion against commitment, the selection
effect among simulated price setters, the zero lower bound with forward guidance, and the hump with habits and
indexation."""
import numpy as np
from videos.coursekit import labs
from explainer.economics import data
from explainer.economics.agora import nk
from explainer.economics.island import truths
TITLE = "Sticky prices: the New Keynesian model, built and solved"
GOAL = ("Compute the private and social cost of a sticky price; derive the slope of the New Keynesian Phillips curve "
"from Calvo's theta; fit Taylor's rule; check determinacy over policy rules; solve the three-equation model "
"for three shocks; compare discretion and commitment; race Calvo against menu costs with simulated firms; and "
"put the economy in a liquidity trap and get it out with promises.")
TASKS = [
"Menu costs: with an elasticity of 3 instead of 6, how much profit does a 5% error cost, and how many sales?",
"Determinacy: with phi_x = 0.5, what is the smallest phi_pi that gives a unique equilibrium, and why below one?",
"Selection: double the idiosyncratic drift of firms' best prices. Does the menu-cost economy get closer to "
"Calvo's or further away?",
]
def run(seed=0):
lab = labs.Lab()
T = truths(30)
p = T["nk"]
kw = {k: p[k] for k in ("beta", "sigma", "phi", "alpha", "eps", "theta", "phi_pi", "phi_x")}
m = nk.menu_cost(T["menu"]["eps"], T["menu"]["gaps"])
assert m["rows"][0]["ratio"] > 10, "a price error should cost the economy far more than the seller"
for r in m["rows"]:
lab.row(f"a fare {100 * r['gap']:.0f}% too high: profit lost, sales lost",
f"{100 * r['profit_loss']:.2f}%, {100 * r['output_loss']:.1f}% ({r['ratio']:.0f} to 1)")
for th in (0.5, 2 / 3, 0.75):
k = nk.kappa(th, p["beta"], p["sigma"], p["phi"], p["alpha"], p["eps"])
d = nk.calvo_durations(th)
lab.row(f"Calvo theta {th:.2f}: mean life (months), monthly frequency, kappa",
f"{d['mean_months']:.1f}, {d['monthly_frequency']:.3f}, {k:.3f}")
D, Y, P = (dict((x, v) for x, v in zip(data.fred(k)["date"], data.fred(k)["value"]) if np.isfinite(v))
for k in ("GDPDEF", "GDPC1", "GDPPOT"))
F = data.fred("FEDFUNDS")
ff: dict = {}
for x, v in zip(F["date"], F["value"]):
if np.isfinite(v):
ff.setdefault(f"{x[:4]}-{3 * ((int(x[5:7]) - 1) // 3) + 1:02d}-01", []).append(v)
rows = []
for d in sorted(D):
prev = f"{int(d[:4]) - 1}{d[4:]}"
if prev in D and d in Y and d in P and d in ff and "1987-07-01" <= d <= "2005-10-01":
pi = 100 * (D[d] / D[prev] - 1)
rows.append((pi, 100 * (Y[d] / P[d] - 1), float(np.mean(ff[d]))))
R = np.array(rows)
X = np.column_stack([np.ones(len(R)), R[:, 0], R[:, 1]])
b, *_ = np.linalg.lstsq(X, R[:, 2], rcond=None)
lab.row("Taylor's rule fitted, 1987-2005: constant, inflation, gap", f"{b[0]:.2f}, {b[1]:.2f}, {b[2]:.2f}")
k = nk.kappa(p["theta"], p["beta"], p["sigma"], p["phi"], p["alpha"], p["eps"])
for fp in (0.8, 0.99, 1.01, 1.5):
d = nk.determinacy(fp, p["phi_x"], p["beta"], p["sigma"], k)
assert d["unique"] == (fp > 1), "the Taylor principle"
lab.row(f"phi_pi = {fp}: unique equilibrium?", f"{d['unique']} (roots {d['moduli'][0]:.3f}, "
f"{d['moduli'][1]:.3f})")
for s in ("monetary", "demand", "cost"):
r = nk.irf_ar1(s, rho_s=p["rho_shock"], size=p["size"], **kw)
lab.row(f"a {s} shock on impact: gap, inflation, policy rate", f"{r['x'][0]:+.3f}%, {r['pi'][0]:+.3f}, "
f"{r['i'][0]:+.3f}")
o = nk.optimal_policy(rho_u=p["rho_shock"], size=p["size"], **kw)
assert o["loss_c"] < o["loss_d"], "commitment should beat discretion"
lab.row("a cost-push shock: loss under discretion and commitment; the price level at the end",
f"{o['loss_d']:.4f}, {o['loss_c']:.4f}; {o['price_d'][-1]:.3f}% and {o['price_c'][-1]:.3f}%")
S = T["setters"]
c = nk.price_setters("calvo", n=S["n"] // 2, freq=S["freq"], shock=S["shock"], sigma_a=S["sigma_a"],
months=S["months"], seed=S["seed"] + seed)
mm = nk.price_setters("menu", n=S["n"] // 2, freq=S["freq"], shock=S["shock"], sigma_a=S["sigma_a"],
months=S["months"], seed=S["seed"] + seed)
assert mm["pass_through"][0] > c["pass_through"][0], "menu costs should pass money through faster"
lab.row("money up 5%: share passed into prices after 1, 3 and 6 months, Calvo",
", ".join(f"{100 * c['pass_through'][i]:.0f}%" for i in (0, 2, 5)))
lab.row("the same, menu costs", ", ".join(f"{100 * mm['pass_through'][i]:.0f}%" for i in (0, 2, 5)))
Z = T["zlb"]
for e in Z["extras"]:
z = nk.zlb(T=Z["T"], rn_low=Z["rn_low"], extra=e, **kw)
lab.row(f"the trap with {e} extra quarters at zero: gap and inflation on impact",
f"{z['x'][0]:+.2f}%, {z['pi'][0]:+.2f}")
H = T["hybrid"]
h = nk.hybrid_irf(habit=H["habit"], index=H["index"], smooth=H["smooth"], rho_v=p["rho_shock"], size=p["size"],
**kw)
lab.row("habits, indexation and smoothing: the trough of output after a tightening",
f"quarter {h['peak_x']}, {min(h['x']):.3f}%")
lab.note = ("A price error costs its setter a second-order amount and the economy a first-order one, so small "
"menu costs can make money matter. Calvo's theta sets the Phillips curve's slope; the Federal Reserve "
"of the Greenspan years responded more than one for one to inflation, which is what makes the "
"model's equilibrium unique. Demand shocks can be offset completely, cost shocks cannot; commitment "
"beats discretion by bringing the price level back. Menu costs with idiosyncratic shocks pass money "
"into prices far faster than Calvo at the same frequency. At the zero bound, promises are enormously "
"powerful in the model, which is the forward-guidance puzzle.")
fig, ax = labs.figure(2, size=(11, 4.4))
months = np.arange(1, len(c["pass_through"]) + 1)
ax[0].plot(months, c["pass_through"], color=labs.BLUE, label="Calvo")
ax[0].plot(months, mm["pass_through"], color=labs.ORANGE, label="menu costs")
ax[0].set(title="Money up 5%: pass-through", xlabel="months", ylabel="share")
ax[0].legend()
q = np.arange(len(o["pi_d"]))
ax[1].plot(q, o["pi_d"], color=labs.ORANGE, label="discretion")
ax[1].plot(q, o["pi_c"], color=labs.BLUE, label="commitment")
ax[1].set(title="A cost-push shock: inflation", xlabel="quarters", ylabel="% a year")
ax[1].legend()
lab.fig = fig
return lab
Now change it
- Menu costs: with an elasticity of 3 instead of 6, how much profit does a 5% error cost, and how many sales?
- Determinacy: with phi_x = 0.5, what is the smallest phi_pi that gives a unique equilibrium, and why below one?
- Selection: double the idiosyncratic drift of firms' best prices. Does the menu-cost economy get closer to Calvo's or further away?
Problems, with solutions
Try each problem before opening its solution.
1. Calvo: if a price survives each quarter with probability \(\theta\), show its mean life is \(1/(1-\theta)\) quarters; find \(\theta\) for 9 months.
Solution
A price set now lasts exactly \(k\) quarters with probability \((1-\theta)\theta^{k-1}\), so its mean life is \(\sum_k k(1-\theta)\theta^{k-1} = 1/(1-\theta)\). Nine months is three quarters, so \(1/(1-\theta) = 3\) and \(\theta = 2/3\): a third of prices are reset each quarter, about 13% a month.
2. Bo's fare: with demand \(p^{-\varepsilon}\) and cost 1, show a fare \(g\) too high costs about \(\varepsilon(\varepsilon-1)g^2/2\) of profit and \(\varepsilon g\) of sales.
Solution
Profit is \((p-1)p^{-\varepsilon}\), best at \(p^* = \varepsilon/(\varepsilon-1)\). With \(p = p^*e^{g}\), \(\Pi/\Pi^* = \frac{p^*e^g - 1}{p^* - 1}\,e^{-\varepsilon g}\). Expanding to second order, the first factor is \(1 + \varepsilon g + \varepsilon g^2/2\) (using \(p^*/(p^*-1) = \varepsilon\)) and the second \(1 - \varepsilon g + \varepsilon^2 g^2/2\); their product is \(1 - \varepsilon(\varepsilon-1)g^2/2\). Sales are \(e^{-\varepsilon g} \approx 1 - \varepsilon g\). With \(\varepsilon = 6\) and \(g = 1\%\): 0.15% of profit (exactly 0.14%) and 6% of sales (exactly 5.8%), forty to one.
3. Forward: solve \(\pi_t = \beta \mathbb{E}_t \pi_{t+1} + \kappa x_t\) forward; with \(x_t\) an AR(1) with persistence \(\rho\), show \(\pi_t = \kappa x_t/(1-\beta\rho)\).
Solution
Substitute for \(\mathbb{E}_t\pi_{t+1}\) repeatedly, using the law of iterated expectations: \(\pi_t = \kappa\sum_{k=0}^{K}\beta^k\mathbb{E}_t x_{t+k} + \beta^{K+1}\mathbb{E}_t\pi_{t+K+1}\), and the last term vanishes for a bounded solution. With \(\mathbb{E}_t x_{t+k} = \rho^k x_t\) the sum is \(\kappa x_t/(1-\beta\rho)\): inflation reacts more to a gap expected to last.
4. Determinacy: with \(\phi_x = 0\), show the three-equation model has a unique bounded solution iff \(\phi_\pi > 1\).
Solution
Without shocks, \(\mathbb{E}_t z_{t+1} = Mz_t\) for \(z = (x, \pi)\) with \(M = \begin{pmatrix} 1 + \kappa/(\sigma\beta) & (\phi_\pi - 1/\beta)/\sigma \\ -\kappa/\beta & 1/\beta \end{pmatrix}\). Both variables can jump, so uniqueness needs both roots outside the unit circle: \(\det M > 1\) and \(|\mathrm{tr}\,M| < 1 + \det M\). Here \(\det M = (1 + \kappa\phi_\pi/\sigma)/\beta > 1\), and \(1 + \det M - \mathrm{tr}\,M = \kappa(\phi_\pi - 1)/(\sigma\beta)\), positive exactly when \(\phi_\pi > 1\).
5. A monetary shock: with \(v_t\) an AR(1), find \(x_t\) and \(\pi_t\) by undetermined coefficients.
Solution
Guess \(x_t = \psi_x v_t\), \(\pi_t = \psi_\pi v_t\), so expectations are \(\rho\) times today's values. The Phillips curve gives \(\psi_\pi = \kappa\psi_x/(1-\beta\rho)\); the IS curve with the rule gives \(\sigma(1-\rho)\psi_x = -(\phi_\pi\psi_\pi + \phi_x\psi_x + 1 - \rho\psi_\pi)\). Solving, \(\psi_x = -(1-\beta\rho)\Lambda\) and \(\psi_\pi = -\kappa\Lambda\) with \(\Lambda = 1/[(1-\beta\rho)(\sigma(1-\rho) + \phi_x) + \kappa(\phi_\pi - \rho)]\). On the Island (\(\rho = 0.5\)) \(\Lambda = 2.26\): a shock of 0.25 a quarter lowers the gap 0.285% and annual inflation 0.29 points.
6. The divine coincidence: with \(u_t = 0\), show \(i_t = r^n_t + \phi_\pi \pi_t\) with \(\phi_\pi > 1\) gives \(\pi_t = x_t = 0\).
Solution
Try \(\pi_t = x_t = 0\) for all \(t\). The Phillips curve holds, \(0 = 0\). The IS curve requires \(i_t = \mathbb{E}_t\pi_{t+1} + r^n_t = r^n_t\), which is what the rule delivers when \(\pi_t = 0\). So it is an equilibrium, and by problem 4 the only bounded one. Stabilizing inflation stabilizes the gap too, as long as nothing shifts the Phillips curve on its own.
7. Discretion: minimize \(\pi_t^2 + \vartheta x_t^2\) subject to \(\pi_t = \kappa x_t + v_t\); show \(x_t = -(\kappa/\vartheta)\pi_t\).
Solution
Under discretion the bank takes expectations, folded into \(v_t\), as given, and chooses \(x_t\). Substituting the constraint, the derivative is \(2\pi_t\kappa + 2\vartheta x_t = 0\), so \(x_t = -(\kappa/\vartheta)\pi_t\): lean against inflation by giving up output in proportion. With \(\vartheta = \kappa/\varepsilon\) this is \(x_t = -\varepsilon\pi_t\), the Island's discretionary rule.
8. \(\bigstar\) Forward guidance: with \(\kappa = 0\), show a one-quarter cut promised \(h\) quarters ahead moves \(x_0\) by the same for every \(h\); why does \(\kappa > 0\) make it grow?
Solution
With \(\kappa = 0\) inflation is always zero, and the IS curve is \(x_t = x_{t+1} - (i_t - r^n_t)/\sigma\). After the cut nothing happens, so \(x_{h+1} = 0\) and \(x_h = c/\sigma\) for a cut of \(c\); before it, \(x_t = x_{t+1}\), so \(x_0 = c/\sigma\) whatever \(h\). With \(\kappa > 0\), each quarter of higher output before the cut raises inflation, and expected inflation lowers the real rate in the quarter before, which raises output there, and so on: the further away the cut, the more quarters there are to compound, and the effect grows with \(h\), the forward-guidance puzzle.
Notes and sources
Sources
The studies the film states are listed with what each shows in dials.SHOWN[30]; the frequency of price changes is a
dial (explainer/economics/dials.py); Bernanke's 2002 promise is a Called it? entry (explainer/economics/calls.py).
FRED's series were retrieved on 2026-11-20. The BLS's collection figures are from its Handbook of Methods.
Cecchetti's and Blinder's findings are stated qualitatively; Bils and Klenow's and Nakamura and Steinsson's figures are
from their published abstracts and tables. The model results are the Island's, with Galí's textbook calibration; the
Taylor-rule fit uses today's vintage of the data, not what the Federal Reserve saw at the time.
About this partfrom its README
Part 30 of a sixty-eight-part course in economics (see the series plan and the syllabus), the sixth of Act VI, Money and the Cycle. It asks why money moves the real economy and what the best a central bank can do is. Its answer: because many prices are set for months at a time, and leaving a price alone costs the seller little but the economy a lot, a change in money or interest rates moves spending and output before it moves prices. The best a central bank can do is move its rate with the natural rate, more than one for one with inflation, and commit to a path people believe; when its rate hits zero, promises are what it has left, and they are weaker in reality than in the model.
It opens on the price collectors of the Bureau of Labor Statistics, about 100,000 prices a month from about 23,000 businesses, and on Mark Bils and Peter Klenow, who in 2004 counted how often each price changes. From there it covers:
- a game: how long does the median consumer price last? (4.3 months counting sales; 8–11 months without them);
- the evidence: Cecchetti's magazines, Blinder's survey of 200 firms, the records, and the Atlanta Fed's sticky- and flexible-price CPIs (standard deviations of 1.1 and 1.6 points over 1985–2019; in 2022 flexible prices rose 19%, sticky ones 6.5%);
- menu costs (Mankiw 1985; Akerlof and Yellen 1985) on the Island's ferry: a fare 1% too high costs 0.14% of profit and 5.8% of passengers;
- monopolistic competition and the desired markup (20% with an elasticity of 6), and why a firm sells more at a price it did not choose;
- Calvo's fairy (1983), the reset price, and the New Keynesian Phillips curve derived; its slope, 0.13 on the Island, 0.38 if prices last four months and 0.09 if they last ten;
- the dynamic IS curve from the Euler equation, and the three equations together;
- Taylor's rule (1993) against the federal funds rate: fitted over the Greenspan years, 1.34 on inflation and 0.94 on the gap; −1.3% in 2009–15, when the funds rate stopped at zero;
- determinacy and the Taylor principle drawn over every rule; responses to monetary, demand and cost-push shocks;
- an intermission without narration: sticky- and flexible-price inflation since 1968, the flexible series as a tune;
- Wicksell's natural rate and the divine coincidence (Blanchard and Galí 2007);
- optimal policy: the welfare loss from price dispersion, discretion against commitment (loss 0.091 against 0.058), and the price level that comes back;
- menu costs with idiosyncratic shocks against Calvo, 20,000 firms on the Island: half of a 5% rise in money passed into prices after 1 month against 7 (the selection effect; Golosov and Lucas 2007);
- the zero lower bound (a slump of 5.7% with prices falling 7.9% a year), forward guidance (one extra quarter at zero nearly cancels it; three make a boom of 16%), and the forward-guidance puzzle;
- medium-scale models: habits, indexation and a smoothed rule move the trough two quarters out;
- the frequency-of-price-changes dial (new), the sticky-prices and hump Facts, Called it? on Bernanke's 2002 promise that deflation would be mild and brief (right), and a frontier chapter on the model after 2021.
What is computed and built
Everything plotted is computed by compute.py from Agora's sticky prices (explainer.economics.agora.nk) with the
Island's Part 30 truths, or from the Data Room; the narration states the cached numbers.
- The Island's economy. Galí's (2015, ch. 3) quarterly baseline: \(\beta = 0.99\), \(\sigma = \varphi = 1\), \(\alpha = 1/3\), \(\varepsilon = 6\), \(\theta = 2/3\), so \(\kappa = 0.1275\); the rule \(\phi_\pi = 1.5\), \(\phi_x = 0.125\). Shocks are AR(1) with persistence 0.5 and size one point at an annual rate; responses by undetermined coefficients.
- Determinacy. Both roots of the two-variable system outside the unit circle, on a grid of rules.
- Optimal policy. A cost-push shock; discretion \(x = -\varepsilon\pi\); commitment in the timeless form, with the price level following \(\hat p_t = \delta \hat p_{t-1} + \frac{\delta}{1-\delta\beta\rho}u_t\); losses discounted over twelve quarters with weight \(\kappa/\varepsilon\) on the gap.
- Hybrid model. Habits \(h = 0.9\), indexation \(\gamma = 0.9\) and smoothing 0.8, solved by the ordered QZ decomposition (Klein 2000).
- The zero bound. Perfect foresight: the natural rate at −2% (annualized) for six quarters, then normal; the policy rate at zero through the shock plus any promised quarters, the economy at steady state after; solved backwards. The puzzle: a one-point cut for one quarter, \(h\) quarters ahead.
- Price setters. 20,000 firms whose best prices drift as random walks (4% a month); Calvo with 10% resetting each month against an (S,s) band calibrated so that 10% reset each month; money rises 5% after 120 months.
- Taylor's rule. \(i = 2 + \pi + 0.5(\pi - 2) + 0.5x\) with four-quarter GDP-deflator inflation and the CBO gap, as the data stand today; the federal funds rate as a quarterly average; the fit by least squares over 1987Q3–2005Q4.
Chapter notes
| # | Chapter | What it does |
|---|---|---|
| 0 | Why does money move the real economy? | The price collectors; Bils and Klenow; sticky and flexible inflation since 1968; objectives |
| 1 | Play it: how long does a price last? | A month, four months or a year? 4.3 months (Bils and Klenow); 8–11 without sales (Nakamura and Steinsson) |
| 2 | The evidence on price setting | Cecchetti; Blinder and coauthors (once a year; coordination); the Atlanta Fed's indexes, 1985–2019; the sticky-prices Fact |
| 3 | Why prices stick: menu costs | Bo's fare: profit and passengers against the fare; the table (40, 20, 8 and 4 to 1); Mankiw; Akerlof and Yellen |
| 4 | Monopolistic competition | Demand \(y_i = (P_i/P)^{-\varepsilon}Y\); the markup \(\varepsilon/(\varepsilon-1) = 1.2\); a stuck price and a shrinking markup |
| 5 | Calvo's fairy | A third reset each quarter; the reset price; the NKPC and its forward solution; \(\kappa\) against \(\theta\) |
| 6 | The dynamic IS curve | The Euler equation; the natural rate; the three equations and three shocks |
| 7 | A rule for the central bank | Taylor's rule; 1985–2007 (correlation 0.69); the fit; 2009–15 and 2021–22 |
| 8 | Three equations, solved | Determinacy over \((\phi_\pi, \phi_x)\); the Taylor principle; Clarida, Galí and Gertler; three impulse responses |
| — | Intermission | Sticky- and flexible-price inflation since 1968; the story so far |
| 9 | The natural rate and the divine coincidence | Wicksell; strict inflation targeting after a demand shock (gap 0) and a cost-push shock (gap −1.96%) |
| 10 | Optimal policy | Price dispersion and Woodford's loss (weight 0.021); discretion against commitment; the price level |
| 11 | Menu costs and the selection effect | Golosov and Lucas; 20,000 firms: half passed through after 1 month against 7; 5.6 against 42 percent-months of output |
| 12 | The zero lower bound and forward guidance | The trap; promises of 1, 2 and 3 extra quarters; the puzzle (+0.28% at one quarter, +10% at twelve); the repairs |
| 13 | Medium-scale models | The hump; Christiano, Eichenbaum and Evans; Smets and Wouters; what each friction buys |
| 14 | The Dials | The frequency of price changes (settled within a range): 0.21, 0.195, 0.105 and the Island's 0.126 |
| 15 | In practice | The hump Fact; what central bank staff do with the model; Called it? on Bernanke (2002) |
| 16 | Frontier | The surge of 2021–23 and what the model had to learn; open questions |
| — | Outro | The answer; twelve lines; problems; reading; next, Part 31, The Central Bank |
Notes
python -m videos.economics.labs 30: Mankiw's arithmetic, Calvo's slope, the Taylor rule on FRED's data, determinacy, impulse responses, discretion against commitment, the selection effect with simulated firms, the zero bound and forward guidance, and the hump with habits and indexation.- The interactive (course site): run the three equations. The reader sets the response to inflation, how sticky prices are, and the shock, and watches output, inflation and the policy rate; a response below one makes the model lose its anchor.
Companion material in this repository
The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
- Hook: the price collectors; the question; objectives.
- Play it: guess how long a magazine's cover price, a haircut and a litre of petrol go unchanged.
- The evidence on price setting: Bils and Klenow (2004), Nakamura and Steinsson (2008), sales against regular prices; Cecchetti's magazines; Blinder's survey of firms.
- Why prices stick: menu costs (Mankiw 1985; Akerlof and Yellen 1985): small frictions, large cycles.
- Monopolistic competition from Part 12: the desired markup.
- Calvo's fairy (1983): the price-setting problem; the New Keynesian Phillips curve derived.
- The household's Euler equation as a dynamic IS curve.
- A rule for the central bank: Taylor (1993) fitted to the Greenspan years.
- Three equations solved: determinacy and the Taylor principle; impulse responses to a monetary, a demand and a cost-push shock.
- The natural rate of interest; the divine coincidence, and when it fails.
- Optimal policy: the welfare loss from price dispersion derived; discretion against commitment (Clarida, Galí and Gertler 1999).
- State-dependent pricing (Golosov and Lucas 2007): the selection effect; how much stickiness is left.
- The zero lower bound: the trap, forward guidance and its puzzle (Del Negro, Giannoni and Patterson).
- Medium-scale models: habits, wages, capital, indexation (Christiano, Eichenbaum and Evans 2005; Smets and Wouters 2007); what each friction buys.
- Dials. 15. In practice: policy simulations at central banks. 16. Frontier: the model after 2021; a pointer to Part 52.
Agora: nk: the three-equation model and a medium-scale variant, solved by linearization; optimal policy
under discretion and commitment; the zero bound by a piecewise-linear method. The Island gets sticky prices.
Dials: the frequency of price changes; the slope of the New Keynesian Phillips curve. Facts: most prices
change less than once a quarter; the hump-shaped response.
Reading: Calvo 1983; Mankiw 1985; Taylor 1993; Clarida, Galí & Gertler 1999; Bils & Klenow 2004; Nakamura &
Steinsson 2008; Christiano, Eichenbaum & Evans 2005; Smets & Wouters 2007; Galí chs 2–5; Woodford.
Build the film
python -m videos.economics.econ30.compute # the part's numbers, into .cache/econ30
python tools/build.py econ30 # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py econ30 Hook # one chapter, silent, with a contact sheet
Scenes: videos/economics/econ30. Setup: see the course page. Source of these notes: the README and the scenes' narration.
Build it
python -m videos.economics.econ30.compute # every number (half a minute), into .cache/econ30/
python tools/qa_scene.py econ30 Solved # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py econ30 -q l # the whole part, silent preview
python tools/build.py econ30 # 1080p30 with narration and the series' computed score
python -m videos.economics.labs 30 # the lab
The data are in explainer/economics/data/, registered in
SOURCES.md: from FRED, the federal funds rate, the GDP deflator, real
GDP and the CBO's potential, the core PCE price index, the CPI, and the Atlanta Fed's sticky- and flexible-price CPIs
less food and energy.