PerturbationDSGESolution#
- class cultivars.multivariate.structural.perturbation.PerturbationDSGESolution(*, h_x, g_x, h_xx, g_xx, h_ss, g_ss, eta, x_ss, y_ss, order)[source]#
A second-order perturbation solution in Schmitt-Grohe-Uribe form.
With \(x\) the predetermined states (deviations from steady state) and
ythe controls:y = g_x x + 1/2 g_xx (x kron x) + 1/2 g_ss sigma^2 x' = h_x x + 1/2 h_xx (x kron x) + 1/2 h_ss sigma^2 + eta eps'
- Variables:
h_x (
NDArray[double]) –(n_x, n_x)first-order state transition.h_xx (
NDArray[double]) –(n_x, n_x * n_x)second-order state coefficients, acting onx kron x.g_xx (
NDArray[double]) –(n_y, n_x * n_x)second-order policy coefficients.h_ss (
NDArray[double]) –(n_x,)risk correction of the states.g_ss (
NDArray[double]) –(n_y,)risk correction of the controls.order (
int) –1or2; at order one every second-order block is zero.
See also
PerturbationDSGESolution– the public name of this class.PerturbationDSGE.solve()– returns an instance._PerturbationModel._solve()– returns an instance._PerturbationModel.solve()– returns an instance._solve_perturbation()– returns an instance._PerturbationFit.solution– holds an instance.
Attributes#
First-order state transition, |
|
First-order control policy, |
|
Second-order state coefficients, |
|
Second-order control coefficients, |
|
Risk correction of the states, |
|
Risk correction of the controls, |
|
Shock loading on the states, |
|
Steady-state values of the states, |
|
Steady-state values of the controls, |
|
Approximation order, |
|
Whether the first-order state transition is a contraction. |
|
Non-predetermined variables. |
|
Structural shocks. |
|
Predetermined states. |