i. To compute the four point moving average and center them, we need to calculate the average of every four consecutive quarters.
Quarter 1:
(2.2 + 2.9 + 3.2) / 3 = 2.77
Quarter 2:
(5.0 + 5.2 + 5.8) / 3 = 5.33
Quarter 3:
(7.9 + 8.2 + 9.1) / 3 = 8.4
Quarter 4:
(3.2 + 3.8 + 4.1) / 3 = 3.7
To center the moving averages, we subtract the average of all the moving averages from each individual moving average:
Quarter 1: 2.77 - ((2.77 + 5.33 + 8.4 + 3.7) / 4) = -0.49
Quarter 2: 5.33 - ((2.77 + 5.33 + 8.4 + 3.7) / 4) = 1.07
Quarter 3: 8.4 - ((2.77 + 5.33 + 8.4 + 3.7) / 4) = 4.37
Quarter 4: 3.7 - ((2.77 + 5.33 + 8.4 + 3.7) / 4) = -1.95
ii. To decompose the time series data using the additive model, we need to calculate the trend, seasonal, and residual components.
- Calculate the average of each quarter for the three-year period:
Quarter 1:
(2.2 + 2.9 + 3.2) / 3 = 2.77
Quarter 2:
(5.0 + 5.2 + 5.8) / 3 = 5.33
Quarter 3:
(7.9 + 8.2 + 9.1) / 3 = 8.4
Quarter 4:
(3.2 + 3.8 + 4.1) / 3 = 3.7
- Calculate the overall average for each quarter across all three years:
Quarter 1 average = (2.2 + 2.9 + 3.2 + 2.77) / 4 = 2.79
Quarter 2 average = (5.0 + 5.2 + 5.8 + 5.33) / 4 = 5.34
Quarter 3 average = (7.9 + 8.2 + 9.1 + 8.4) / 4 = 8.4
Quarter 4 average = (3.2 + 3.8 + 4.1 + 3.7) / 4 = 3.7
- Calculate the trend for each quarter by subtracting the overall average from the individual quarter average:
Trend for quarter 1 = 2.77 - 2.79 = -0.02
Trend for quarter 2 = 5.33 - 5.34 = -0.01
Trend for quarter 3 = 8.4 - 8.4 = 0
Trend for quarter 4 = 3.7 - 3.7 = 0
- Calculate the seasonal component for each quarter by subtracting the overall average for that quarter from the individual quarter average:
Seasonal component for quarter 1, 2019 = 2.2 - 2.79 = -0.59
Seasonal component for quarter 2, 2019 = 5.0 - 5.34 = -0.34
Seasonal component for quarter 3, 2019 = 7.9 - 8.4 = -0.5
Seasonal component for quarter 4, 2019 = 3.2 - 3.7 = -0.5
Seasonal component for quarter 1, 2020 = 2.9 - 2.79 = 0.11
Seasonal component for quarter 2, 2020 = 5.2 - 5.34 = -0.14
Seasonal component for quarter 3, 2020 = 8.2 - 8.4 = -0.2
Seasonal component for quarter 4, 2020 = 3.8 - 3.7 = 0.1
Seasonal component for quarter 1, 2021 = 3.2 - 2.79 = 0.41
Seasonal component for quarter 2, 2021 = 5.8 - 5.34 = 0.46
Seasonal component for quarter 3, 2021 = 9.1 - 8.4 = 0.7
Seasonal component for quarter 4, 2021 = 4.1 - 3.7 = 0.4
- The residual component is the difference between the original data and the sum of the trend and seasonal components:
Residual for quarter 1, 2019 = 2.2 - (-0.02 - 0.59) = 2.83
Residual for quarter 2, 2019 = 5.0 - (-0.01 - 0.34) = 5.35
Residual for quarter 3, 2019 = 7.9 - (0 - 0.5) = 8.4
Residual for quarter 4, 2019 = 3.2 - (0 - 0.5) = 3.7
Residual for quarter 1, 2020 = 2.9 - (-0.02 + 0.11) = 2.81
Residual for quarter 2, 2020 = 5.2 - (-0.01 - 0.14) = 5.35
Residual for quarter 3, 2020 = 8.2 - (0 - 0.2) = 8.4
Residual for quarter 4, 2020 = 3.8 - (0 + 0.1) = 3.7
Residual for quarter 1, 2021 = 3.2 - (-0.02 + 0.41) = 2.81
Residual for quarter 2, 2021 = 5.8 - (-0.01 + 0.46) = 5.35
Residual for quarter 3, 2021 = 9.1 - (0 + 0.7) = 8.4
Residual for quarter 4, 2021 = 4.1 - (0 + 0.4) = 3.7
Therefore, the decomposed time series data using the additive model is as follows:
Quarter 1, 2019: Trend = -0.02, Seasonal = -0.59, Residual = 2.83
Quarter 2, 2019: Trend = -0.01, Seasonal = -0.34, Residual = 5.35
Quarter 3, 2019: Trend = 0, Seasonal = -0.5, Residual = 8.4
Quarter 4, 2019: Trend = 0, Seasonal = -0.5, Residual = 3.7
Quarter 1, 2020: Trend = -0.02, Seasonal = 0.11, Residual = 2.81
Quarter 2, 2020: Trend = -0.01, Seasonal = -0.14, Residual = 5.35
Quarter 3, 2020: Trend = 0, Seasonal = -0.2, Residual = 8.4
Quarter 4, 2020: Trend = 0, Seasonal = 0.1, Residual = 3.7
Quarter 1, 2021: Trend = -0.02, Seasonal = 0.41, Residual = 2.81
Quarter 2, 2021: Trend = -0.01, Seasonal = 0.46, Residual = 5.35
Quarter 3, 2021: Trend = 0, Seasonal = 0.7, Residual = 8.4
Quarter 4, 2021: Trend = 0, Seasonal = 0.4, Residual = 3.7