Stationary Process

Basic Concepts

A time series is stationary if the properties of the time series (i.e. the mean, variance, etc.) are the same when measured from any two starting points in time. Time series which exhibit a trend or seasonality are clearly not stationary.

We can make this definition more precise by first laying down a statistical framework for further discussion.

Definitions

Definition 1: A stochastic process (aka a random process) is a collection of random variables ordered by time.

In economics, GDP and corporate profits (by year) can be modeled as stochastic processes. In biology the number of elephants in the wild, in meteorology the average temperature of the planet, in medicine the number of Ebola cases, etc. can all be modeled as stochastic processes.

Thus, if we are interested in GDP from 2001 until 2015, we can define the random variables yi = the GDP in 2000 + i, and so the series y1, y2, …, y15 is a stochastic process.

Corresponding to the individual populations of the random variables in a stochastic process are the samples for each random variable. Any such realization of samples is called a time series. Note that the sample of each random variable in a time series contains just one element.

Definition 2: A stochastic process is stationary if the mean, variance and autocovariance are all constant; i.e. there are constants μ, σ and γk so that for all i, E[yi] = μ, var(yi) = E[(yiμ)2] = σ2 and for any lag k, cov(yi, yi+k) = E[(yiμ)(yi+k–μ)] = γk.

A time series is stationary if the above properties hold for the time series (in the same way as we extend properties of a population to its samples). We will make this more precise shortly.

Observation: The above definition of stationary is what is usually called weakly stationary, but fortunately it is sufficient for our purposes. A stochastic process is truly stationary if not only are the mean, variance, and autocovariances constant, but all the properties (i.e. moments) of its distribution are time-invariant.

Example

Example 1: Determine whether the Dow Jones closing averages for the month of October 2015, as shown in columns A and B of Figure 1 is a stationary time series.

Trending time series

Figure 1 – Dow Jones Time Series

As you can see from Figure 1, there is an upward trend to the data. This is an indication that the time series is not stationary.

We now take the first differences of the Dow Jones closing averages on consecutive days, as shown in Figure 2.

Time series differencing

Figure 2 – Differences of Lag 1

Here cell N5 contains the formula =M5-M4 and similarly for the other cells in column N. This time the chart shows what looks like a random pattern. This is indicative of a stationary time series.

6 thoughts on “Stationary Process”

  1. Hi Charles,
    A stochastic process (aka a random process) is a collection of random variables ordered by time. This is the “population version” of a time series (which plays the role of a “sample” of a stochastic process).
    –> Could you point me in the example 1, What is the collection of random variables ? What is the sample ?

    Thanks.

    Reply
    • Hello Henry,
      The time series is the collection of the data across time taken theoretically from some stochastic process. For each time period, the data element represents a one-element sample from the random variable for that time period.
      Charles

      Reply
  2. Hi,
    This is all really helpful, but being new to regression analysis I’m still running into a situation, where I’m not sure how to solve the non-stationarity problem.

    I was trying to analyze whether and how strongly is house price index influenced by GDP, demographics (25-44 y.o.) and average homeloan interest rate.

    For easier interpretation I logged all the variables and regression results were that all independent variables were significant.

    Unfortunately then I found out about time-series having a problem with spurious correlation if the time-series are not stationary. So I checked it with Dickey-Fuller test and indeed, house price index, interest rate and 25-44 y.o. agegroup were non-stationary. Ln(GDP) however was stationary.

    What would be the best solution to solve the non-stationarity problem?

    Reply

Leave a Comment