Economics Homework Help
University of Waterloo Time Series Decomposition Questions & Worksheet
Answer the question using the data file. It is an artificial time series from 1950 to 2020. For the exercise, we assume that it is a series of consumption expenditure in thousands of dollars. For each chart that you create, add a main title and axis titles. When the chart contains more than one line, use a different color and shape for each line and add a legend.
Part A: Visualization
1. Plot the series using a line chart. Briefly describe what you see: Is it a positive or negative trend? Is the trend increasing? What kind of short term fluctuations do you observe?
2. Answer the previous question using the log-scale. Can you tell if the growth rate is increasing or decreasing on average over the period?
3. To better see how the growth rate evolves through time, plot the annualized growth rate of consumption expenditure. Describe what you see. Is it constant on average?
Part B: Time Series Decomposition
1. Fit a linear and quadratic trends to your series. Then, create a line chart with your original series and the two trends. Which trend seems to best fit the series? Explain.
2. Fit a linear and quadratic trends to the log of your series. Then, create a line chart with the log of your series and the two trends. Which trend seems to best fit the series? Do you see a difference between the best trend in this question and in the previous one? Explain.
Answer the following questions using the log of your series and the trends computed in question 2.
3. Plot the detrended series using the trend that best fit the series. Briefly describe what you see: Do you better detect short term fluctuations?
4. Using a moving average of order 5, compute the cyclical component of your series. Then, plot the cycle and briefly describe what you see: interpret the values of some peaks and troughs.
5. Plot the low frequency of your series and briefly describe what you see.
6. Compute the seasonal component and represent it on a bar chart (only the 4 quarters). Interpret the four seasonal values.
Part C: Comovement
For this part, select any other series in the file assignment1.zip and answer the following questions: