Question
ECON 102: First Assignment For this assignment, create a PDF with your preferred text processor and insert your charts and discussion when needed. Upload the
ECON 102: First Assignment
For this assignment, create a PDF with your preferred text processor and insert your charts and discussion when needed. Upload the file to the Learn Dropbox before it closes.
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
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?
Answer the previous question using the log-scale. Can you tell if the growth rate is increasing or decreasing on average over the period?
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
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.
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.
Plot the detrended series using the trend that best fit the series. Briefly describe what you see: Do you better detect short term fluctuations?
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.
Plot the low frequency of your series and briefly describe what you see.
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:
Create a scatter plot of your series expressed in logs against the selected series also expressed in logs.
Using the log of the selected series, compute its cyclical component. Then create a scatter plot of this cycle with the cycle of your series computed in Part B.
Econ 102 Assignment Page 1 of 2
Looking at the two scatter plots, what can you say about the type of comovement between the two series?
Econ 102 Assignment Page 2 of 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started