Envelope function that estimates tbats model

tbats_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 tbats model

Value

fitted tbats model

Details

Envelope function that estimates tbats 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.
tbats_estimator(train_sample, "y", "")
#> Warning: Missing values encountered. Using longest contiguous portion of time series
#> BATS(1, {0,0}, -, -) #> #> Call: forecast::tbats(y = y) #> #> Parameters #> Alpha: 0.9999 #> #> Seed States: #> [,1] #> [1,] -0.1702458 #> #> Sigma: 0 #> AIC: -Inf