Derivations for Max Share Identification Method
Matthew DeHaven
January 16, 2023
derivations.Rmd
Article explaining the mathematics behind the two key
fevdid
functions:
Structural Vector Autoregression (SVAR)
A SVAR(p) model with lags, for a vector of variables , assumes the data generating process is accurately represented as, 1
where are mean zero structural shocks, with a serially uncorrelated diagonal covariance matrix of ,
and are matrices of coefficients.
Empirically, however, only the following matrices of coefficients and vector of reduced form residuals are observed,
$$ y_t = \underbrace{B_0^{-1}B_1}_{A_1} y_{t-1} + ... + \underbrace{B_0^{-1}B_p}_{A_p} y_{t-p} + \underbrace{B_0^{-1} w_t}_{u_t} \\ y_t = A_1 y_{t-1} + ... + A_p y_{t-p} + u_t $$
Identification Problem
We observe reduced form residuals, , but want the structural shocks, .
At this point, WLOG, assume that .
This implies that .
In order to identify the structural shocks, we simply need to know the structural impact matrix, , or equivalently, the inverse .
Impulse Response Functions (IRF) and Forecast Errors
It will be useful for the max share method to show the impulse response and forecast error definitions
IRFs
IRFs give the responses of each variable in for any horizon to a one-time impulse at time to each structural shock, ,
The IRF for the response of variable to an impulse for structural shock at horizon is denoted,
Let the impulse responses to the reduced form residuals be similarily denoted as, $$ \Phi_i \equiv \frac{\partial y_{t+i}}{\partial u_t} \hspace{1cm} i = 0, 1, 2, ..., H \\ \phi_{kj,i} \equiv \frac{\partial y_{k, t+i}}{\partial u_{jt}} $$
And we can map between the two using the impact matrix, $$ \Theta_i = \Phi_i B_0^{-1} \\ \theta_{kj,i} = [\Phi_i B_0^{-1}]_{kj} $$
Letting denote the th row of and denote the th column of , then
Forecast Errors
Let denote -step ahead forecast errors,
Which, for a VAR process, can be denoted in terms of the redcued form IRFs, ,
Forecast Error Variance (FEV)
The FEV, also known as the predicted mean squared error, is then calculated as $$ FEV_h \equiv E[F_{t+h}F_{t+h}^\prime] \\ = \sum_{i=0}^{h-1} \Phi_i \Sigma_u \Phi_i^\prime = \sum_{i=0}^{h-1} \Phi_i B_0^{-1} B_0^{-1^\prime} \Phi_i^\prime = \sum_{i=0}^{h-1} [\Phi_i B_0^{-1}] [\Phi_i B_0^{-1}]^\prime $$
The FEV for impulse contribution to variable is then denoted as, $$ FEV_{kj,h} = \sum_{i=0}^{h-1} [\Phi_i B_0^{-1}]_{jk} [\Phi_i B_0^{-1}]_{jk}^\prime \\ = \sum_{i=0}^{h-1} \Phi_{k*,i} B_{0,*j}^{-1} [\Phi_{k*,i} B_{0,*j}^{-1}]^\prime \\ = \sum_{i=0}^{h-1} \Phi_{k*,i} B_{0,*j}^{-1} B_{0,*j}^{-1\prime} \Phi_{k*,i}^\prime $$
Since is a single number (not a matrix), we can rearrange to $$ = \sum_{i=0}^{h-1} B_{0,*j}^{-1\prime} \Phi_{k*,i}^\prime \Phi_{k*,i} B_{0,*j}^{-1} \\ = B_{0,*j}^{-1\prime} \sum_{i=0}^{h-1}\left[\Phi_{k*,i}^\prime \Phi_{k*,i}\right] B_{0,*j}^{-1} $$
Max Share Identification Method - Time Domain
Pick a structural shock by choosing the weights for that maximize the forecast error variance for the horizon in
Solve the maximization problem:
This is equivalent to solving
Which is maximized when is the eigenvector associated with the largest eigenvalue of the matrix .
There’s a piece missing here, which is that can be decomposed into a Choleskey matrix and rotation matrix Q, then the maximization problem becomes picking a column of Q.
Max Share Identification Method - Frequency Domain
Pick a structural shock by choosing the weights for that maximize the forecast error variance for the frequencies in
Solve the maximization problem:
This is equivalent to solving
where is the impulse response function for a specific frequency . The next sections show how to calculate this value.
Solving for IRF in frequency space
Note: One approximate solution is to calculate the time domain IRF out to long horizon (say 1000 periods), then take the fourier transformation, keep only the frequencies you want, square the contributions, and maximize the real value portion.
Representing VAR(p) as a VAR(1)
First it’s easiest to work with the VAR(1) process instead of the VAR(p) 2
. . .
. . .
Calculating the spectrum for an MA()
Now, we can calculate the spectrum using 4
. . .
The key here is that we end up getting to,
which is essentially solving out for the entire path of IRFs by inverting, and making the Fourier transformation at the same time.
. . .
Resources
Hamilton, James D. Time Series Analsysis. Chapter 6: Spectral Analysis. Pg 152 - 172. In particular, page 154 for deriving the population spectrum for a MA(infinity) process.
Kilian, Lutz and Lutekepohl Helmut. Structural Vector Autoregressive Analysis. (2017). In particular,
- Chapter 1: Introduction for SVAR notation.
- Chapter 2: Vector Autoregressive Models. Pg 19 - . Specifically, page 25 for representing a VAR(p) process as a VAR(1) process.
Angeletos, George-Marios, Fabrice Collard, and Harris Dellas. (2020). “Businsess Cycle Anatomy”. American Economic Review, 110(10): 3030 - 3070. In particular, pages 3036 - 3037 for derivations.