learn-economics-with-phoebe / Foundations session 2 of 6
Learn Economics with Phoebe · Foundations session 2 of 6

Incentives and elasticity

Foundations session 1 ended with a count: of 32,216 products on a real marketplace, 203 moved their price often enough, over enough months, to say anything about how buyers answered. Tonight puts a number on the answer. Elasticity is the plainest question in economics, "if the price goes up 1 percent, how much less do people buy", and it is the number underneath every pricing decision, every tax, every discount and every "our customers are price-sensitive" sentence anyone has ever said in a meeting. The 203 products give an answer, and the honest shape of that answer is a range: between -1.5 and -2.2 depending on how the rows are weighted and filtered, about -1.8 at the default. The session is about what that means, what it lets you predict, and what it cannot say.

🟢 Foundations Leaders, product and data teams, anyone who prices anything No code 45 min
0-3 · Welcome 3-18 · Response, revenue, and who pays a tax 18-40 · Build-along: read the Olist number as an elasticity 40-45 · Q&A
Part 0

Where we start

Every incentive works through the same question: when the cost of something changes, how much do people change what they do? Raise the price of a thing and people buy less of it; the whole of economics is in the words "how much less". A product where buyers barely move is called inelastic and a product where they walk away is called elastic, and which one you are holding decides whether a price rise makes you money or loses it. Nobody can tell from the product's name. You have to measure it, and measuring it well is harder than it looks, which is why the 203 Olist products get a range tonight rather than a decimal.

🎫 Clear all three quiz questions to stamp your passport Live = presented in the 45 minutes Self-study = the full depth, after class ★ Build-along = everyone works it through

★ What you walk out with tonight. The ability to say what an elasticity of -1.8 means in one plain sentence, the revenue rule that tells you which way a price change moves the top line, the reason a tax on sellers can land on buyers, and a worked reading of a real number: on 203 marketplace products, each compared with itself across 21 months, a 10 percent price rise goes with about 15.7 percent fewer units and about 7.2 percent less revenue, under a constant-elasticity assumption. Plus the sentence that puts a range, not a point, in front of a leader.

Part 1 · covers elasticity, elastic vs inelastic, the revenue rule

How much do people respond

6 min live

Elasticity is a ratio of two percentages: the percent change in units bought, divided by the percent change in price that caused it. A demand elasticity of -2 says a 1 percent higher price goes with 2 percent fewer units. A demand elasticity of -0.3 says the same 1 percent costs only 0.3 percent of units. The dividing line is -1, where units fall exactly as fast as price rises, and that line matters because it is where revenue stops going up and starts going down.

INELASTIC: STEEP, BUYERS BARELY MOVE a price rise gains a wide strip and loses a thin one ELASTIC: FLAT, BUYERS WALK AWAY the same price rise loses a wide strip and gains a thin one PRICE UNITS P1 P0 Q1 Q0 gained a thin strip lost demand revenue goes up +10% same rise PRICE UNITS P1 P0 Q1 Q0 gained lost demand revenue goes down Same rise. Left gains more than it loses. Right loses more than it gains. Olist within product is the right panel.
🔍 Click to zoom - the two strips are the whole revenue rule; which one is wider is what elasticity measures
LiveOne ratio, one dividing line, and the revenue rule4 min▶

The ratio. Percent change in units over percent change in price. It is negative for almost everything, because people buy less of what got dearer, and the minus sign is usually said out loud rather than dropped: "minus one point eight". The size is what matters. Below 1 in absolute value is inelastic: buyers barely move, because they need the thing, have no substitute, or spend so little on it that they do not notice. Above 1 is elastic: buyers walk away, because a substitute is one click over, or the thing is a luxury, or the price is a big part of their budget.

The revenue rule. Revenue is price times units. Raise the price and one goes up while the other goes down; which one wins is the whole question. On an inelastic product, units fall by less than the price rose, so revenue rises. On an elastic product, units fall by more than the price rose, so revenue falls. At exactly -1 the two cancel and revenue does not move. The figure draws it: the amber strip is what the higher price gains on the units you kept, the hatched strip is what you lost on the units that left, and elasticity is the ratio of their widths.

With the real number. On the 203 Olist products, each compared with itself month by month, the default answer is about -1.8. Under a constant-elasticity assumption, a 10 percent price rise goes with 15.7 percent fewer units and 7.2 percent less revenue. Had the answer been the pooled -0.108, the same rise would go with 1.0 percent fewer units and 8.9 percent more revenue. Same rows, opposite sign on the revenue line, and the difference is only whether a product was compared with itself or with other products. Deep-dive session 2 shows exactly how that happens; tonight the point is that the revenue rule flips at -1, and the honest number sits well past it.

Self-studyWhy elasticity is not a property of the product3 min▶

The same product can be elastic in one setting and inelastic in another, and the settings are the interesting part. Substitutes: one brand of bed linen on a marketplace with fifty brands is elastic; bed linen as a category is not. Time: people cannot change their commute the week petrol rises, but they can change their car over three years, so the long-run response is bigger than the short-run one. The gasoline meta-analysis by Havranek, Irsova and Janda 2012 in Energy Economics, as reported, puts the short-run figure at about -0.09 and the long-run at about -0.31 after correcting for publication bias: both inelastic, and the long run three times the short. Share of budget: a 10 percent rise on a R$ 3 item is not noticed; on a R$ 3,000 item it is a family conversation. The scope of the price change: raising your price alone is elastic; the whole market raising together is not, because buyers have nowhere to go.

The data habit: never quote an elasticity without saying what it is an elasticity of. "Demand for our product is elastic" means nothing until you add "against the other sellers on the platform, over a month, for the 203 products that moved". The number is always attached to a scope, and the scope is often the part a leader most needs to hear.

Real world

Food, as collected across published studies. Andreyeva, Long and Brownell 2010, in the American Journal of Public Health, collected published price elasticities for US food categories. In absolute value, food away from home came out at 0.81, soft drinks at 0.79, and eggs at 0.27. Read them with the revenue rule in hand: a tax on soft drinks, close to but under 1, cuts units almost as fast as it raises the price, which is exactly why public health people like it and drinks companies do not. Eggs at 0.27 barely respond, because there is no substitute for an egg in a recipe that calls for one. None of those numbers transfer to a Brazilian marketplace, and the point of quoting them is the spread: the same word, elasticity, covers a factor of three inside one supermarket.

Part 2 · covers tax incidence

Who really pays a tax

5 min live

A government puts a tax on sellers. The law says the seller pays it. The market says something else: the seller raises the price, the buyer pays part of the tax in the higher price, and the seller absorbs the rest in a lower take. How the tax splits has nothing to do with who writes the cheque and everything to do with elasticities. The side that can walk away pays less. The side that cannot pays more. This is the cleanest demonstration that an incentive lands where behaviour lets it land, not where a rule points it.

BUYERS CANNOT SWITCH: STEEP DEMAND the tax lands mostly on the buyer, whoever writes the cheque BUYERS CAN SWITCH: FLAT DEMAND the seller eats most of it, to stop buyers walking TAX PRICE UNITS buyers pay sellers keep demand supply the tax no-tax price buyers bear most of the wedge PRICE UNITS buyers pay sellers keep demand supply the tax no-tax price sellers bear most of the wedge Same wedge, same law. The split follows the slopes: whoever can walk away pays less of it.
🔍 Click to zoom - the wedge is the same height in both panels; where it sits relative to the old price is decided by the two slopes
LiveThe wedge, and why the law's name for the payer does not matter3 min▶

Put a tax of a fixed amount per unit between buyer and seller. Whatever the buyer pays, the seller now receives that minus the tax. On the picture that is a vertical wedge inserted between the demand curve and the supply curve: the top of the wedge is what buyers pay, the bottom is what sellers keep, and the wedge slides left along the two curves until its height equals the tax. Fewer units are sold than before, and the old price sits somewhere inside the wedge.

Where it sits is the whole story. If demand is steep, meaning buyers cannot easily switch, the wedge pokes mostly upward: buyers pay most of the tax in a higher price and sellers keep nearly what they kept. If demand is flat, meaning buyers can switch, the wedge pokes mostly downward: the seller cannot pass much on without losing the sale, so the seller keeps less and bears most of it. The same logic runs on the supply side: a seller who can easily stop supplying bears little, a seller who cannot bears a lot.

And it does not matter which side the law names. A tax "on sellers" and a tax "on buyers" of the same size produce the same wedge, the same units, the same buyer price and the same seller take. The law decides who fills in the form. The elasticities decide who is poorer. That is why a "tax on platforms" ends up in seller fees, why a "fee on sellers" ends up in shelf prices, and why the person who can walk away is always the person who pays least.

Self-studyDeadweight, and the same wedge in a platform's take rate3 min▶

The units that stop being sold because of the wedge are not a transfer to anyone. The buyer who would have paid a bit more than the seller needed, but not the seller's price plus the tax, simply does not buy, and both sides lose the surplus that trade would have created. Economists call that the deadweight loss of the tax, and it is larger when both curves are flat, because more trades sit close to the line. A tax on something people cannot avoid raises money with little deadweight; a tax on something people can easily skip raises less and destroys more.

The same picture describes any wedge, not only a government's. A marketplace commission is a wedge between what a buyer pays and what a seller keeps. A payment fee is a wedge. A delivery surcharge is a wedge. In each case the question "who really pays the commission" has the same answer as the tax: the side that can walk away pays less. A seller who can list elsewhere passes the commission on; a seller who cannot absorbs it. Whether the platform sets a "seller fee" or a "buyer fee" is a labelling choice, and the market re-labels it.

Real world

Beira Goods, a constructed seller, meets a commission rise. Suppose the marketplace Beira sells on raises its take from 10 to 12 percent of each sale, "charged to sellers". Beira has 40 products. On the ones where buyers have fifty near-identical rivals one click away, Beira cannot raise the shelf price without losing the sale, so Beira keeps 2 percent less per unit and eats the rise. On the two products Beira makes itself, with no close substitute on the platform, Beira raises the price and the buyer pays nearly the whole 2 points. Same rule, same seller, opposite incidence, and the only thing that differed was how easily the buyer could walk. Beira is invented; every number here is illustrative.

Part 3 · covers the log-log line, the two-scope statement

Reading a slope as an elasticity

4 min live

If you plot the logarithm of units against the logarithm of price, the slope of the line through the points is the elasticity. That single trick is why elasticities are estimated rather than guessed: a straight line has a slope, a slope is one number, and the logarithm turns "percent change against percent change" into "rise over run". The 203 Olist products give 2,216 product-months to plot, and the line through them, when each product is compared only with itself, has a slope of about -1.8.

ONE PRODUCT COMPARED WITH ITSELF, MONTH BY MONTH each dot is one month; the slope of the line is the elasticity LOG UNITS LOG PRICE +1 in log price -1.8 in log units low price, many units high price, few units READ THE SLOPE slope of the log-log line = elasticity 1 percent higher price goes with about 1.8 percent fewer units, for the same product, in its own months. -1.8 is one line through 2,216 rows, 203 products, 21 months. One product alone: too few dots. The panel is the unit. Deep-dive session 1 fits it. Dots are hand-placed to show the shape. The real 2,216 rows and the fitted -1.788 live in the deep-dive track.
🔍 Click to zoom - the triangle is the definition: one step right in log price, 1.8 steps down in log units
LiveThe two-scope statement, and why a range is the honest shape4 min▶

Fit the line five reasonable ways and you get five numbers. Compare each product with itself and the slope is -1.788. Add month effects so that the marketplace's growth is removed too: -1.854. Weight each month by how many units it sold, so big months count more: -2.216. Drop the months where only a single unit sold: -1.480. Include freight in the price: -1.881. None of these is wrong. Each is a defensible choice about which rows to trust and how much, and a person who reports only one of them is hiding the other four.

So the statement that survives is in two scopes. The range: on these rows, the within-product elasticity is between -1.5 and -2.2 depending on the weighting and the row filter. The default: about -1.8. And the two things it is not: it is not -0.1, which is what you get by pooling all the products together without comparing each with itself, and it is not zero, which is what a shuffled placebo gives (mean -0.002 across 200 draws, standard deviation 0.159). The real slope sits more than 11 placebo standard deviations from zero. The range is wide; the sign and the size are not in doubt.

Publishing a range is not weakness. It is the only shape that lets a reader see how much the answer depends on choices you made, and it is the shape that stops the next person from quoting "-1.788" as if the third decimal meant something.

Self-studyCross-price, income, and Marshall's chapter3 min▶

Two cousins of the price elasticity earn their keep. Cross-price elasticity is the percent change in units of one thing when the price of another thing changes. Positive means substitutes (dearer coffee, more tea); negative means complements (dearer printers, fewer cartridges). It is the number behind every "if we raise the price of A, what happens to B" question, and on a marketplace it is the number that says whether two sellers are really competing. Income elasticity is the percent change in units when income changes: above 1 for luxuries, between 0 and 1 for necessities, below 0 for the things people buy less of as they get richer. It is why a recession hits some categories and leaves others alone.

The word itself was formalised by Alfred Marshall in Principles of Economics, 1890, Book III, chapter IV, where he sets out "elasticity of demand" as the ratio of proportional changes and works through how it varies with price and with the wealth of the buyer. Earlier writers had the idea in pieces; Marshall gave it the name and the ratio. It is a short chapter, and reading it is a good way to notice that the questions have not changed since 1890, only the data available to answer them.

Build-along

Read the Olist number as an elasticity, on paper

★ 22 min · everyone works it through

No code tonight. Six worksheet steps that take the number the deep-dive track computes, -1.788 on 203 products compared with themselves, and turn it into a sentence a leader can act on. Every figure below is from the same computation described in Foundations session 1; the deep-dive track's second session shows the fit line by line. Work each step for one of your own products alongside.

THE OLIST NUMBER, READ AS AN ELASTICITY 203 products, each compared with itself, 2,216 product-months, 21 months ELASTIC SIDE: A PRICE RISE LOSES REVENUE INELASTIC SIDE: A RISE GAINS -1.8 default -2.5 -2.2 -1.5 -1 unit elastic -0.5 0 -0.108: pooled, compares products the range, depending on weighting and filter Weighted by units: -2.216. Single-unit months dropped: -1.480. Freight included: -1.881. Month effects added: -1.854. Publish the range, not a decimal. A within-product association with a placebo behind it, not a causal number.
🔍 Click to zoom - every defensible fit lands inside the amber bar and all of them sit on the elastic side of -1

Step 1 · Say what -1.8 means in words. Not "the elasticity is minus one point eight" but the sentence a person who has never heard the word can act on. Write it out; then write it for one of your own products with a number you actually hold, or with "unknown" if you do not.

★ Step 1 · the plain sentence"For the same product, in the months when its price was 1 percent higher, it sold about 1.8 percent fewer units." Your product: "For ________, when its price was 1 percent higher, it sold about ___ percent fewer units." (write "unknown" if you have never measured it; that is the honest answer)

Step 2 · Apply the revenue rule. -1.8 is past -1, so a price rise loses revenue. Fill in the arithmetic for a 10 percent rise under a constant-elasticity assumption, using the modelled figures, then say which side of -1 your own number sits on.

★ Step 2 · the revenue rule appliedelasticity used units for +10 percent price revenue pooled, -0.108 about -1.0 percent about +8.9 percent within product, -1.788 about -15.7 percent about -7.2 percent with month effects, -1.854 about -16.2 percent about -7.8 percent (modelled: constant elasticity; the third row is the second with the marketplace's growth removed) Your product sits on the: [ elastic side, a rise loses ] [ inelastic side, a rise gains ] [ unknown ]

Step 3 · Write the range, not the decimal. Five defensible fits give five numbers between -1.480 and -2.216. Copy the range statement and then name, for your own number, the two choices that would most widen it (which rows count, and how much each counts).

★ Step 3 · the range"Between -1.5 and -2.2 depending on the weighting and the row filter; about -1.8 at the default." The five fits: -1.788 (each product vs itself) -1.854 (+ month effects) -2.216 (weighted by units) -1.480 (single-unit months dropped) -1.881 (freight in the price) Your number would widen most if you changed: 1. ______________________ 2. ______________________

Step 4 · Say what it cannot say. The panel is observational. A seller cuts price when stock is high or a rival moves; a product's last months often show a price rise and a stock-out together. Comparing each product with itself removes "this product is cheap and popular"; month effects remove "the marketplace grew"; neither removes "the seller chose the price after seeing demand". Write the caveat in one line, and the same line for your own number.

★ Step 4 · what it cannot say"It is a within-product association with a placebo behind it (placebo mean -0.002, sd 0.159), not a causal elasticity: the seller chose the price after seeing demand." What it IS NOT: -0.108 (pooled: compares cheap products with popular ones) zero (the shuffled placebo) Your caveat: "Our number is ____________ , not ____________ , because ____________________________."

Step 5 · The sentence for a leader. One sentence, four parts: the range, the default, the prediction under the revenue rule, the caveat. Practise it out loud; it takes about fifteen seconds and it is the version that survives a hard question.

★ Step 5 · the sentence"On the 203 products we can read, each compared with itself, a 1 percent price rise goes with between 1.5 and 2.2 percent fewer units, about 1.8 at our default; so a 10 percent rise across them would cost about 7 percent of revenue, under a constant-elasticity assumption; and because sellers chose those prices, it is an association we have tested against a placebo, not an experiment." Now yours, same four parts: range ______ default ______ revenue prediction ______ caveat ______

Step 6 · Apply it to one product you own. Pick one product and answer the three sieves from Foundations session 1 first (enough sales, enough price changes, enough months). If it passes all three, write the plan to measure it. If it fails any, write what you would need before an elasticity is even possible, and what you will say in the meantime.

★ Step 6 · your productproduct: ______________________ sieve 1, 30 or more items sold: [ yes ] [ no ] sieve 2, 3 or more distinct prices: [ yes ] [ no ] sieve 3, 6 or more months with a sale: [ yes ] [ no ] if all three yes: plot log units against log price, month by month, and read the slope if any is no: "We cannot measure how buyers respond to this price yet, because ______________. Until then any elasticity quoted for it is a belief."

Keep the four-part sentence as your standing shape. Range, default, prediction, caveat. Any elasticity that arrives as a single decimal with no range has hidden four other fits; any that arrives with no caveat has forgotten who chose the price.

Homework

Before Foundations session 3

30 min
  1. Sort ten of your products into elastic and inelastic by reasoning alone: substitutes, share of budget, time to adjust. Then mark which of the ten you could actually measure under the three sieves. The gap between the two lists is your honest position.
  2. Find one wedge in your business that is not a tax: a commission, a fee, a surcharge. Write who the rule says pays it and who the elasticities say pays it. Two sentences.
  3. Take one number your team reports as a single decimal and rewrite it in two scopes: the range with the choices that widen it, then the default. If you cannot name the choices, that is the finding.
  4. Bring one decision you are about to make at the margin, one more unit, one more hire, one more feature. Foundations session 3 is about why the cost that matters for it is the next unit's, not the average, and why the money already spent does not get a vote.
Check yourself

Three questions

Clear all three and Foundations session 2 gets stamped in your passport.

1 · The within-product elasticity on the 203 Olist products is about -1.8. Under a constant-elasticity assumption, what does a 10 percent price rise across them do to revenue, and why?

The revenue rule flips at -1. Past it, a rise loses revenue; short of it, a rise gains. The +8.9 percent belongs to the pooled -0.108, which compares different products with each other and is not an elasticity of anything a seller can act on.

2 · Why is the honest published form "between -1.5 and -2.2, about -1.8 at the default" rather than "-1.788"?

A range is the shape that lets a reader see how much the answer depends on the analyst's choices. The placebo (mean -0.002, sd 0.159) shows what a null looks like, and the real slope is more than 11 placebo standard deviations away from it; the range is wide but nowhere near zero.

3 · A marketplace adds a fee "charged to sellers". Which sellers end up bearing most of it?

Incidence follows elasticities, not the name on the rule. The side that can walk away pays less of any wedge; the side that cannot pays more. A fee "on sellers" and a fee "on buyers" of the same size produce the same split.

Sources covered

What this session teaches, and where it came from

✓Elasticity, elastic vs inelastic, the revenue rule, tax incidence, the wedgeStandard economics, no single source; the mechanics are taught with the direction of each effect, no textbook figure is quoted
✓The within-product elasticity: -1.788; the range -1.480 to -2.216 (weighted -2.216, single-unit months dropped -1.480, freight -1.881, month effects -1.854); pooled -0.108; placebo mean -0.002, sd 0.159, 200 drawsComputed from the Brazilian E-Commerce Public Dataset by Olist (Kaggle, CC BY-NC-SA 4.0), 203 products, 2,216 product-months, delivered orders before 1 September 2018; naive standard errors
✓Revenue arithmetic for a 10 percent rise: +8.9 percent under -0.108, -7.2 percent under -1.788, -7.8 percent under -1.854; units -1.0, -15.7, -16.2 percentModelled, under a constant-elasticity assumption, on the computed slopes
✓Marshall formalised elasticity of demandPrinciples of Economics, 1890, Book III chapter IV; the chapter was read; "formalised", because earlier uses of the idea exist
◐Gasoline demand, short run about -0.09, long run about -0.31Havranek, Irsova and Janda 2012, Energy Economics 34(1) 201-207, publication-bias-corrected; reported from the abstract, the full text was not opened
◐Food elasticities in absolute value: food away from home 0.81, soft drinks 0.79, eggs 0.27Andreyeva, Long and Brownell 2010, American Journal of Public Health 100(2), Table 1; read at source
◐Cross-price and income elasticity; deadweight lossNamed in self-study with their direction; no figure is quoted
◐Beira GoodsConstructed seller; every Beira number is invented and the page says so

Every fact on this page, and its verification tier, is recorded in the course's source map.

Foundations session 2 cheat sheet · pin this

Elasticity is a ratio of percentagesPercent change in units over percent change in price. -1.8: 1 percent dearer, 1.8 percent fewer units.
The revenue rule flips at -1Past -1 a rise loses revenue; short of it a rise gains. Olist within product: -1.8, so a 10 percent rise costs about 7 percent.
Who pays a wedgeNot who the rule names. The side that can walk away pays less; the side that cannot pays more.
The slope of the log-log lineIs the elasticity. One product is too few dots; the panel of 2,216 product-months is the unit.
Publish two scopesThe range, -1.5 to -2.2 depending on weighting and filter; the default, about -1.8. Not -0.1, not zero.
Say what it cannot sayA within-product association with a placebo behind it. The seller chose the price; it is not an experiment.