Closed config-i1 closed 6 years ago
This is because of the different calculations of the initials of the state bector. In the former case it is done via a simple moving average, while in the latter it is done via OLS on a trend model on the first 12 observations.
newXreg <- xregExpander(BJsales.lead,lags=c(-10:10)) es(BJsales, c("ANN"), xreg=newXreg, h=10, holdout=TRUE, silent=FALSE, xregDo="u", intervals="sp")
es(BJsales, c("XXN"), xreg=newXreg, h=10, holdout=TRUE, silent=FALSE, xregDo="u", intervals="sp")
So eventually the same model, but different optimal parameters values.