请教一个关于MASS Library里的arima问题:
当我想用predict命令去预测ccard.arima1这个arima模型的时候会有这么一个错误出现?!请教高手一下,非常感谢!!
> ccard.arima.fore = predict(ccard.arima1, 12)
Problem in &&: No data to interpret as logical value: e1 && e2
Use traceback() to see the call stack
我搜索了一下相应的问题,找到了这么一个和我遇到同样问题的人
I am new to fitting and forecasting time series in Splus,
and am having major problems forecasting.
I am using Splus 6.0 Professional Release 2 on a
PC, Windows 2000
I have 9 years of fortnightly water turbidity data
and have fitted an ARIMA(0,1,1) model using both
1, V&R's arima
2. Splus's arima.mle (I've even tried the Splus windows!!!!)
My time series is a timeSeries object.
All methods give the same estimates, so far so good.
Now I want to forecast the next 12 fortnights of turbidity.
I have tried using
1. predict (V&R4th edn - used following arima)
2. arima.forecast (Splus - used following arima.mle)
when I use predict, the error message is
"Problem in &&: No data to interpret as logical
value: e1 && e2"