Docsity

Dynamic Econometric Models - Study Guide | EconS 512, Exams of Econometrics and Mathematical Economics

Toggle sidebar
bg1
Part 6: Dynamic models October 7, 2008
Part VI
Dynamic Econometric Models
reading: G[19,20], DM[13].
1 Introduction to dynamic models
Many models in economics related to dynamic behavior:
•Disequilibrium and incomplete adjustment,
•capital and resource stock utilization and depreciation.
•Whether our initial theory suggests dynamics or not, time series data often
hints at dynamic interactions across time periods.
This large section of the course deals with models in which adjacent observations
are related in one way or another. The most prominent application of this form of
model is with time-series data, although spatial data can have similar characteris-
tics. We will focus on data with temporal relationships.
1.1 General form of a linear dynamic model
A general representation of such a model might be
yt=µ+
p
X
i=1
γiyt−i+
r
X
j=0
βjxt−j+εt,
where εtmight be related to past values of ε, such that
εt=ρ1εt−1+ρ2εt−2+·· ·ρrεt−g+ut(serial correlation), or
εt=ut+θ1ut−1+·· ·θqut−q,(moving average error)
Page 73 — WSU Econometrics II c
2007, Jonathan Yoder. All rights reserved
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b

Partial preview of the text

Download Dynamic Econometric Models - Study Guide | EconS 512 and more Exams Econometrics and Mathematical Economics in PDF only on Docsity!

Part VI

Dynamic Econometric Models

reading: G[19,20], DM[13].

1 Introduction to dynamic models

Many models in economics related to dynamic behavior:

  • Disequilibrium and incomplete adjustment,
  • capital and resource stock utilization and depreciation.
  • Whether our initial theory suggests dynamics or not, time series data often hints at dynamic interactions across time periods. This large section of the course deals with models in which adjacent observations are related in one way or another. The most prominent application of this form of model is with time-series data, although spatial data can have similar characteris- tics. We will focus on data with temporal relationships.

1.1 General form of a linear dynamic model

A general representation of such a model might be

yt = μ + ∑^ p i=

γiyt−i + ∑^ r j=

βj xt−j + εt,

where εt might be related to past values of ε, such that

εt = ρ 1 εt− 1 + ρ 2 εt− 2 + · · · ρr εt−g + ut (serial correlation), or εt = ut + θ 1 ut− 1 + · · · θq ut−q , (moving average error)

We begin by looking closely at univariate time series, where yt is modeled as a function of only past values of itself. Later we examine Autoregressive Distributed Lag Models with other regressors

[

xt · · · xt−r

]

1.2 Necessary conditions for consistency of OLS

  1. E[εt|xt−s] = 0 ∀ s ≥ 0. Implies that εt contains only new info at t. No AR or MA errors. [note: here x denotes all RHS vars, including lagged dep. vars.]
  2. A regularity condition: plim (^) T 1 −s^ ∑Ti=s+1 xtx′ t−s = Q(s) finite
  3. (required for univariate series) yt “stable” : (a) Stationary: For a model yt = μ + ∑pi γiyt−i + εt, the roots (z) of the polynomial 1 − γ 1 z − γ 2 z^2 − · · · − γpzp^ = 0 are outside the unit circle. (b) Ergodic: events are asymptotically independent — impact of one on the other weakens with temporal distance.
  4. (required for ARDL models) The regression relationship between y and its regressors x is “stable” over time: the series are “cointegrated” (note that each series y, x need not be stationary, just the relationship between them).
  5. Asymptotic normality holds with some additional assumptions called the Mann and Wold conditions, so that b ∼a N (β, σ^2 Q(s)−^1 ). To summarize: for OLS to be consistent,
  • with a lag(s) of the dependent variable on the right-hand-side, errors must contain only new information (no AR or MA processes).
  • You need either stationary series, or a stationary relationship among nonsta- tionary series.

this implies, for example, that

xt (1 − aL) =^ xt

∑^ ∞

i=

(aL)i^ =

∑^ ∞

i=

(aL)ixt =

∑^ ∞

i=

aixt−i.

Infinite series of lags on xt, but one associated parameter, a.

  1. This section focuses on the univariate model

C(L)yt = μ + R(L)εt,

which is called Autoregressive Moving Average model, or ARMA(p,q), where p is the order of C(L) and q is the order of R(L).

  1. An Autoregressive Integrated Moving Average, or ARIMA(p,d,q) model corresponds to data that must be differenced d times to ensure stationarity, which is a necessary condition for univariate estimation.
  2. When a moving average disturbance process exist, then nonlinear least squares or Maximum likelihood conditional on the initial observations is a consistent estimator of ARIMA parameters.
  3. We will define autocorrelation functions and partial autocorrelation functions. The empirical counterparts to these will help us to identify the dynamic characteristics of a data series

2.2 Stationarity and Invertibility

C(L)yt = μ + R(L)εt

where C(L) is represents an AR process in y and R(L) represents a moving average process in ε, such as

R(L)εt = (1 − θ 1 L − θ 2 L^2 )εt = εt − θ 1 εt− 1 − θ 2 εt− 2

For estimation of ARIMA models, we require two things:

  1. (Weak) stationarity of y for finite and stable asymptotic variance. (a) E[yt] is independent of t. (b) Var[yt] is finite and independent of t. (c) Cov[yt, ys] is a function of t − s, not t.
  2. weak stationarity is satisfied if the root(s) z of C(z) lie outside the unit circle. For example, (a) AR(1) process in y,:the characteristic equation is c(z) = 1 − γz = 0 for stationarity, z = 1/γ must be larger than one. (b) AR(2) in y: c(z) = 1−γ 1 z −γ 2 z^2 = 0. The series is covariance stationary if |γ 2 | < 1, γ 1 + γ 2 < 1, and γ 2 − γ 1 < 1.
  3. Invertibility of R(L). Invertibility requires the root(s) of R(z) to lie outside the unit circle (same requirement as above for C(z)).
  4. We need invertibility so that we can define the disturbances as an autoregres- sive process of y: εt = D(L)yt − (^) R(μL)

2.3 Nonstationarity and Integrated series

Consider the following time series specifications: Random Walk: yt = μ + εt, εt = εt− 1 + ut or equivalently yt = yt− 1 + ut Random Walk with a drift: yt = μ + yt− 1 + ut Trend stationary: yt = μ + βt + ut Each of these can be characterized as (1 − L)yt = α + εt, where εt is white noise.

2.4.1 Integrated processes and differencing

  • Take a random walk with a drift, and substitute lags back to infinity, and you get: yt = μ + yt− 1 + εt =

∑^ ∞

i=

(μ + εt−i) The expected value and variance grows to infinity as t grows.

  • Now take the first difference:

yt − yt− 1 =

∑^ ∞

i=

(μ + εt−i) −

∑^ ∞

i=

(μ + εt−i)

∆yt = μ + εt

which is a white noise process.

  • Note that a unit root implies that past levels of y do not provide any infor- mation for explaining the change y at t.
  • The series yt is integrated of order one, or I(1) because first difference of yt are stationary.
  • A series that becomes stationary after d differences is I(d); integrated of order d.
  • For an individual (univariate) time series, the solution to the estimation prob- lems associated with a unit root is to difference the data until it is I(0). Then proceed with estimation.
  • For two or more related series in a regression, differencing of the data is not necessary for consistent parameter estimation if the series are cointegrated. More on this later. Now consider how to test for nonstationarity of a single series.

2.4.2 Dickey-Fuller stationarity tests

Consider a univariate autoregressive relationship that nests the possibility of a ran- dom walk, a random walk with a drift, and a trend stationary series:

(1 − γL)(yt − α − βt) = εt (1 − γL)yt − (1 − γ)α − (1 − γL)βt = εt

Note that (1 − γL)βt = β(t − γ(t − 1)) = β(1 − γ)t + βγ, so

yt = [α(1 − γ) + βγ] + β(1 − γ)t + γyt− 1 + εt.

A more convenient form is generated by subtracting yt− 1 from both sides:

∆yt = [α(1 − γ) + βγ] + β(1 − γ)t + (γ − 1)yt− 1 + εt, define γ∗^ = γ − 1 , = [−αγ∗^ + β(γ∗^ − 1)] − βγ∗t + γ∗yt− 1 + εt.

Given a unit root, γ∗^ = 0, and the above equation collapses to

∆yt = β + εt,

which is stationary as a first difference.

Constant and trend :∆yt = μ + βt + γ∗yt− 1 Constant only :∆yt = μ + γ∗yt− 1 no constant, trend :∆yt = γ∗yt− 1

2.4.3 DF tests for AR(p) processes

Same concept, but add lagged differences (out to p − 1) on the right hand side:

∆yt = μ + βt + γ∗yt− 1 + φ 1 ∆yt− 1 + φ 2 ∆yt− 2 + · · · + φp∆yt−(p−1).

where, ∆yt−i is the ith lag of the first-difference of the dependent variable (first difference of yt). The Augmented Dickey Fuller test is carried out by testing β = γ∗^ = 0. Compare to the ADF critical values. Once we have have a stationary series, then we can begin to examine the data series model more closely and (ultimately) consistently estimate the parameters of a model.

2.5 Autocovariances and Autocorrelations

Our goal is to characterize the relationship between yt and lags of yt. the estimated counterparts to various autocorrelation functions help us do that; which will in turn provide guidance for how to estimate the dynamic structure of a time-series.

Notation:

  • λk = Cov[yt, yt−k] is the autocovariance coefficient between yt and yt−k. λ 0 ≡ Var[yt].
  • The Autocovariance function is the (possibly infinite) series of covariances λ 0 , λ 1 , λ 2 · · ·.
  • The autocorrelation coefficient is ρk = √Var(E[yty)t√ytVar(−k^ ]yt−k ) = λ λk 0.
  • The Autocorrelation function (ACF) is the autocovariance function di- vided through by λ 0.

For estimation we will work mainly with the ACF and the Partial Autocor- relation function (PACF), to be defined later, but we need the autovariances to calculate the ACFs.

2.5.1 Variance of y

In general, C(L)yt = μ + R(L)εt, so

yt = (^) Cμ(1) + A(L)εt where A(L) = R(L)/C(L). = (^) Cμ(1) +

∑^ ∞

i=

αiεt−i. then

λ 0 = Var[yt] =

∑^ ∞

i=

α^2 i σ^2 ε.

2.5.2 Example: ACF for AR(2)

yt = γ 1 yt− 1 + γ 2 yt− 2 + εt, the ACF is a function of γ 1 , γ 2 , and σ ε^2. Start by multiplying both sides by yt and take expectations:

E[ytyt] = E[yt(γ 1 yt− 1 + γ 2 yt− 2 + εt)] = λ 0 = γ 1 λ 1 + γ 2 λ 2 + E[ytεt]. E[ytεt] = E[(γ 1 yt− 1 + γ 2 yt− 2 + εt)εt] = E[εtεt] = σ^2 ε , so λ 0 = γ 1 λ 1 + γ 2 λ 2 + σ^2 ε. similarly, λ 1 = E[ytyt− 1 ] = E[yt− 1 (γ 1 yt− 1 + γ 2 yt− 2 + εt)] = γ 1 λ 0 + γ 2 λ 1 λ 2 = E[ytyt− 2 ] = E[yt− 1 (γ 1 yt− 2 + γ 2 yt− 3 + εt)] = γ 1 λ 1 + γ 2 λ 0

NOTE: the ACF for an MA(q) goes to zero abruptly at lag q.

exercises: Derive the ACF for an MA(1), then for an ARMA(1,1): (1 − γL)yt = (1 − θL)εt.

2.6 Partial Autocorrelation coefficients

The Autocorrelation is the gross correlation λk between yt and yt−k. The partial autocorrelation, ρ∗ k is the simple linear correlation between yt and yt−k after accounting for the effects of intervening lags. e.g., for AR(1), yt = γyt− 1 +εt, the correlation coefficient is ρ 2 = corr(yt, yt− 2 ) = γ^2. If we remove the effect of yt− 1 on yt, then yt− 2 will have no effect on yt.

ρ∗ k can be calculated as the kth^ parameter estimate in an AR(k) process:

yt = ρ∗ 1 yt− 1 yt = β 1 yt− 1 + ρ∗ 2 yt− 2 yt = β 1 yt− 1 + β 2 yt− 2 + ρ∗ 3 yt− 3 etc.

  • ρ 1 = ρ∗ 1 for any process.
  • For an ARMA(p,0) process, ρ∗ k = 0 for k > p.

PACF for ARMA(0,q): yt = μ + R(L)εt, and with invertibility R(L)−^1 (yt − μ) = εt. This implies: yt = (^) Rμ(L) +

∑^ ∞

i=

πiyt−i + εt,

which is an AR(∞). Given invertibility, the πi will tend to dampen as i become larger.

2.7 Sample counterpart to the ACF, PACF

The sample ACF is often called the autocorrelogram or periodogram , and is calculated just as any standard correlation coefficient. Given that y is measured in deviations from mean ¯y,

rk =

∑T

t= ∑k+1T ytyt−k t=1 y^2 t

The sample PACF , or the partial autocorrelogram could be estimated based on the progressive regressions above, but usually they are estimated in the following way: Regress yt and yt−k (separately) on

[

1 yt− 1... yt−(k−1)

]

, and calculate the residuals, y∗ t and y t∗−k from these regressions.

r∗ k =

∑T

∑tT=k+1^ y∗^ t^ y∗^ t−k t=k+1(y∗ t−k)^2

Seasonality in ARMA models The basics are a straightforward extension of basic ARMA processes. we will not discuss in class, but understand how to im- plement seasonal differences and seasonal lags in an ARIMA framework. Refer to Greene section 18.3.5 (very short).

  • estimation, which refers to the process of estimating the parameters based on either OLS, or if necessary conditional NLS or ML methods.
  • Forecasting based on the estimated parameters and their estimated vari- ances. NOTE: this class will only scratch the surface of ARIMA modeling. Take STAT 516 for a more complete treatment.

2.8.1 Identification and testing for white noise

The goal of the Box-Jenkins approach is to specify the most parsimonious model that provides you with white noise errors. Once you have a stationary series, you can test for non-zero ACFs and PACFs. ACFs and PACs will be approximately N(0,1/T) under the null hypothesis of white noise. A test statistic for the joint test of whether all elements of the ACF (PACF) are white noise up to lag p is Ljung-Box Q statistic:

Q′^ = T (T + 2) ∑^ p k=

r^2 k T − k. Process of model identification for a stationary series:

  1. generate the autocorrelogram and partial autocorrelogram for the series. If, for any lag, the Q statistic leads to rejection of the null hypothesis of white noise in the ACF and/or PACF, then add AR or MA model components based on the structure of the ACF and PACF.
  2. Test for white noise in the residuals of the ARIMA model you have specified. If tests indicate white noise for all lags in the correlograms, then stop. Else, respecify the model and check the residuals again for white noise.
  3. Akaike and Schwartz information criterion can also be used to help select a model specification.

2.8.2 Estimation of ARIMA models

the Wold Decomposition theorem states that every zero-mean covariance stationary series C(L)yt = μ + R(L)εt can be represented as

yt = ∑^ p i=

γiyt−i +

∑^ ∞

i=

πiεt−i.

If we are able to specify our model such that πi = 0 for all i (that is, no MA disturbance process), then a the model

yt = ∑^ p i=

γiyt−i + εt, εt ∼ white noise

could be estimated consistently with OLS. If MA errors persist, Nonlinear models are required. Consider a simple model with MA(1) errors ut = θεt− 1 − εt, and start at t = 1.

y 1 = μ + ε 1 − θε 0 → ε 1 = y 1 − μ + θε 0 y 2 = μ + ε 2 − θε 1 = (1 + θ)μ − θy 1 − θ^2 ε 0 + ε 2 ... · · ·

yt = μ ∑^ t−^1 s=

θs^ −

t∑− 1 s=

θsyt−s − εt − αsε 0.

  • If ε 0 = 0 this is just a nonlinear regression function of μ and θ that explicitly depends on the sample size. Thus, nonlinear least squares is often used.
  • In practice, we don’t know what the true value of ε 0 is. Often ε 0 = 0 is used, so the model is actually conditional nonlinear least squares model. More sophisticated means of estimating ε 0 are available too. With more complicated ARIMA models, the estimated model can become quite complicated.

3 Autoregressive distributed lag models

Reading: G[19], DM[13], K[18]

3.1 Distributed Lags

Distributed lags deal with the current and lagged effects of an independent variable on the dependent variable. That is:

yt = α + β 0 xt + β 1 xt− 1 + β 2 xt− 2 +... + et = α +

∑^ ∞

i=

βixt−i + et

The effect of x on y is distributed over time:

  • The immediate effect is β 0 (AKA impact multiplier);
  • The long-run effect over all future periods is ∑^ βi (AKA equilibrium mul- tiplier);
  • The mean lag is ∑∞ i=1∑∞ j^ iβ=0i βj = ∑∞ i=1 iwi The problem with the above model: an infinite number of coefficients. Two feasible approaches are:
  • Assume βi = 0 for i > some finite number.
  • Assume that βi can be written as a function of a finite number of parameters for all i = 1 to ∞.

3.2 Finite distributed lags

Consider the model yt = α + β 0 xt +... + βpxt−p + εt. No restrictions are placed on the coefficients of the current and lagged values of x, but we need to decide on p.

t-tests are usually not good for selecting lag length because lagged values of x are likely to be highly correlated with current values. i.e. t-tests will have low power. Two better approaches, both based on the assumption that you know some upper bound P for the lag length:

  • Choose the lag length p ≤ P that maximizes R¯^2 or minimizes the Akaike Info. Criterion (AIC) = ln

( (^) e′e T

  • (^2) Tp.
  • Start with high P and do F-tests for joint significance of βi. Successively drop lags. Stop dropping lags as soon as Ho : βi = 0∀i is rejected. Both methods tend to “overfit” (leave too many lags in), so high significance levels should be used for the F-test (e.g. α = .01).

3.3 Geometric Lag models

Two models, the Adaptive Expectations Model and the Partial Adjustment Model have been used a great deal in the literature. They are two specific models that imply a specific form of infinite distributed lag effects called Geometric lags.

3.3.1 Partial Adjustment Model

Suppose the current value of the independent variables determines the desired value or goal for the dependent variable:

y∗ t = α + βxt + εt,

but only a fixed fraction of desired adjustment is accomplished in one period (it takes time to build factories, restock diminished inventories, change institutional