class: center, middle, inverse, title-slide .title[ # Day 5: Wrapping Up Time Series ] .subtitle[ ## Equation Balance ] .author[ ### Robert W. Walker ] .date[ ### August 12, 2022 ] --- # Outline for Day 5 1. Background on IV 2. Structural Systems of Equations 3. ARCH/GARCH 4. Other Advances in Time Series 5. Equation Balance --- ## Day 5: Time Series Grab Bag --- ## Instrumental Variables A simple system. `$$y_{1}^{*} = X_{1} \beta_{1} + \alpha_{1} y_{2}^{*} + \epsilon_{1}$$` `$$y_{2}^{*} = X_{2} \beta_{2} + \alpha_{2} y_{1}^{*} + \epsilon_{2}$$` - `\(X_{1}\)` and `\(X_{2}\)` are sets of exogenous variables that satisfy rank and order conditions - `\(\epsilon_{1}\)` and `\(\epsilon_{2}\)` are bivariate normal random errors with correlation `\(\rho\)`, and `\(\beta\)` and `\(\alpha\)` are parameters to be estimated. What are these rank and order conditions? --- ## Rank In a system of G equations any particular equation is identified **if and only if** it is possible to construct at least one non-zero determinant of the order (G-1) from the coefficients excluded from that particular equation but contained in other equations of the model. A sufficient condition for the identification of a relationship is that the rank of the matrix of parameters of all the excluded variables (endogenous and pre-determined) from that equation be equal to (G-1). This is an application of the rank of a matrix -- the number of linearly independent columns. --- .pull-left[ ![Screenshot](img/Ident.png) ] .pull-right[ In order to check the rank condition for the first equation we have to proceed as follows: Delete the first row and collect the columns for those variables of the first equation that were marked with zero. For equation 1, y and X2 was marked with zero, and if we collect those two columns we receive: If this matrix contains less than M-1 rows or columns where all elements are zero, equation 1 will not be identified. m refers to the number of equation just as in the order condition, which means that M-1=2. Since we have two rows and two columns and none of them contains only zeros we conclude that equation 1 is identified. [Citation:](https://ebrary.net/1028/economics/identification) ] --- ## Order 1. For an equation to be identified the total number of variables excluded from it must be equal to or greater than the number of endogenous variables in the model less one. OR 1. For an equation to be identified the total number of variables excluded from it but included in other equations must be at least as great as the number of equations in the system less one. Let: G = total number of equations (total number of endogenous variables. K= total number of variables in the model (endogenous and pre-determined). M = number of variables, endogenous and pre-determined, in a particular equation. `$$K-M \geq G-1$$` The order condition is a necessary condition for identification but it is not sufficient. --- ## Application to Structural Systems To acquire estimates of the system, each equation must be at least identified. To confirm this, one must at least utilize the rank condition from above. Why is identification important? It means that there is at least some unique information applied to each endogenous element. --- ## GARCH Models We are most often concerned with non-stationarity in the mean. There is an entire suite of models, particularly used in finance applications with high frequency data focused on variance. These are known as AutoRegressive Conditional Heteroscedasticity Models or ARCH models. A simple univariate model: `$$y_t = a_0 + a_1 y_{t-1} + e_t$$` where `$$e_t = v_t h_{t}^{\frac{1}{2}}$$` with `\(v_t\)` as white noise. Thus, the conditional variance of the series is given by `$$h_t = \alpha_{0} + \alpha_{1} e^{2}_{t-1}$$` --- ## Finding ARCH 1. Estimate some best model for your time series. 1. Isolate residuals and square them -- variance. 1. Estimate a regression of current squared errors on `\(n\)` lags of the prior [squared] error. 1. The test statistic is T (basically N) times `\(R^2\)` is distributed `\(\chi^2\)` with `\(n\)` degrees of freedom under the null hypothesis of no ARCH effects. --- ## Other Advances Fractional integration methods. Structural breaks: see Jong Hee Park's work. Unit roots in the presence of breaks... --- ## Equation Balance .pull-left[ Their definition ] .pull-right[ ![](img/Screen Shot 2022-08-12 at 4.53.07 AM.png) ] --- ## How to Use It .pull-left[ Can apply to both the theoretical and the empirical model. ] .pull-right[ ![](img/Screen Shot 2022-08-12 at 4.56.46 AM.png) ] --- ## A Summary Paper to Think About Andy Phillips has a recent paper on inference in dynamic settings. It is in the box for day 5. The paper is: **How to avoid incorrect inferences (while gaining correct ones) in dynamic models**