整理自 Forecast:Principle and Practice chapter7,如有不清楚的地方,請參考原書
https://otexts.com/fpp2/ets.html 。
forecast用法示例如下:其中
forecast(ets, h=ifelse(object$m>1, 2*object$m, 10),
level=c(80,95), fan=FALSE, simulate=FALSE, bootstrap=FALSE,
npaths=5000, PI=TRUE, lambda=object$lambda, biasadj=NULL, ...)