You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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():
The text was updated successfully, but these errors were encountered:
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 likewhich 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()
:The text was updated successfully, but these errors were encountered: