| obc_constraint | R Documentation |
Specifies an inequality constraint for use with simulate_occbin.
obc_constraint(variable, type = ">=", bound = 0, shock = NULL)
variable |
Character. Name of the constrained variable (must be a control variable in the model). |
type |
Character. Either |
bound |
Numeric. The constraint bound. For models with steady state, this is in levels; for linear models, in deviations. |
shock |
Character or |
An obc_constraint object.
# Zero lower bound on nominal interest rate
obc_constraint("r", ">=", 0)
# Upper bound on debt ratio
obc_constraint("b", "<=", 0.6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.