1 Question - 6.2

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?

Answer:

The autoplot shows a significantinscreasing trend.

The ggsubseriesplot presents a significant normal seasonal fluctuations.

(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?

Answer: Yes. The result of classical multiplicative decomposition supports the graphical interpretation from part A.

(d.) Compute and plot the seasonally adjusted data.

(e.) Change one observation to be an outlier (e.g., add 500 to one observation), and recompute the seasonally adjusted data. What is the effect of the outlier?

Anwer:

From the autoplot after multiplicative decomposition, it is obversed that both the trend and seasonal effect got affected after introducting an outline in middle of the TS.

However after seasonality adjustment, the adjusted data still greatly affected by the outliner in the middle of the TS.

(f.) Does it make any difference if the outlier is near the end rather than in the middle of the time series?

Answer: The outlier near the end has less effect on both the trend and seasonal fluctuation than that in the middle of the TS.

2 Question - 6.3

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?

Answer:

From the X11 decomposition remainder graph, it is observed there are multiple up or down spikes, which are possible outliners.