Skip to content
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.gts silently produces NAN for all levels when at least one base level is all zeros #11

Closed
dashaub opened this issue May 21, 2015 · 1 comment

Comments

@dashaub
Copy link

dashaub commented May 21, 2015

hts version is 4.4 from CRAN
See the reproducible example below

library(hts)
myhts <- hts(cbind(wineind, 0))

# The total is fine here
aggts(myhts)

# The forecast produces NAN at all levels, 
# including Total and wineind
forecast.gts(myhts)
@robjhyndman
Copy link
Collaborator

This issue does not occur with v4.5 on github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants