Question regarding example in 10.2 Regression with ARIMA errors using fable #6
-
As read at 10.2 Regression with ARIMA errors using fable, in the example there is not much difference in the innovation residuals and the response residuals. Indeed the innovation residuals are not unlike white noise, but neither are the response residuals: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The To see the effect of the ARIMA errors, you need to compare against the regression residuals. library(fpp3)
fit <- us_change |>
model(ARIMA(Consumption ~ Income))
residuals(fit, type = "regression") |>
ACF(.resid, lag_max = 36) |>
autoplot() Created on 2025-01-05 with reprex v2.1.1 These have clear autocorrelation, which is what is being handled by the ARIMA part of the model. |
Beta Was this translation helpful? Give feedback.
The
.resid
column is the same as the.innov
column in this example, because no transformation has been used.To see the effect of the ARIMA errors, you need to compare against the regression residuals.
Created on 2025-01-05 with reprex v2.1.1
These have clear autocorrelation, which is what is being handled by the ARIMA part of the model.