季節性 ARIMA 的預測

R 中的 ARIMA 模型

David Stoffer

Professor of Statistics at the University of Pittsburgh

ARIMA 程序的預測

  • 一旦選好模型,預測就容易,因為模型描述了時間序列的動態如何隨時間變化
  • 只要把這些動態往未來延伸即可
  • astsa 套件中,用 sarima.for() 來做預測
R 中的 ARIMA 模型

航空旅客數的預測

  • 在上一支影片中,我們判定

SARIMA$(0,1,1) \times (0,1,1)_{12}$ 模型是合適的

sarima.for(log(AirPassengers), n.ahead = 24, 
           0, 1, 1, 0, 1, 1, 12)

第 4 章圖 3.007

R 中的 ARIMA 模型

一起來練習吧!

R 中的 ARIMA 模型

Preparing Video For Download...