Envelope function that estimates ets model

ets_estimator(train_sample, predicted, options, predictors)

Arguments

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

Value

fitted ets model

Details

Envelope function that estimates ets model.

Examples

train_sample = tsibble::tsibble(date = lubridate::ymd("2017-01-01") + months(0:99), y = arima.sim(n = 100, model = list(ar = 0.7)))
#> Using `date` as index variable.
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