Skip to content

Time-series

Linear Trend Model

Work with constant change amount:

yt=b0+b1t+ϵ

Log-Linear Model

Applying log transform to work with constant growth rate time series:

yt=eb0+b1t+ϵ

The trend models are generally not appropriate for time series when data are serial correlated. We can use Durhin-Watson test to detect serial correlation.

Autoregressive Model (AR)

Autoregressive model use past values of dependent variables as independent variables.

AR(p):xt=b0+b1xt1++bpxtp+ϵ
  • Additional assumption: Covariance Stationary:
    • Constant and finite expected value in all periods
    • Constant and finite variance in all periods
    • Constant and finite covariance with itself for a fixed number of periods among all periods.

Detecting Serial Autocorrelation

  • Fit the AR(1) model
  • Compute autocorrelations
  • View ACF plot and decide.
  • t test: t=ρϵt,ϵtk^1/T, H0: No autocorrelation.

Moving Average Model (MA)

Moving Average model use lagged residuals to model:

xt=ϵt+θϵt1

For an MA(q) model the first q autocorrelations will be significantly different from 0. All beyond that will be equal to 0.

Comining will give ARIMA model.

Violations of Assumptions

Seasonality

Seasonality refers to time series show regular patterns of movement within the year. It is to include a seasonal lag in AR model.

Unit Root

Mean Reversion

A time series shows mean reversion. if it tends to move to its mean.

For an AR(1) model, its mean-reverting level is xt=b01b1, when |b1|<1 and has covariance stationary.

NOTE

When b1=1, AR(1) becomes random walk. If b0=0 it is simple random walk, if not, it is random walk with drift.

Random walt will not exhibit covariance stationary. In this case, least square method cannot be trusted to model AR(1). In this case, we say the time series has a unit root.But t-test cannot be used to test unit root.

Therefore, Dicky-Fuller test will bne used to test unit root. We test xtxt1=b0+(b11)xt1+ϵt. We test if g1=b11=0:

H0:g1=0,H1:g1<0. We calculate t statistics and use revised critical value (larger than usual).

First Differencing

Applying first order differencing on random walk will result in yt=xtxt1=ϵt, which stabilize the time series.

Heteroskedasticity

Recall: Conditional heteroskedasticity defines case where the heteroskedasticity of the error variance is correlated with the values of the independent variables.

When Conditional heteroskedasticity exists in AR model, we call it ARCH.

ARCH Model

In addition to AR, ARCH also model the variance of residuals:

σϵt2=a0+a1ϵt12++ut

GARCH also include past variance of residuals to model (e.g σϵt12)

NOTE

We should use Generalized Least Square to fit the model if conditional heteroskedasticity exists.

Regression With More Than One Time Series

  • Test unit root for both
  • If both have unit root. If they have cointegration (long-term financial or economic relationship so that they do not diverge from each other in the long run), we can use linear regression
  • To test cointegration, we apply Engle and Granger test to test unit root on the residual term.We want to make sure error term has no unit root.

Model Selection