Description Usage Arguments Details Value Author(s) References See Also Examples
Solve a DSGE model using Uhlig's method.
1 |
A,B,C,D |
The ‘uhlig’ function requires the three blocks of matrices, with 12 matrices in total. The A, B, C, and D matrices form the deterministic block. |
F,G,H,J,K,L,M |
The F, G, and H matrices form the expectational block for the control variables. The J and K matrices are for the ‘jump’ variables, and L and M are for the exogenous shocks. |
N |
The N matrix defines the autoregressive structure of any exogenous shocks. |
whichEig |
The function will return the eigenvalues and (right) eigenvectors used to construct the solution matrices, with the eigenvalues sorted in order of smallest to largest (in absolute value). By default, BMR will select the first (smallest) m eigenvalues (out of a total of 2m eigenvalues). However, if you prefer to select the eigenvalues yourself, then enter a numeric vector of length m indicating which elements of the eigenvalue matrix you wish to use. |
For the technical details of Uhlig's method, see the accompanying vignette.
The function returns an object of class ‘uhlig’, which contains:
N |
The user-specified N matrix, defining the autoregressive structure of any exogenous shocks. |
P |
The P matrix from Uhlig's solution. |
Q |
The Q matrix from Uhlig's solution. |
R |
The R matrix from Uhlig's solution. |
S |
The S matrix from Uhlig's solution. |
EigenValues |
The sorted eigenvalues that form the solution to the P matrix. If a situation of plus/minus infinity in the real part of an eigenvalue (with a corresponding NaN-valued imaginary part) arises, the eigenvalue will be set to 1E+07 +0i. |
EigenVectors |
The eigenvectors corresponding to the sorted eigenvalues. |
Keith O'Hara
Uhlig, Harald, A Toolkit for Analysing Nonlinear Dynamic Stochastic Models Easily Computational Methods for the Study of Dynamic Economics, Oxford University Press, 1999.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.