1 Reply Latest reply on Dec 28, 2016 9:02 AM by Dan Huff

    auto arima time series calculation not working yet logic is syntactically correct!!!

    Dheepan Manoharan

      SCRIPT_REAL(" input = list(c(.arg1));

      df = as.data.frame(input);

      library('forecast');

      timeseriesdf = ts(df,frequency = 2,start = c(1,2));

      autoarimatimeseries = auto.arima(timeseriesdf);

      autoarimaforecastresult = forecast.Arima(autoarimatimeseries, h=4);

      autoarimaforecastresult$mean[1:4];", ATTR([Quantity]))