forecastxgb-r-package icon indicating copy to clipboard operation
forecastxgb-r-package copied to clipboard

forecasts with xreg with 1 period forward don't work

Open ellisp opened this issue 7 years ago • 0 comments

woolmod <- xgbar(woolyrnq, xreg = data.matrix(rep(1, length(woolyrnq)))) 
forecast(woolmod, xreg = data.matrix(rep(1, 2))) #works fine
forecast(woolmod, xreg = data.matrix(rep(1, 1))) #gives error 

ellisp avatar Jul 22 '17 01:07 ellisp