Github repo | portfolio | Blog
The plastics
data set consists of the monthly sales (in thousands) of product A for a plastics manufacturer for five years.
a. Plot the time series of sales of product A. Can you identify seasonal fluctuations and/or a trend-cycle?
The plots show that the data has a seasonal trend. Also, it seams that the seasonal trend is positively increasing with time from Feb. to reach its peak from Jun to Oct.
b. Use a classical multiplicative decomposition to calculate the trend-cycle and seasonal indices.
c. Do the results support the graphical interpretation from part a?
Yes, the plots confirms that the data is highly seasonal increasing trends.
d. Compute and plot the seasonally adjusted data.
e. Change one observation to be an motlier (e.g., add 500 to one observation), and recompute the seasonally adjusted data. What is the effect of the outlier?
The effect of the outlier is a slight distortion in the trend’s straight line, but it has been mostly absorbed into the remainder component, as evident from the graph above. Therefore it is likely that the seasonal component hasn’t changed much because of the outlier. This conclusion is confirmed by the decomposition plot below as well.
f. Does it make any difference if the outlier is near the end rather than in the middle of the time series?
There would be no difference because there is no weight distribution. As the plots showed, there is less distortion when an outlier presented near the end-point. Although there is a spike in the trend, there has no effect on the seasonality of this time-series. As well as the reminder, there is evidence of the outlier effect upon them.
Recall your retail time series data (from Exercise 3 in Section 2.10). Decompose the series using X11. Does it reveal any outliers, or unusual features that you had not noticed previously?
The decomposition indicates that the seasonality pattern was unchanged during the given timeframe; however the peak of the annual seasonal increases from 1985 to 2001 when it then started to decrease. Also, we cannot identify a clear evidence of outlier after the decomposition.
1 Github repo | portfolio | Blog
GithHub repo↩︎