The decomposition of time series is a
statistical
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
task that deconstructs a
time series
In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. ...
into several components, each representing one of the underlying categories of patterns.
There are two principal types of decomposition, which are outlined below.
Decomposition based on rates of change
This is an important technique for all types of
time series analysis
In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. ...
, especially for
seasonal adjustment
Seasonal adjustment or deseasonalization is a statistical method for removing the Seasonality, seasonal component of a time series. It is usually done when wanting to analyse the trend, and cyclical deviations from trend, of a time series independ ...
.
It seeks to construct, from an observed time series, a number of component series (that could be used to reconstruct the original by additions or multiplications) where each of these has a certain characteristic or type of behavior. For example, time series are usually decomposed into:
*
, the
trend component at time ''t'', which reflects the long-term progression of the series (
secular variation). A trend exists when there is a persistent increasing or decreasing direction in the data. The trend component does not have to be linear.
*
, the cyclical component at time ''t'', which reflects repeated but non-periodic fluctuations. The duration of these fluctuations depend on the nature of the time series.
*
, the seasonal component at time ''t'', reflecting
seasonality
In time series data, seasonality refers to the trends that occur at specific regular intervals less than a year, such as weekly, monthly, or quarterly. Seasonality may be caused by various factors, such as weather, vacation, and holidays and consi ...
(seasonal variation). A seasonal pattern exists when a time series is influenced by seasonal factors. Seasonality occurs over a fixed and known period (e.g., the quarter of the year, the month, or day of the week).
*
, the irregular component (or "noise") at time ''t'', which describes random, irregular influences. It represents the residuals or remainder of the time series after the other components have been removed.
Hence a time series using an
additive model can be thought of as
:
whereas a multiplicative model would be
:
An additive model would be used when the variations around the trend do not vary with the level of the time series whereas a multiplicative model would be appropriate if the trend is proportional to the level of the time series.
Sometimes the trend and cyclical components are grouped into one, called the trend-cycle component. The trend-cycle component can just be referred to as the "trend" component, even though it may contain cyclical behavior.
For example, a seasonal decomposition of time series by Loess (STL) plot decomposes a time series into seasonal, trend and irregular components using loess and plots the components separately, whereby the cyclical component (if present in the data) is included in the "trend" component plot.
Decomposition based on predictability
The theory of
time series analysis
In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. ...
makes use of the idea of decomposing a times series into deterministic and non-deterministic components (or predictable and unpredictable components).
See
Wold's theorem and
Wold decomposition.
Examples

Kendall shows an example of a decomposition into smooth, seasonal and irregular factors for a set of data containing values of the monthly aircraft miles flown by
UK airlines.
In policy analysis, forecasting future production of biofuels is key data for making better decisions, and statistical time series models have recently been developed to forecast renewable energy sources, and a multiplicative decomposition method was designed to forecast future production of
biohydrogen
Biohydrogen is hydrogen, H2 that is produced biologically. Interest is high in this technology because H2 is a clean fuel and can be readily produced from certain kinds of biomass, including biological waste. Furthermore some photosynthetic micro ...
. The optimum length of the moving average (seasonal length) and start point, where the averages are placed, were indicated based on the best coincidence between the present forecast and actual values.
Software
An example of statistical software for this type of decomposition is the program
BV4.1 that is based on the
Berlin procedure. The R statistical software also includes many packages for time series decomposition, such as seasonal, stl, stlplus, and bfast. Bayesian methods are also available; one example is the BEAST method in a package Rbeast
in R, Matlab, and Python.
See also
*
Frequency spectrum
In signal processing, the power spectrum S_(f) of a continuous time signal x(t) describes the distribution of power into frequency components f composing that signal. According to Fourier analysis, any physical signal can be decomposed int ...
*
Hilbert–Huang transform
*
Least squares
*
Least-squares spectral analysis
Least-squares spectral analysis (LSSA) is a method of estimating a Spectral density estimation#Overview, frequency spectrum based on a least-squares fit of Sine wave, sinusoids to data samples, similar to Fourier analysis. Fourier analysis, the ...
*
Stochastic drift
*
Trend filtering
References
Further reading
*
{{Quantitative forecasting methods
Time series