Reputation: 622
I'm developing automatic forecast Software with JAVA & R. The following steps are used in R to forecast next 18 values:
trends <- scan("c:/data_for_R/trends.dat")
auto.arima(trends)
(cf. arima(pdq)
)trendsarima <- arima(trends, order=c(2,1,3))
, note that (2,1,3)
was found by the step #2)trendsforecasts <- forecast.Arima(trendsarima, h=18)
trendsforecasts
plot.forecast(trendsforecasts)
All I want to know is, how do you integrate steps #2, #3 (preferably by a single command)?
Upvotes: 0
Views: 830