| irf_2nd_order | R Documentation |
Computes impulse-response functions using the second-order solution. These differ from first-order IRFs because responses depend on the initial state and shock sign.
irf_2nd_order(sol, shock, size = 1, periods = 40L, initial = NULL)
sol |
A |
shock |
Character. Name of the shock. |
size |
Numeric. Shock size in standard deviations. Default 1. |
periods |
Integer. Number of IRF periods. Default 40. |
initial |
Named numeric vector of initial state deviations. Default is zero (ergodic mean under second-order). |
A data frame with columns: period, variable, response, type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.