How Inflation Is Measured: CPI, PCE, and the Practical Measurement Issues

Capítulo 5

Estimated reading time: 9 minutes

+ Exercise

1) CPI construction: basket, weights, sampling, and aggregation

The Consumer Price Index (CPI) is designed to track how the cost of a typical household’s purchases changes over time. Statistical agencies build it by (a) defining what households buy, (b) deciding how important each item is (weights), (c) collecting prices repeatedly from many sellers (sampling), and (d) combining all those price changes into one number (aggregation).

A. Define the “basket” (what gets priced)

The CPI basket is a structured list of goods and services households purchase—rent, groceries, gasoline, medical services, apparel, streaming subscriptions, and so on. Items are grouped into categories (for example: housing, food, transportation). The basket is not literally fixed forever; it is updated periodically to reflect changing spending patterns.

B. Set weights (how much each item matters)

Weights reflect the share of household spending devoted to each category. If households spend about 30% on housing-related costs, then housing gets a large weight; if they spend 3% on apparel, apparel gets a smaller weight. Weights matter because a 10% increase in a heavily weighted category moves overall inflation much more than a 10% increase in a small category.

A simplified weighting idea can be written as:

Overall inflation ≈ Σ (category weight × category price change)

In practice, agencies use detailed item-level weights and index-number formulas, but the intuition is the same: big budget shares have big influence.

Continue in our app.
  • Listen to the audio with the screen off.
  • Earn a certificate upon completion.
  • Over 5000 courses for you to explore!
Or continue reading below...
Download App

Download the app

C. Sample outlets and items (where and what prices are collected)

Agencies cannot price everything everywhere, so they use sampling:

  • Geographic sampling: select cities/regions to represent the population.
  • Outlet sampling: select stores, websites, service providers, landlords, utilities, etc.
  • Item specification: define a specific product/service to price (e.g., “1 liter of brand X olive oil” or “men’s basic haircut”).

Prices are collected repeatedly (often monthly) for the same or comparable items. If a store stops selling an item, the agency must choose a replacement and decide how to treat differences in quality.

D. Aggregate price changes (from many prices to one index)

At a high level, CPI construction involves:

  • Compute price relatives for items (e.g., price this month / price in base period).
  • Combine item relatives into category indices using weights.
  • Combine category indices into the overall CPI.

Because the CPI is built from many moving parts—weights, samples, and item definitions—two agencies can measure “inflation” differently even when looking at the same economy.

2) Practical measurement issues: substitution bias, quality adjustments, and new goods

Inflation measurement is not just “read prices and average them.” Real-world consumption changes, products evolve, and new products appear. These issues can cause different indices to diverge or can make any single index imperfect.

A. Substitution bias (people change what they buy)

If the price of beef rises sharply, many households buy more chicken instead. A fixed basket that keeps “beef quantity” constant can overstate the cost of maintaining the same standard of living, because it ignores the consumer’s ability to substitute toward relatively cheaper options.

Step-by-step example (intuition):

  • Month 0: you buy 10 beef meals and 10 chicken meals.
  • Month 1: beef price rises 20%, chicken price rises 0%.
  • You respond by buying 6 beef meals and 14 chicken meals.
  • A fixed basket that still assumes 10 beef meals may show higher inflation than your actual spending experience.

Some indices update weights more frequently or use formulas that better reflect substitution, reducing this bias.

B. Quality adjustment (is it the same product?)

If a laptop costs $1,000 this year and $1,000 next year but is twice as fast with better battery life, the “price per unit of performance” fell. Agencies attempt to adjust for quality changes so inflation reflects pure price change, not improved features.

Common practical challenge: quality is hard to measure. For some products (computers, TVs), performance metrics are clearer; for services (healthcare, education, digital services), quality is harder to quantify.

C. New goods (what happens when something didn’t exist before?)

New goods create two problems:

  • Timing: the item enters the basket only after it becomes common enough to measure reliably.
  • Value to consumers: new goods often deliver large benefits at low cost (think of new apps or cheaper communication tools). Capturing that consumer benefit is difficult.

When new goods arrive, measured inflation can miss some improvements in living standards because the index focuses on pricing what exists in the basket, not the value of entirely new options.

3) PCE vs CPI: coverage, weights, and why policy discussions often reference PCE

Two widely cited U.S. inflation measures are CPI and the Personal Consumption Expenditures (PCE) price index. They often move similarly, but they can diverge because they answer slightly different questions and use different data sources and methods.

A. Coverage (whose spending counts?)

  • CPI: focuses on out-of-pocket spending by urban consumers (what households directly pay).
  • PCE: covers a broader set of consumption expenditures, including items paid on behalf of households by others (for example, certain employer- or government-paid healthcare expenditures).

This difference matters most in categories like healthcare, where who pays (household vs insurer/employer/government) can be a large part of total spending.

B. Weights and updating (how quickly the index reflects changing behavior)

PCE weights are typically updated more frequently and are designed to better reflect substitution across categories as consumers respond to relative price changes. CPI weights are also updated, but the methodology and timing can differ, which can lead to different measured inflation rates in periods of rapid spending shifts.

C. Data sources (where the numbers come from)

CPI relies heavily on direct price collection from sampled outlets and on household expenditure surveys for weights. PCE is built using a broader set of business surveys and national accounts data that track what is sold and purchased in the economy. Different sources can produce different category weights and different measured price changes.

D. Why policy discussions often reference PCE

Central banks and policy analysts often emphasize PCE because it is designed to align closely with the overall consumption component in national accounts and because its weighting approach can better capture substitution patterns. In practice, many policymakers look at multiple measures (CPI, PCE, and “core” versions that exclude volatile categories) to avoid overreacting to any single metric’s quirks.

4) Trimmed mean and median inflation: what they try to capture

Monthly inflation data can be noisy: a single category (like airfares or gasoline) can jump or fall sharply and dominate the headline number even if most prices are moving steadily. Trimmed mean and median inflation measures are statistical tools designed to estimate the underlying, broad-based inflation trend by reducing the influence of extreme category movements.

A. Median inflation

Imagine ranking all category inflation rates from lowest to highest (often using detailed components). The median is the middle observation (or the weighted middle). It answers: “What is the inflation rate of the typical component?” It is less sensitive to outliers than an average.

B. Trimmed mean inflation

A trimmed mean removes (trims) a certain percentage of the most extreme price changes on both ends (very high and very low) and averages what remains. It answers: “What is inflation for the bulk of categories, excluding the biggest one-off moves?”

Practical intuition: If one category spikes 25% in a month due to a temporary shock, trimming can prevent that single move from overwhelming the signal coming from the rest of the basket.

C. What these measures capture—and what they might miss

  • They capture: broad-based inflation pressure when many categories are moving together.
  • They may miss: persistent inflation that starts in a few categories and then spreads, or genuine large relative price changes that matter for households (e.g., sustained energy increases).

5) Guided interpretation exercise: identify drivers and one-off jumps

This exercise shows how to interpret an inflation release by separating (a) big-weight categories, (b) unusually large monthly moves, and (c) whether the story looks broad-based or concentrated.

Mock data: monthly inflation by category

Assume the following simplified CPI-like basket. Weights sum to 100%. Monthly inflation is the percent change from last month.

CategoryWeight (%)Monthly inflation (%)Notes (hypothetical)
Housing (rent & owners’ equivalent)320.4Steady increase
Food at home80.2Normal variation
Food away from home60.5Wage/service cost pressure
Energy (gasoline & utilities)74.0Oil price spike
Used cars4-1.5Supply normalizing
New vehicles40.3Moderate
Medical services70.1Slow-moving
Apparel3-0.2Seasonal discounting
Airfares26.0Holiday demand surge
Other goods & services270.3Broad basket

Step 1: Compute approximate contributions (weight × inflation)

To see what drives the headline number, multiply each category’s weight by its monthly inflation, then divide by 100 to convert to “percentage points contribution.”

Contribution (pp) = (Weight % × Monthly inflation %) / 100

Compute a few key ones:

  • Housing: (32 × 0.4)/100 = 0.128 pp
  • Energy: (7 × 4.0)/100 = 0.280 pp
  • Airfares: (2 × 6.0)/100 = 0.120 pp
  • Other goods & services: (27 × 0.3)/100 = 0.081 pp
  • Used cars: (4 × -1.5)/100 = -0.060 pp

Even though airfares have a small weight, a very large monthly jump can still matter. Energy has a moderate weight and a huge move, so it dominates this month’s headline.

Step 2: Identify “big weight, steady mover” vs “small weight, extreme mover”

  • Big weight, steady mover: Housing (32% weight, 0.4% monthly). This often contributes consistently month after month.
  • Small weight, extreme mover: Airfares (2% weight, 6.0% monthly). This can create a noticeable one-month bump but may reverse later.
  • Moderate weight, extreme mover: Energy (7% weight, 4.0% monthly). This can swing headline inflation sharply.

Step 3: Ask whether inflation is broad-based

Look across categories:

  • Many categories are in the 0.1%–0.5% range (housing, food, medical, new vehicles, other). That suggests a baseline of moderate, widespread price increases.
  • The headline is being pulled up by energy and airfares, and pulled down by used cars.

If you computed a median or trimmed mean from these components, it would likely land closer to the cluster around 0.3%–0.4% rather than the headline influenced by energy and airfares.

Step 4: Flag likely one-off jumps vs persistent drivers

Use the “notes” column as a checklist for persistence:

  • Energy spike: often volatile; may reverse if oil prices fall. Treat as a candidate for a one-off (unless energy prices keep rising for several months).
  • Airfares surge: can be seasonal or event-driven; also a candidate for one-off.
  • Housing: tends to move slowly and persistently; more likely to be a sustained driver.
  • Food away from home: can reflect ongoing service-sector cost pressures; may be persistent if it continues.

Step 5: Practice “headline vs underlying” interpretation

Using the contributions above, you can write two different (but compatible) interpretations:

  • Headline story: “Inflation was elevated this month mainly due to energy and airfares.”
  • Underlying story: “Outside of volatile categories, many components rose around 0.3%–0.4%, with housing providing a steady contribution.”

To deepen the exercise, try these prompts:

  • If energy inflation were 0% instead of 4.0%, how much lower would the headline be? (Remove about 0.280 percentage points.)
  • If used cars stopped falling (0% instead of -1.5%), how much higher would the headline be? (Add back about 0.060 percentage points.)
  • Which categories would you watch next month to decide whether inflation is broadening? (Housing, food away from home, other goods & services.)

Now answer the exercise about the content:

In the mock CPI-like basket, which statement best explains why headline inflation could be higher than the underlying trend in a given month?

You are right! Congratulations, now go to the next page

You missed! Try again.

Headline inflation can be pushed up or down by categories with unusually large monthly moves, even if they have smaller weights. Measures like median or trimmed mean reduce the influence of these extremes to better reflect the broad-based trend.

Next chapter

Unemployment and Labor Market Indicators: Rates, Definitions, and Tradeoffs

Arrow Right Icon
Free Ebook cover Macroeconomics for Beginners: GDP, Inflation, Unemployment, and Growth
38%

Macroeconomics for Beginners: GDP, Inflation, Unemployment, and Growth

New course

13 pages

Download the app to earn free Certification and listen to the courses in the background, even with the screen off.