Closed Nawaz91 closed 6 years ago
@Nawaz91 here is a way out from the bug using package KFAS:
fit_train_ucm <- ucm(...)
newdata <- SSModel(rep(NA,nrow(<name where independents are stored>)) ~ x + SSMtrend(2, Q = list(fit_train_ucm$est.var.level, fit_train_ucm$est.var.slope)) + SSMseasonal(12, Q = fit_train_ucm$est.var.season), H = fit_train_ucm$irr.var, data=<name where independents are stored>)
SSMtrend(1, Q = fit_train_ucm$est.var.level)
pred<-predict(fit_train_ucm$model, newdata=newdata)
Have a couple of regressors that i am able to fit a UCM model on. But not able to predict the response variable using the future values of these regressors. When will this be up and running in predict.UCM?