| qpm_risk | R Documentation |
Central banks rarely believe their fan charts are symmetric: the
published judgement is usually "risks to inflation are tilted to the
upside". qpm_risk() applies that judgement, replacing the Gaussian
bands of a forecast with two-piece normal bands whose mode stays on
the model's projection while the mean shifts by the stated skew.
Total uncertainty is preserved: the variance implied by the model at
each horizon is held fixed, so a skew redistributes risk rather than
adding it.
qpm_risk(fc, ..., author = "MPC", rationale = "")
fc |
A |
... |
Named skews: one argument per variable, each a named vector
of mean minus mode by period, e.g. |
author, rationale |
Recorded with the risk assessment, as for judgement. |
The skew is stated in the variable's own units as mean minus mode —
a value of 0.3 on inflation means the risks are worth 0.3
percentage points to the upside. Skews may be given for any subset of
variables and horizons; anything unstated keeps symmetric bands.
Unlike add_judgment(), which moves the projection itself and
back-solves the shocks that support it, this changes only the shape of
the distribution around an unchanged central path.
The forecast with skewed bands. $risk records the skews and
$paths gains a mode column alongside mean.
sol <- qpm_solve(qpm_template("bkl"))
fc <- qpm_forecast(sol, horizon = 8)
risky <- qpm_risk(fc, pi = 0.4, author = "MPC",
rationale = "energy prices tilted to the upside")
risky
plot(risky, vars = c("pi", "i"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.