-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forecast.ARIMA fc_start being ill defined as NA #378
Comments
I encountered the same error message using the same R version and fable version referenced above. I ended up reverting to an earlier version (v 0.3.1) to avoid the error. Not sure if it's relevant, but I am also building time series models using monthly data observations indexed using |
This issue seems like it might be related to tidyverts/tsibble#290 (comment) (I've linked to a comment with the potential root of the issue and a potential bandaid workaround until the issue is addressed by devs) |
I believe this issue is caused by an issue in the |
Thanks for investigating this, hopefully this is resolved by upstream issues 🤞 |
Monthly series with
yearmonth
indexedtsibble
. Loading all libraries throughfpp3
.The error goes away if I filter for the series to end in not
May
. It seems that adding 1 to ayearmonth
in May leads toNA
. The issue might be deeper and related to theyearmonth
function itself. To recreate the issue I have to use:yearmonth("1995 Jun") + 1
since runningyearmonth("1995 May")
outputs1995 Apr
and runningyearmonth("1995 Jun")
outputs1995 May
. UPDATE: idk anymore, it seems different randomyearmonth
s +1 can lead toNA
Reprex:
Error message
Lines in forecast.ARIMA that lead to the error:
fc_start
being defined asNA
: https://github.com/tidyverts/fable/blob/master/R/arima.R#L794NA
comparison withfc_start
here: https://github.com/tidyverts/fable/blob/master/R/arima.R#L804Relevant package and R versions
The text was updated successfully, but these errors were encountered: