| simulate_3rd_order | R Documentation |
Simulates sample paths using the pruned third-order approximation following Andreasen, Fernandez-Villaverde, and Rubio-Ramirez (2018).
simulate_3rd_order(sol, n = 200L, n_burn = 200L, seed = NULL)
sol |
A |
n |
Integer. Number of periods to simulate. |
n_burn |
Integer. Burn-in periods to discard. Default 200. |
seed |
Random seed. |
Pruning tracks first-, second-, and third-order state components separately and combines them, avoiding explosive simulation paths.
A list with states, controls, state_levels,
control_levels (all n x n_vars matrices), plus order = 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.