[程式] R Interrupted Time Series
[軟體程式類別]:
R
[程式問題]:
Time Series
[軟體熟悉度]:
請把以下不需要的部份刪除
熟悉
[問題敘述]:
透過ACF和PACF來看,我的資料應該是Random Walk---ARIMA(0,1,0),
我想進行intervention analysis,但卻出現錯誤訊息如下:
Error in stats:::arima(x, order = order, seasonal = seasonal, fixed = par[1:narma], :
wrong length for 'fixed'
[程式範例]:
程式碼如下:
cpI2 <- arima(irts2$poll_p1_ipo, order=c(0,1,0),
xtransf=irts2$inter2, transfer=list(c(0,0)) )
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 168.150.120.191
※ 文章網址: https://www.ptt.cc/bbs/Statistics/M.1463677320.A.E75.html
※ 編輯: TZULIU (168.150.120.191), 05/20/2016 01:03:03
※ 編輯: TZULIU (168.150.120.191), 05/20/2016 01:03:31