# tbats.components

From forecast v8.12
by Rob Hyndman

##### Extract components of a TBATS model

Extract the level, slope and seasonal components of a TBATS model. The extracted components are Box-Cox transformed using the estimated transformation parameter.

- Keywords
- ts

##### Usage

`tbats.components(x)`

##### Arguments

- x
A tbats object created by

`tbats`

.

##### Value

A multiple time series (`mts`

) object. The first series is the observed time series. The second series is the trend component of the fitted model. Series three onwards are the seasonal components of the fitted model with one time series for each of the seasonal components. All components are transformed using estimated Box-Cox parameter.

##### References

De Livera, A.M., Hyndman, R.J., & Snyder, R. D. (2011),
Forecasting time series with complex seasonal patterns using exponential
smoothing, *Journal of the American Statistical Association*,
**106**(496), 1513-1527.

##### See Also

##### Examples

```
# NOT RUN {
# }
# NOT RUN {
fit <- tbats(USAccDeaths, use.parallel=FALSE)
components <- tbats.components(fit)
plot(components)
# }
# NOT RUN {
# }
```

*Documentation reproduced from package forecast, version 8.12, License: GPL-3*

### Community examples

Looks like there are no examples yet.