Forecasting Lab - 24 September 2003
Description: This lab focuses on understanding seasonal adjustment
and the seasonal component of economic time series data.
Goals: In this lab, you will
- Locate data on retail gasoline prices on the internet
- Retrieve these data
- Read data into a spreadsheet
- Estimate seasonal factors using regression models and moving averages
- Determine the size of the seasonal change in retail gasoline prices
In this lab, we locate, manipulate and analyze price data. The lab focuses on the data series:
CUUR0000SS47014 - Gasoline, unleaded regular, U.S. city average
This series is an index with a base period of 1982-84=100.
Instructions:
- Go to the Bureau of Labor Statistics (BLS) web site wher ethey provide access to
Consumer Price Index (CPI) Data
(http://www.bls.gov/cpi/home.htm)
- Under the section Create Custom tables (one screen) follow the link for
Consumer Price Index - All Urban Consumers (current series).
This starts a data access applet.
- From this menu, select US City Average in Box 1, Gasoline, unleaded regular
in Box 2, Not Seasonally Adjusted and Seasonally Adjusted in Box 3. Click on
the get data link and then use the More Formatting Options tool.
- Get the series from 1976 to 2003 using the Tables option in comma delimited format.
- Read this data into Excel. Note there will be two series in the output file.
- Clean the data so that only monthly observations remain. To remove the Annual and HALF1 and
HALF2 variables:
- Sort on the variable Period
- Delete the annual and biannual values
- Move the remaining records
- Sort on the variable Period again, using the month ordering option
- Sort on the variable Year
- Check to see that the two series have the same number of observations.
- Add an Excel formatted date variable to the spreadsheet. Add a new column, and in the first
row type "jan-76"; in the second row type "feb-76". Highlight these two cells and copy them to the
end of the series.
- Graph both the seasonally adjusted and unadjusted series. What method does the BLS use to get rid of the
seasonal component? (Detailed information available on-line.)
- What time series components can you identify in these series? Discuss the factors that
affect retail gas prices.
- Calculate the seasonal difference in the series in each month.
- Describe the seasonal adjustment based on this difference.
- How else could you seasonally adjust the data?
- What relationship exists between the secular trend and the seasonal effect in time series data?