ets_estimator.Rd
Envelope function that estimates ets model
ets_estimator(train_sample, predicted, options, predictors)
train_sample | tsibble with train sample |
---|---|
predicted | name of the predicted variable |
options | character with options separated by comma not yet supported |
predictors | not supported by ets model |
fitted ets model
Envelope function that estimates ets model.
train_sample = tsibble::tsibble(date = lubridate::ymd("2017-01-01") + months(0:99), y = arima.sim(n = 100, model = list(ar = 0.7)))#>ets_estimator(train_sample, "y", "")#> Warning: Missing values encountered. Using longest contiguous portion of time series#> ETS(A,N,N) #> #> Call: #> forecast::ets(y = y) #> #> Smoothing parameters: #> alpha = 0.0286 #> #> Initial states: #> l = -2.5279 #> #> sigma: 0