Recent Posts

Monday, May 3, 2021

Primer: Seasonal Adjustment And The CPI

Complaints about seasonal adjustment of economic data are another relatively common feature of internet chatter. The complaints are related to the discussion of the previous section {in the manuscript, which is not written yet}, which was the view that economists are messing with the data to promote some agenda. (Since these complaints are often levelled by those of a bearish temperament, the usual complaint is that economic growth is overstated, and/or inflation is understated by seasonal adjustment.)

NOTE: This is an extremely preliminary draft of a section from my inflation primer manuscript.

I do not label these complaints as a “myth” since I am unconvinced that anyone really believes that seasonal adjustment results in lower inflation rates. Rather, my feeling is that this is just exploiting the mistrust of economists and financial market commentators using a concept that is not often encountered.

In this section, I will stick to the seasonal analysis of U.S. headline CPI. Other countries also calculate seasonal adjustment using similar algorithms, and so the qualitative story is the same. The only difference that shows up is that some countries have a less stable seasonal patterns, and the actual pattern differs across countries due to different commercial practices.

Why Seasonally Adjust?

Seasonal adjustment of data is extremely common in financial and economic commentary. In most cases, commentators almost invariably stick to seasonally adjusted data in discussion, outside of niche areas like inflation-linked bonds. (I describe why below.) Other than detailed analysis of an economic release, non-seasonally adjusted data might only be discussed when the seasonal adjustment process has technical problems. In general, the inflation data I use in this book are seasonally adjusted (with the series in this section being an exception).

I will not attempt to explain how seasonal adjustment is implemented. Instead, it is easy to see the effects of seasonal adjustment by examining charts.
 

The chart above illustrates a key property of seasonally adjusted data: the annual inflation rate is almost identical to the non-adjusted series. (To repeat, annual inflation refers to taking the percentage change in the index in a month from the same month in the year previously.) I cut down the time frame to 2012 to end of 2019 so that we have a period of relatively stable inflation, which is important for the later charts. Since we are comparing the same month between two different years, the months are in the same season, and so there is no effect. Since most discussion of inflation involves looking at the annual rate of change, using the seasonally adjusted series does not create any distortions to the data. That is, there are no obvious costs to using the seasonally adjusted data – the annual inflation picture is unchanged.

The advantage of seasonal adjustment shows up when we want to dig into data. If we want to see how inflation rates are evolving in the recent past, we do not want to worry about the entire year’s data. Instead, we want to look at rates of change of shorter periods, often 3 months.



The figure above shows the annualised 3-month rate of change versus the annual inflation rate for U.S. headline CPI. The “annualised 3-month rate of change” is inflation rate that would result if the percentage change of the index over 3 months was extrapolated to a full year. (Very close to multiplying the percentage change over 3 months by 4, with a tiny gap due to compounding.)

My feeling is that the chart is somewhat opaque, so I will walk through the interpretation. The top panel looks at the 3-month rate of change (“ROC”) versus annual inflation for the seasonally adjusted series. The first thing to note is that the 3-month rate is quite erratic, so you generally only want to look at charts with short time periods. The key is that the 3-month rate of change is moving faster than the annual inflation rate, and so it is easier to see trend changes.

I highlighted want to highlight one example in the 2017-2018 period. (The chart in my manuscript has some textual comments that are missing in the above chart.) We see that the 3-month rate of change peaked in late 2017, and then marched lower throughout 2018. However, if we look at the annual rate of change, it was still rising slowly, peaking in mid-2018. It then fell towards where the 3-month rate of change. If you only looked at the annual inflation rate, you might have been surprised by the trend change, whereas anyone looking at the 3-month rate of change knew it was coming. Anyone who is marketing themselves as a forecaster needs to know that such a trend change is coming.

The bottom panel shows the same analysis repeated for the non-seasonally adjusted series. We see that there is a “ripple” in the 3-month rate of change, which is particularly obvious in 2016-2018. It is much harder to infer trend changes from a series that is bouncing around more.

If we looked at core CPI, the differences would be more obvious, since the series is less volatile, and so the seasonal effect is larger relative to the series.

Since market commentators spend their days discussing wiggles in economic data, they want the data to be as informative as possible – and they want to be able to predict turning points in trends. As such, seasonally adjusted data is instinctively used.

When Not to Use Seasonal Adjustment

Seasonal adjustment is a statistical procedure that works based on making assumptions about the data. Although the procedures typically work well, it is always possible that there could be unusual events that cause distortions in the output. Meanwhile, different people can argue in good faith about the exact procedure.

As such, we must accept that the seasonally adjusted data has been filtered and is no longer the exact same thing as the original data. In cases where the exact level of the CPI matters – mainly when the CPI is used to adjust contracts – users should stick to the unadjusted series. For example, cost-of-living adjustments used by governments will use the unadjusted series.

From the point of view of markets, the indexation factor used in inflation-linked bonds (e.g., TIPS in the United States, Real Return Bonds in Canada, etc.) are unadjusted. That means that the annualised inflation rates can end up being quite high or low in the final months of a bond’s life. For people trading these bonds, this greatly affects price quotes. (I discuss this in my book Breakeven Inflation Analysis.) As such, inflation-linked bond market commentary will often discuss seasonal adjustment issues.

Understanding the Effects of the Adjustment

Explaining the details of seasonal adjustment algorithms is too complex for this book, and in fact is not of utmost importance for our purposes. Unless the reader is attempting to get a job as an analyst, all we need to worry about is the outcome of the process.
 

The above chart shows the seasonal pattern for U.S. Since the seasonal adjustment process is based on inferring patterns in the data, other countries will have different patterns. We calculate the pattern by dividing the non-seasonally adjusted series by the seasonally adjusted one. (I multiplied the series by the factor that sets the ratio to 100 in January 2012 – commonly referred to as “rebasing” the series.) If the line rises during a month, it means that the unadjusted data rose more than the adjusted one. The seasonally adjusted series is constructed so that this ratio sticks near its average for the year, but the pattern changes slowly from year to year.

We see that the ratio rises in the early part of the year, peaking around May-June. It then dips, then plunges in the final quarter, with the December level always the lowest. I assume that this represents holiday discounting, but I am uncertain about this.

We can also see that the pattern is not fixed. In the early years of the period, the range of movement is larger than in the later years. This either represents lower seasonal effects in the data – or the data has been more erratic, obscuring the underlying pattern.

In any event, if you want to raise unfounded conspiracy theories about economists lowering the inflation rate by seasonally adjusting data, mark your calendar for the data releases for January to mid-year.

References and Further Reading

If the reader wishes to know more about this, I recommend going to their national statistical agency. They will usually have information. If not available in your home country, the Bureau of Labor Statistics (BLS) in the United States has a lot of tutorial information (including a FAQ) that should cover the basic principles.

The best way to understand the seasonal pattern is to download the data and look at the ratio of the series in a spreadsheet (or other statistical software).

As for the statistical procedures, it might be in a statistics textbook – but I do not have any that includes that. Instead, I would just download a description of the algorithm I was interested in.

(c) Brian Romanchuk 2021

3 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete

Note: Posts may be moderated, and there may be a considerable delay before they appear.

Although I welcome people who disagree with me, please be civil.

Please note that my spam comment filter appears to dislike long "anonymous" posts.

Note: if you want to post comments from Apple devices (iPhone, iPad), you apparently need to turn off "prevent cross-site tracking" in Safari privacy settings. (The reason presumably is that another URL handles comments, and so the user session needs to be preserved when redirected to that site. I don't like this, but this is not enough to make me switch my hosting service.)