R 中的 ARIMA 模型
David Stoffer
Professor of Statistics at the University of Pittsburgh
模型描述時間序列的動態如何隨時間變化
預測就是把模型的動態延伸到未來
在 astsa-package 中用 sarima.for() 進行預測
oil <- window(astsa::oil, end = 2006) oilf <- window(astsa::oil, end = 2007) sarima.for(oil, n.ahead = 52, 1, 1, 1)lines(oilf)

R 中的 ARIMA 模型