Seizoens-ARIMA-modellen

Voorspellen in R

Rob J. Hyndman

Professor of Statistics at Monash University

ARIMA-modellen

ch4_vid3_slides.003.png

  • d = aantal verschillen op lag 1
  • p = aantal gewone AR-lags:
  • q = aantal gewone MA-lags:
Voorspellen in R

ARIMA-modellen

ch4_vid3_slides.007.png

  • d = aantal verschillen op lag 1
  • p = aantal gewone AR-lags:
  • q = aantal gewone MA-lags:
Voorspellen in R

ARIMA-modellen

ch4_vid3_slides.008.png

  • d = aantal verschillen op lag 1
  • p = aantal gewone AR-lags: $\ y_{t-1}, y_{t-2},...,y_{t-p}$
  • q = aantal gewone MA-lags: $\ \epsilon_{t-1}, \epsilon_{t-2},...,\epsilon_{t-q}$
  • D = aantal seizoensverschillen
  • P = aantal seizoens-AR-lags: $\ y_{t-m}, y_{t-2m},...,y_{t-Pm}$
  • Q = aantal seizoens-MA-lags:$\ \epsilon_{t-m}, \epsilon_{t-2m},...,\epsilon_{t-Qm}$
  • m = aantal observaties per jaar
Voorspellen in R

Voorbeeld: Maandelijkse retail-betaalpasuitgaven in IJsland

autoplot(debitcards) +
  xlab("Year") + ylab("million ISK") +
  ggtitle("Retail debit card usage in Iceland")

ch4_vid3_iceland.png

Voorspellen in R

Voorbeeld: Maandelijkse retail-betaalpasuitgaven in IJsland

fit <- auto.arima(debitcards, lambda = 0)
fit
Series: debitcards
ARIMA(0,1,4)(0,1,1)[12]
Box Cox transformation: lambda= 0
Coefficients:
         ma1    ma2    ma3     ma4    sma1
      -0.796  0.086  0.263  -0.175  -0.814
s.e.   0.082  0.099  0.100   0.080   0.112
sigma^2 estimated as 0.00232:  log likelihood=239.3
AIC=-466.7   AICc=-466.1   BIC=-448.6
Voorspellen in R

Voorbeeld: Maandelijkse retail-betaalpasuitgaven in IJsland

fit %>%
  forecast(h = 36) %>%
  autoplot() + xlab("Year")

ch4_vid3_iceland_forecast.png

Voorspellen in R

Laten we oefenen!

Voorspellen in R

Preparing Video For Download...