View source: R/blocks_library.R
| block_fx_intervention | R Documentation |
Turns the template's floating exchange rate into a managed one. A
leaning-against-the-wind rule responds to the real exchange rate gap,
and intervention enters the UIP block directly, so the same model
spans a continuum of regimes: intensity = 0 is a free float,
moderate values a managed float, and large values approach a peg.
Program countries — where reserves, not just the policy rate, are the
operative instrument — live in the middle of that range.
block_fx_intervention(intensity = 1, persistence = 0.6, sd = 1)
intensity |
Scales both the intervention response to the RER gap
and its effect on the exchange rate. |
persistence |
Persistence of intervention ( |
sd |
Standard deviation of the discretionary intervention shock. |
fx_int is intervention intensity, positive meaning sales of foreign
exchange in support of the domestic currency (which appreciates the
real exchange rate, lowering q).
A qpm_block().
float <- qpm_solve(qpm_template("bkl"))
managed <- qpm_solve(add_block(qpm_template("bkl"),
block_fx_intervention(intensity = 1)))
# the same risk-premium shock moves the exchange rate less under management
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.