tidyverts / fable

Tidy time series forecasting
https://fable.tidyverts.org
GNU General Public License v3.0
559 stars 65 forks source link

Error - fable::ARIMA for linear time series #417

Open sevvandi opened 3 months ago

sevvandi commented 3 months ago

Hi,

When I run the code below, I am getting the following error.

vals <- c(3999, 4389, 4779, 5169, 5559, 5949, 6339, 6729, 7119, 7509, 7899, 8289, 8679, 9069, 9459) data.frame(time=1:length(vals), edges=vals) %>% tibble::as_tibble() %>% tsibble::as_tsibble(index=time) %>% fabletools::model(arima=fable::ARIMA(edges))

Error

A mable: 1 x 1

     arima
   <model>

1 Warning messages: 1: In max(which(abs(ma) > 1e-08)) : no non-missing arguments to max; returning -Inf 2: 1 error encountered for arima [1] argument must be coercible to non-negative integer

How to fix this?

Thanks, Sevvandi