View source: R/HelperFunctions.R
steadystate_checker | R Documentation |
Compare variables in the final period of the simulation to their respective steady state value (given the exo. paramters).
steadystate_checker(sim_data, parameter_grid, solow_variant)
sim_data |
The tibble that is being filled in the simulation function, e.g. |
parameter_grid |
The output from |
solow_variant |
String indicating the model, such as "BS" or "ESHC". |
This function presumes that the number of periods simulated were such that the final values are near steady state. If the steady state path is disrupted by a parameter change in the second to last period, this function will yield misleading results.
The column "Economy in SS" is evaluated as TRUE when the simulated value is within a .1% interval around the steady state value for reason of computational inacurracy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.