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

Handle missing values in NNETAR & VAR #215

Closed
jonekeat opened this issue Dec 31, 2019 · 1 comment
Closed

Handle missing values in NNETAR & VAR #215

jonekeat opened this issue Dec 31, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jonekeat
Copy link

Hi @mitchelloharawild,

Is it possible to handle missing values in NNETAR & VAR as in ARIMA? as I try to fit multiple models and compare them using accuracy() but I got error message like
image
which only work fine for ARIMA & TSLM

Here is the reproducible code:
xy <- tsibble::tsibble(date = tsibble::yearquarter(seq.Date(as.Date("1992-03-01"), by = "quarters", length.out = 111)), y = rnorm(111), x = c(rep(NA, 27), rnorm(111-27)))
xy %>% model(arima = ARIMA(y ~ x), tslm = TSLM(y ~ x), nnetar = NNETAR(y ~ x), var = VAR(y ~ x) ) %>% accuracy()

Here is my sessionInfo():
image

@mitchelloharawild mitchelloharawild self-assigned this Jan 1, 2020
@mitchelloharawild mitchelloharawild added the bug Something isn't working label Jan 1, 2020
@mitchelloharawild
Copy link
Member

Should be better now - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants