TBATS — Trigonometric Exponential Smoothing for Complex Seasonality

Econometrics
Introduced by
De Livera, Hyndman & Snyder
Year
2011
Type
Exponential smoothing state space model

What does it do?

TBATS is an innovations state space forecasting model introduced by De Livera, Hyndman and Snyder (2011).

It combines a Box-Cox transformation, ARMA errors and trigonometric (Fourier) seasonal terms, and it is built for continuous time series with several seasonal cycles at once, such as hourly data that also repeats daily, weekly and yearly.

The intuition behind the method

Many real series repeat on more than one clock at the same time: electricity demand rises and falls within a day, within a week, and across a year. TBATS represents each of these rhythms with a small set of sine and cosine waves rather than one dummy per season, so it stays compact even when a period is very long or not a whole number (such as 365.25 days). A Box-Cox transformation first tames changing variance, the trend and level evolve smoothly through exponential smoothing, and an ARMA model mops up whatever short-term correlation is left in the residuals.

History

TBATS was introduced by De Livera, Hyndman and Snyder in a 2011 paper in the Journal of the American Statistical Association on forecasting time series with complex seasonal patterns using exponential smoothing. The name abbreviates its components: Trigonometric seasonality, Box-Cox transformation, ARMA errors, and Trend and Seasonal components. The 2011 abstract describes the framework as handling multiple, high-frequency and non-integer seasonality, as well as dual-calendar effects.

When to use it

Choose TBATS when you need to forecast a single continuous time series that carries more than one seasonal cycle, particularly when a period is long or non-integer, and when the history covers several cycles of the longest seasonal period. It is most appropriate when a Box-Cox transformation can stabilise the variance. Do not choose it for very short series, for forecasts that depend mainly on external predictors (the standard form has no regression component), or for series whose seasonal pattern changes abruptly. If the series has only one integer seasonal period, a simpler seasonal model such as SARIMA or ETS may be adequate.

Limitations and considerations

  • Seasonal shape is tracked through coefficients that evolve smoothly, so abrupt shifts in seasonal behaviour are not captured well.
  • Estimating the harmonics for each seasonal cycle needs a long history; short series give unreliable seasonal estimates and are prone to overfitting.
  • The standard form contains no external explanatory variables, so effects of covariates must be modelled outside it.
  • The likelihood, point forecasts and prediction intervals are derived under Gaussian errors on the Box-Cox transformed scale. When residuals are clearly non-Gaussian or heavy-tailed, the intervals may not have their nominal coverage, so residual diagnostics should be checked before the intervals are relied on.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Represents several seasonal cycles in one equation, including long and non-integer periods such as 365.25 days, by using sine and cosine terms rather than one state per period.
  • The Fourier coefficients are allowed to change over time, so the seasonal shape can drift gradually instead of being fixed for the whole sample.
  • The Box-Cox transformation and the ARMA error term are part of the same likelihood-based estimation, so changing variance and remaining short-term autocorrelation are handled within the model rather than in a separate preprocessing step.

Applications

  • Forecasting electricity or energy demand with intraday, weekly and yearly cycles.
  • Modelling call-centre or web-traffic volumes that repeat hourly, daily and weekly.
  • Predicting any high-frequency continuous series whose seasonal periods are long or fractional.

How it works

How it works

1

The Box-Cox transformed observation is decomposed into a level term, a possibly damped trend, the sum of all seasonal components, and an error. Each seasonal period m_i enters through its own component, so several periods, including non-integer ones, can sit in one equation.

Formula
y_t^{(\omega)} = \ell_{t-1} + \phi b_{t-1} + \sum_{i=1}^{T} s_{t-m_i}^{(i)} + d_t
2

Each seasonal component is written as a sum of trigonometric (sine and cosine) harmonics, so the number of states stays small even for long periods. Serial dependence left in the errors is captured by an ARMA(p, q) process. The full state space system is estimated by maximum likelihood, and the number of harmonics and the ARMA orders are chosen with an information criterion such as AIC.

Formula
s_t^{(i)} = \sum_{j=1}^{k_i}\, s_{j,t}^{(i)}, \quad d_t = \sum_{j=1}^{p}\varphi_j d_{t-j} + \sum_{j=1}^{q}\theta_j \epsilon_{t-j} + \epsilon_t

Common pitfalls

  • Forcing TBATS onto a series with no genuine multiple seasonality, where a simpler SARIMA or ETS model would do.
  • Applying it to a series too short to support the number of harmonics selected, which pushes the fit toward overfitting.
  • Applying the Box-Cox transformation to data containing zeros or negative values without first addressing them, since the transformation requires positive values.
  • Treating it as a multivariate or regression tool; TBATS targets the seasonal dynamics of one series, not the effects of predictors.

Frequently asked questions

What does the acronym TBATS stand for?

Trigonometric seasonality, Box-Cox transformation, ARMA errors, and Trend and Seasonal components — the four ingredients combined in the model.

How is TBATS different from SARIMA?

SARIMA is usually specified with one integer seasonal period, whereas TBATS represents several seasonal cycles together using trigonometric terms and can accommodate long or non-integer periods such as 365.25 days.

Can TBATS handle non-integer seasonal periods?

Yes. Because each season is modelled with sine and cosine terms rather than one state per period, TBATS can accommodate fractional periods such as 365.25, which dummy-based seasonal models handle less naturally.

How much data does TBATS need?

It needs a history long enough to cover several cycles of the longest seasonal period, so that the harmonics for each cycle can be estimated; very short series risk overfitting.

Related methods

Sources

  1. 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.

    Open DOI reference
  2. Hyndman, R. J. & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts.

    Open publication reference