Skip to content
LearnStatisticspowered by UpThink

Statistics and data science, defined

Differencing (of Time Series)

Differencing of a time series in discrete time is the transformation of the series to a new time series where the values are the differences between consecutive values of . This procedure may be applied consecutively more than once, giving rise to the “first differences”, “second differences”, etc.

The first differences of a time series are described by the following expression:

Formula: Differencing (of Time Series)

the second differences mathematical symbol may be computed from the first differences according to the expression

Formula: Differencing (of Time Series)

The general expression for the differences of order is given by the recursive formula

Formula: Differencing (of Time Series)

where the top index means the order of the difference.

The reason to use differences mathematical symbol instead of the values of the time series itself is that the differences of a broad class of nonstationary time series are stationary time series. Thus, the differencing procedure makes it possible to apply analytical tools and theoretical results developed for stationary time series to nonstationary time series.

The differencing procedure, combined with the ARMA model for stationary time series, gives rise to the ARIMA model for nonstationary time series.

Related entries

Where this gets used

We teach data science and statistics online, one subject at a time, on fixed start dates with an instructor who marks your work.