tbats_estimator.Rd
Envelope function that estimates tbats model
tbats_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 tbats model |
fitted tbats model
Envelope function that estimates tbats model.
train_sample = tsibble::tsibble(date = lubridate::ymd("2017-01-01") + months(0:99), y = arima.sim(n = 100, model = list(ar = 0.7)))#>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