Skip to main content

The FRED® Blog

Spooked by prices this Halloween?

FRED shines a light on consumer and producer prices of candy and costumes

If you’ve been in any grocery stores, pharmacies, toy stores, or supermarkets recently, you’ve seen Halloween in all its glory. According to the National Retail Federation, Americans are expected to spend $9 billion on Halloween fun. How does the spike in consumption of candy and costumes affect prices for consumers and producers? As it turns out, the consumer price index appears to be more volatile than the producer price index.

The graph shows the consumer price index (CPI) in purple and the producer price indexes (PPI) in orange and black for candy and costumes. (Sadly, CPI for costumes isn’t available.) The PPIs don’t vary much, but the CPI does. After all, the prices of sugar, cloth, and other inputs exhibit less holiday-related seasonal variation than the prices producers can charge around those holidays. The PPI for costumes and vestments varies the least, which isn’t surprising: Fewer seasonal factors such as weather or harvest schedules impact the prices of inputs for costume production. The PPI for candy shows slightly more variation, yet displays less of a seasonal pattern than the CPI for candy, which tends to spike each March and September.

Candy prices are expected to rise in the spring and fall, as demand rises to fill Easter baskets and trick-or-treat bags. But savvy shoppers who consult FRED can see that the worst of the Halloween price hikes seem to end by October. It’s the early candy shoppers who often take the hit every September when prices are at their scariest.

How this graph was created: Search for “CPI Candy” and select the monthly, not seasonally adjusted series. From the “Edit Graph” panel, change the units to “Index,” selecting the date 2011-12-01 (to align with the next series). Then click “Add Line” and search for “PPI Chocolate” and select the relevant series. Click “Add Line” again and search for “PPI Vestments and Costumes” and select the relevant series. Change the start date to 2011-12-01.

Suggested by Maria Hyrc and Christian Zimmermann.

View on FRED, series used in this post: CUUR0000SEFR02, PCU3113531135, WPU0381044115

The business behind the trade balance

Why trade deficits decrease in recessions and increase in booms

How does the trade balance relate to economic activity? The graph above shows the U.S. trade balance for goods and services as a percentage of GDP. Obviously, there was a surplus initially and now there’s a persistent deficit. Beyond that, it looks like every time there’s a recession, the trade deficit tends to decrease. (Or, if we go farther back in the past, the trade surplus tends to increase.) Obviously, many things affect the trade balance, but let’s see what FRED can show us about this relationship.

A good way to reveal how series may be correlated is to look at scatter plots. Instead of relating economic data to dates, scatter plots relate two data series to each other, one on each axis. The graph above does this with changes to the trade balance ratio on one axis and percent changes to real GDP on the other axis. What may look like a random assortment of dots actually has some information. Imagine the graph is divided into four quadrants and then consider where the dots are located. The upper right and lower left quadrants have fewer data points than the other two, highlighting that there is indeed a negative correlation: That is, when real GDP tends to increase, the trade balance tends to decline—that is, trade surpluses decrease or trade deficits increase.

Why is that? First, consider that the trade balance is net exports—that is, exports minus imports. Imports are highly correlated with GDP, while exports are less so. We see this in the graph above, which plots imports. This time, the upper left and lower right quadrants are the most populated. This highlights the positive correlation: That is, when real GDP tends to increase, imports do as well. Thus, over the business cycle, it is really imports that drive the trade balance: When the economy is doing well, producers need more intermediate goods, and imports are mostly intermediate goods. Also households consume more, and a share of those consumption goods are imports. If you graph exports, the correlation is much harder to see. Exports depend much more on what happens abroad, which isn’t that well correlated with domestic activity.

How these graphs were created: First graph: Search for “net exports” and select the quarterly series. From the “Edit Graph” panle, add GDP and apply formula a/b*100. Second graph: Use the first graph and change the sample period to start in 1954. From the “Edit Graph” panel, change the units to “Change.” Add a line by searching for “real GDP,” change its units to “Percent change,” open the “Format” tab, and switch the type to “Scatter.” Third graph: Use the second graph but with real imports in percent change.

Suggested by Christian Zimmermann.

View on FRED, series used in this post: GDP, GDPC1, IMPGS, NETEXP

What a wonderful world

Tracking global GDP

Here at the FRED Blog, we often describe the economies of individual countries, but what about the world as a whole? That calculation is more complicated than you may think. It’s not sufficient to just add up all the economies’ GDPs. First, they’re all denominated in different currencies, so you need to convert them into a common currency. Second, determining what exchange rate to use isn’t straightforward: Some are set at levels that don’t correspond to market forces, and even market forces may deviate significantly from purchasing power parity across countries. Thank goodness for the World Bank, which does all these calculations for us. Now, they do make some assumptions that people may or may not agree with; but if you’re looking for the long-run picture, these assumptions shouldn’t matter much.

We offer such a picture in the FRED graph above. We still had to modify it a bit, as the World Bank series is in current U.S. dollars. To remove the impact of inflation, we divided the figures by the implicit deflator for U.S. GDP. (This is also a debatable choice, as one would ideally use a deflator for world GDP. But no such deflator is available.)

The graph shows several phases: We see steady growth until about 2002. Then we see a stronger growth spurt. And then, since 2011, we see noticeably slower growth. While this data series is based on every economy in the world, it’s most influenced by the large developed economies. Some of the larger but less-developed economies, such as China and India, have grown a lot. The growth of the latter has slowed down a bit recently, and there’s talk of secular stagnation for the former, stemming from slower productivity growth and declines in the working-age population. Return to FRED in, say, ten years to see how things have evolved, in particular whether the other developing countries have become more significant forces in driving world economic growth.

How this graph was created: Search for “world GDP,” select the series with the longest sample period, and click “Add to Graph.” From the “Edit Graph” panel, add a series by searching for “GDP deflator” and selecting the implicit GDP deflator for the U.S. Apply formula a/b.

Suggested by Christian Zimmermann.

View on FRED, series used in this post: GDPDEF, NYGDPMKTPCDWLD


Subscribe to the FRED newsletter


Follow us

Twitter logo Google Plus logo Facebook logo YouTube logo LinkedIn logo
Back to Top