Because financial time series data often grow faster than a linear trend, a preferred model is the

Financial institutions and corporations, as well as individual investors and researchers, often use financial time series data (such as asset prices, exchange rates, GDP, inflation, and other macroeconomic indicators) in economic forecasts, stock market analysis, or studies of the data itself.

But refining data is key to being able to apply it to your stock analysis. In this article, we'll show you how to isolate the data points that are relevant to your stock reports.

Key Takeaways

  • In statistics, a time series analysis involves measuring how things change over time with respect to certain variables of interest.
  • When a time series is stationary, it means that certain attributes of the data do not change over time.
  • However, some time series are non-stationary, whereby values and associations between and among variables do vary with time.
  • In finance, many processes are non-stationary, and so must be handled appropriate.

Intro to Stationary and Non-Stationary Processes

Non-Stationary Time Series Data

Data points are often non-stationary or have means, variances, and covariances that change over time. Non-stationary behaviors can be trends, cycles, random walks, or combinations of the three.

Non-stationary data, as a rule, are unpredictable and cannot be modeled or forecasted. The results obtained by using non-stationary time series may be spurious in that they may indicate a relationship between two variables where one does not exist. In order to receive consistent, reliable results, the non-stationary data needs to be transformed into stationary data.

In contrast to the non-stationary process that has a variable variance and a mean that does not remain near, or returns to a long-run mean over time, the stationary process reverts around a constant long-term mean and has a constant variance independent of time.

Image by Julie Bang © Investopedia 2020 

Types of Non-Stationary Processes

Before we get to the point of transformation for the non-stationary financial time series data, we should distinguish between the different types of non-stationary processes. This will provide us with a better understanding of the processes and allow us to apply the correct transformation.

Examples of non-stationary processes are random walk with or without a drift (a slow steady change) and deterministic trends (trends that are constant, positive, or negative, independent of time for the whole life of the series).

Image by Julie Bang © Investopedia 2020 
  • Pure Random Walk (Yt = Yt-1 + εt ) Random walk predicts that the value at time "t" will be equal to the last period value plus a stochastic (non-systematic) component that is a white noise, which means εt is independent and identically distributed with mean "0" and variance "σ²." Random walk can also be named a process integrated of some order, a process with a unit root or a process with a stochastic trend. It is a non-mean-reverting process that can move away from the mean either in a positive or negative direction. Another characteristic of a random walk is that the variance evolves over time and goes to infinity as time goes to infinity; therefore, a random walk cannot be predicted.
  • Random Walk with Drift (Yt = α + Yt-1 + εt ) If the random walk model predicts that the value at time "t" will equal the last period's value plus a constant, or drift (α), and a white noise term (εt), then the process is random walk with a drift. It also does not revert to a long-run mean and has variance dependent on time.
  • Deterministic Trend (Yt = α + βt + εt ) Often a random walk with a drift is confused for a deterministic trend. Both include a drift and a white noise component, but the value at time "t" in the case of a random walk is regressed on the last period's value (Yt-1), while in the case of a deterministic trend it is regressed on a time trend (βt). A non-stationary process with a deterministic trend has a mean that grows around a fixed trend, which is constant and independent of time.
  • Random Walk with Drift and Deterministic Trend (Yt = α + Yt-1 + βt + εt ) Another example is a non-stationary process that combines a random walk with a drift component (α) and a deterministic trend (βt). It specifies the value at time "t" by the last period's value, a drift, a trend, and a stochastic component.

Trend and Difference Stationary

A random walk with or without a drift can be transformed to a stationary process by differencing (subtracting Yt-1 from Yt, taking the difference Yt - Yt-1) correspondingly to Yt - Yt-1 = εt or Yt - Yt-1 = α + εt and then the process becomes difference-stationary. The disadvantage of differencing is that the process loses one observation each time the difference is taken.

Image by Julie Bang © Investopedia 2020

A non-stationary process with a deterministic trend becomes stationary after removing the trend, or detrending. For example, Yt = α + βt + εt is transformed into a stationary process by subtracting the trend βt: Yt - βt = α + εt, as shown in the figure below. No observation is lost when detrending is used to transform a non-stationary process to a stationary one.

Image by Julie Bang © Investopedia 2020

In the case of a random walk with a drift and deterministic trend, detrending can remove the deterministic trend and the drift, but the variance will continue to go to infinity. As a result, differencing must also be applied to remove the stochastic trend.

The Bottom Line

Using non-stationary time series data in financial models produces unreliable and spurious results and leads to poor understanding and forecasting. The solution to the problem is to transform the time series data so that it becomes stationary. If the non-stationary process is a random walk with or without a drift, it is transformed to stationary process by differencing. On the other hand, if the time series data analyzed exhibits a deterministic trend, the spurious results can be avoided by detrending.

Sometimes the non-stationary series may combine a stochastic and deterministic trend at the same time and to avoid obtaining misleading results both differencing and detrending should be applied, as differencing will remove the trend in the variance and detrending will remove the deterministic trend.

Which is the best model for a time series data?

AutoRegressive Integrated Moving Average (ARIMA) models are among the most widely used time series forecasting techniques: In an Autoregressive model, the forecasts correspond to a linear combination of past values of the variable.

What is a linear trend in time series?

The linear trend model tries to find the slope and intercept that give the best average fit to all the past data, and unfortunately its deviation from the data is often greatest near the end of the time series, where the forecasting action is!

What is financial time series data?

Time series data analysis is the analysis of datasets that change over a period of time. Time series datasets record observations of the same variable over various points of time. Financial analysts use time series data such as stock price movements, or a company's sales over time, to analyze a company's performance.

Which of the following methods is best suited for modeling a time series that has trend and seasonality?

A SARIMA model can be used to develop AR, MA, ARMA and ARIMA models. The method is suitable for univariate time series with trend and/or seasonal components.

Chủ đề