Predicting Inflation: Food For Thought

William T. Gavin , Rachel J. Mandal

"When I was your age, I walked 20 miles uphill in the snow to get to school and a gallon of milk only cost a nickel."Who doesn't remember grandparents and relatives sharing similar stories with us at family get-togethers? Today, a gallon of milk at the grocery store will cost more than a nickel, as will other goods that our grandparents paid considerably less for in their day. The overall rise in prices is known to economists as inflation.

Over the long run, inflation is caused by too much growth in the money supply. Monetary inflation is bad because it obscures the price signals that make our market system work efficiently. The job of monetary policy is to supply just the right amount of money so that the average price level remains stable.

Over short periods, however, inflation can be influenced by large changes in the market for particular goods and services. Because these bouts of inflation tend to be short-lived and self-correcting, the proper monetary policy response is to ignore them. The problem for the Federal Reserve is to know when inflation is due to excessive monetary growth (requiring a policy response) and when it is due to transitory market fluctuations. To sort out the short-run real effects caused by disruptions to particular markets from the long-run monetary effects caused by Federal Reserve policy, economists have developed techniques to filter the inflation news. Traditionally, economists have excluded food and energy prices in their filtering process, but we find that by filtering out food prices, we might be losing valuable information about inflation.

What's in the Basket?

Economists looking at inflation generally track a price index, which is the average price of a consistent "basket" of consumer goods. The two major price indexes are the Consumer Price Index (CPI) and the Personal Consumption Expenditures Price Index (PCEPI).

The CPI, reported by the Bureau of Labor Statistics, was created for the specific purpose of adjusting veterans' pension benefits for inflation following WWI, while the PCEPI, reported by the Bureau of Economic Analysis, is used to compute the nation's Gross Domestic Product. Both indexes measure the rate of inflation faced by consumers, but the PCEPI is more comprehensive.

Approximately 25 percent of the items in the PCEPI basket are excluded from the CPI basket. A guiding principle for deciding whether an item belongs in the CPI basket is whether it is paid for "out of pocket." The main items in the PCEPI that are not included in the CPI are things that consumers get but don't pay for out of pocket, such as free checking, employer-funded medical care and medical services paid through Medicare and Medicaid. Also, the CPI is an index of inflation for urban dwellers; so, it excludes spending by rural households.

The PCEPI, then, is a larger and broader index that includes a more varied bundle of goods than the CPI does. Although both are valid for gauging inflation, in 2000 the Federal Reserve began reporting its inflation forecasts in terms of the PCEPI instead of the CPI. Because of the PCEPI's wider basket of goods and the Fed's focus on it, we'll look only at the PCEPI, although our conclusions also apply to the CPI.1

When tracking inflation, people monitor data releases to predict the underlying inflation trend, which is driven solely by monetary policy. However, information about the inflation trend has been compared to a radio signal that is obscured by static. Just as noise filters are used to remove the static in radio signals, economists filter inflation data to remove the static caused by supply and demand changes. One way to filter the inflation news is to measure the change in prices over a long period, such as a year, to eliminate the short-run fluctuations. But then, the useful information is delayed for a year.

Another way that economists filter out the static is to delete the items in the price index that are sensitive to large, frequent disturbances to supply and demand and, therefore, have highly volatile prices. After deleting these items, what is left is core inflation, that is, inflation in the basket of goods excluding the more volatile components. Since the 1970s, core inflation has typically been measured by excluding food and energy from the basket of goods. This is because the early 1970s saw highly volatile food prices and, soon afterward, a rapid rise in the prices of gas, oil and other energy products.

The core measure of inflation, the PCEPI excluding food and energy, has been less sensitive to temporary shocks to the economy and has seemed to have been a better barometer of the underlying trend in inflation than the all-item PCEPI. Looking at Figure 1, we see that the rate of inflation measured by the PCEPI excluding food and energy has been less volatile than with the all-item index. During times of high inflation, such as the mid-1970s and early 1980s, the PCEPI excluding food and energy did not increase nearly as much as the all-item PCEPI.When inflation dropped considerably in the middle of 1986, the index excluding food and energy did not show the same massive drop.

Let's take a closer look at the changes in the prices of components excluded from the core: food and energy. From Figure 2, we see that inflation in energy prices indeed has been very volatile, increasing and decreasing much more than the food component or the all-item PCEPI. We also see that food prices have become increasingly stable recently, while energy prices continue to fluctuate significantly.

What has caused the recent increase in the stability of food prices? Improvements in technology and a change in consumer eating habits have both contributed.2 Major advancements in the food distribution system have led to shorter lag times between picking produce at the farm and getting it into the hands of urban consumers. It is not unusual, as it once was, for a shopper in a supermarket in Chicago to be buying fresh produce grown in South America. As technological advances have reduced the cost of air freight and refrigeration, their use has become widespread and commonplace in the food industry, increasing the geographic size of the market for food and reducing the volatility of food prices.

Another change in the food distribution system is that many more people now buy their food from large grocery store chains. These large chains have an advantage over smaller specialty retailers in that they have the ability to stock larger quantities of many more different types of items. Large supermarkets purchase food directly from the producers in huge quantities, cutting the cost to themselves and their consumers.

Eating habits of the American consumer also have changed. With the hectic schedule many Americans have, people are less inclined to buy fresh fruit, vegetables, meat and poultry that may go bad in their refrigerators or require time and energy to prepare. People are much more likely to buy prepared meals at the grocery store or to eat at restaurants. The prices that consumers pay for these meals are largely expenditures on the labor used to prepare and serve the food. The price of these labor services is less volatile than is the price of the raw food products.

Should We Put Food Back into the "Core" Basket?

Because volatility in food prices has dropped in recent years, does it still make sense to exclude food from our measure of core inflation? Are we losing information about the underlying trend in inflation by removing such a stable component from the core? Indeed, by excluding food prices in our traditional analysis of core inflation, we lose more knowledge about the trend in inflation than we gain.

The reason for creating a core measure of inflation is to learn about the underlying trend. The inflation trend is caused by monetary policy and should be reasonably stable over time. Thus, a good core measure will be a good predictor of future inflation. The all-item inflation rate reported in the news is a flawed predictor of future inflation because it contains some items, such as energy products, that are quite volatile, causing the all-item index to deviate from the underlying trend. We exclude energy from the core in order to get a better measure of the trend, or equivalently, a better forecast of future inflation. The question here is whether food is like energy. We find that it is not. Not only is the food component of the PCEPI one of the least volatile components, but it also has been a relatively good predictor of future inflation.

Figure 3 compares the food component of the PCEPI with the PCEPI excluding food and energy in terms of their abilities to predict inflation two years into the future. This comparison is made by going back in time to simulate a forecasting exercise. Each quarter, we record the previous year's inflation in the food component of the PCEPI and in the PCEPI excluding food and energy. We then use these two past inflation rates to forecast inflation over the next two years.

For example, in January 1992, we use the inflation rate for 1991 from both of these indexes to make forecasts of the average inflation rate for 1992 and 1993. The better forecast is simply the one that is closest to the actual inflation rate that occurred in those two years. Figure 3 plots the forecast errors (predicted inflation minus actual inflation) for the two indexes. Looking at Figure 3, we see that past inflation in food prices has been a better forecaster of future inflation than has the popular core measure. Core inflation was more often above actual inflation than below it, meaning that it had a tendency to predict a higher rate of inflation than actually occurred. On average, the all-item index rose at a 3.0 percent annual rate, while predicted inflation from the PCEPI excluding food and energy averaged 3.7 percent per year. In contrast, inflation in food prices appears to be an unbiased forecast; it was below actual inflation about as often as it was above it, with approximately equally sized errors. Its average predicted inflation of 2.8 percent was only two-tenths of a percentage point below the actual inflation rate.

Now that we have identified inflation in food prices as a relatively good indicator for future inflation, we must see how it stacks up against other components of the PCEPI. Forecasters compare results by measuring the size of the forecast error. A standard measure of comparison is the root-mean-square error (RMSE), which tends to penalize large forecast errors—the difference between the actual and forecasted values—more heavily than small forecast errors.3For example, in Figure 3, the PCEPI excluding food and energy would be highly penalized for the big errors in 1983. As we did with the food component, we use the previous year's inflation in various components of the PCEPI as alternative forecasts of future inflation. We then calculate the RMSEs to evaluate the relative accuracy of these forecasts.

Comparing the past year's inflation in food prices to the prices of other components that comprise the PCEPI (as in Table 1), we find that the food component still ranks the best among them all. Food has the smallest RMSE (0.99), while energy has the largest RMSE (10.52). This implies that past inflation in food has been a good predictor of overall inflation.

The New Core: PCEPI excluding Energy

To assume that the food shocks of the 1970s will never be repeated is probably dangerous. A glance back at Figure 3 shows that the core measure was not really too bad if we exclude 1983. We include the core measure excluding food and energy in Table 1 to show that, with the exception of food, it really is much better than looking at most of the other component measures. We also show that the measure could be improved by putting food back into the mix. The core measure excluding only energy is about 10 percent more accurate than the standard measure. (Its RMSE was only 1.10 percentage points, while the RMSE of the forecast error using inflation in the PCEPI excluding food and energy was 1.23 percentage points.)

With the decreased volatility in food prices and their ability to predict future inflation, it no longer makes sense to exclude food from our measure of core inflation. Too much valuable information is lost with the exclusion of food from the core PCEPI. A better measure of core inflation would be the PCEPI excluding just energy. Looking at Table 1 again, we see that the PCEPI excluding food and energy has a higher RMSE than the PCEPI excluding energy only. Energy remains a highly volatile component and masks the underlying inflation trend. Removing energy alone, as opposed to food and energy, gives us a clearer picture of the inflation trend.

Figure 1

Inflation in PCEPI vs. PCEPI Excluding Food and Energy

inflation in PCEPI

Consistently volatile components of the PCEPI obscure economists' ability to evaluate monetary policy and the true inflation trend. To get a better idea of the underlying inflation trend, economist look at core inflation, which is traditionally measured by the PCEPI excluding food and energy. Removing food and energy from the PCEPI results in a less volatile series and a better gauge of the underlying inflation trend. [back to text]

Figure 2

Inflation in Food Prices vs. Energy Prices

inflation in PCEPI

Typical measures of core PCEPI inflation have excluded food and energy prices because of their volatility. However, due to advances in food distribution technology and changes in consumer eating habits, food prices have stabilized recently, while energy prices continue to fluctuate dramatically. By continuing to exclude food from core inflation, we might be losing information about the underlying inflation trend. [back to text]

Figure 3

Forecast Errors of Food and PCEPI Excluding Food and Energy

forecast errors

The PCEPI excluding food and energy is typically used as an indicator of the underlying inflation trend, and a good indicator of the underlying trend should also be a good predictor of future inflation. Using past inflation in the price of food and the PCEPI excluding food and energy as a prediction for overall inflation in the next two years, we see that past food prices have been a better forecast of future overall inflation than the PCEPI excluding food and energy. The forecast errors (predicted inflation minus actual inflation) for food prices are smaller than those for the PCEPI excluding food and energy, and the PCEPI excluding food and energy was more often above actual inflation than below (as seen by the preponderance of points above the zero line), meaning that it had a tendency to predict a higher rate of inflation than actually occurred. [back to text]

Table 1

The Ability of PCEPI Components to Predict Inflation

Component RMSE
Food 0.99
PCE excluding Energy 1.10
PCE excluding Food and Energy 1.23
Non-durable Goods 1.70
Motor Vehicles and Parts 1.71
Transportation Services 1.91
Services 2.01
Housing 2.02
Durable Goods 2.42
Clothing and Shoes 2.76
Medical Care Services 3.43
Gasoline, Fuel Oil, Other Energy Goods 10.52

(Q3: 1983-Q2: 2001)

The better that past inflation in a component of the PCEPI is able to forecast overall inflation, the better an indicator it is of the true inflation trend. The root-mean-square-error (RMSE) measures how far away a forecast is from the actual measured value and is, therefore, a measure of how good a forecast is. Components with a smaller RMSE are better at forecasting future overall inflation. Here, we see that food has the lowest RMSE, indicating that we might be losing valuable information about trend inflation by removing it from our measure of core inflation. [back to text]


  1. For a detailed analysis of the components of the CPI, see Clark (2001). [back to text]
  2. For further discussions on the change in consumer food preferences and advances in food distribution technology, see Johnson, Rogers and Tan (2001); Jacobs and Shipp (1990); and Paulin (1998). [back to text]
  3. The RMSE tests how far away a forecast is from the observed/actual value. The test first finds the difference between the actual value and the forecasted value. It then squares this difference and takes an average of all of these squared differences. Finally, it takes the square root of the average, and the resulting number is called the RMSE. The better a forecast is, the closer to zero the RMSE will be.[back to text]


Clark, Todd E. "Comparing Measures of Core Inflation" Federal Reserve Bank of Kansas City, Economic Review, Second Quarter 2001, Vol. 86, No. 2, pp. 5-31.

Jacobs, Eva and Shipp, Stephanie. "How Family Spending Has Changed In The U.S." Monthly Labor Review, March 1990, Vol. 113, No. 3, pp. 20-7.

Johnson, David S.; Rogers, John M. and Tan, Lucilla. "A Century of Family Budgets in the United States." Monthly Labor Review, May 2001, Vol. 124, No. 5, pp. 28-45.

Paulin, Geoffrey D. "The Changing Food-at-Home Budget: 1980-1992 Compared." Monthly Labor Review, December 1998, Vol. 121.


Keep up with what’s new and noteworthy at the St. Louis Fed. Sign up now to have this free monthly e-newsletter emailed to you.

Subscription Options

Additional Fed Publications

Fed in Print: An index of the economic research conducted by the Fed.