| qpm_solve | R Documentation |
Reduces the model to first-order form (adding auxiliary states for lags/leads beyond one quarter), computes the steady state, and solves for the unique stable rational-expectations solution
x_t = P x_{t-1} + Q e_t
via the generalized Schur (QZ) decomposition (Klein 2000), with full Blanchard-Kahn diagnostics.
qpm_solve(model, tol = 1e-07)
model |
A |
tol |
Numerical tolerance for the solution residual check. |
An object of class qpm_solution with elements P, Q
(transition and impact matrices over the expanded state vector),
ss (steady state), and an eigenvalue table (see eigen_table()).
Klein, P. (2000). Using the generalized Schur form to solve a multivariate linear rational expectations model. Journal of Economic Dynamics and Control, 24(10), 1405-1423.
sol <- qpm_solve(qpm_template("bkl"))
sol
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.