| simulate_2nd_order | R Documentation |
Simulates sample paths using the pruned second-order approximation following Kim, Kim, Schaumburg, and Sims (2008).
simulate_2nd_order(sol, n = 200L, n_burn = 100L, seed = NULL)
sol |
A |
n |
Integer. Number of periods to simulate. |
n_burn |
Integer. Burn-in periods to discard. Default 100. |
seed |
Random seed. |
A list with states, controls, state_levels,
control_levels matrices (n x n_vars).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.