



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































reading: G[19,20], DM[13].
Many models in economics related to dynamic behavior:
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
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.
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).
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:
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
i=
(μ + εt−i) The expected value and variance grows to infinity as t grows.
yt − yt− 1 =
i=
(μ + εt−i) −
i=
(μ + εt−i)
∆yt = μ + εt
which is a white noise process.
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.
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:
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.
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.
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.
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= ∑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 =
∑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).
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:
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.
3 Autoregressive distributed lag models
Reading: G[19], DM[13], K[18]
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:
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:
( (^) e′e T
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