logical, if also expectiles should be computed, default: TRUE.
plot
plot the results?, default: FALSE.
ggplot
plot the results with ggplot2?, default: FALSE.
text_ylim
y coordinate for annotation in ggplot2, default: -0.15.
size
size of the text indicating the risk measures in the plot, default: 1.
Details
VaR are computed using the q() call of the fitted distribution.
ES is computed directly (i.e. the integrals are precomputed, not numerically)
as an integral of the quantile function.
Expectiles can be obtained as a unit-root solution of the identity between quantiles
and expectiles. These are equivalent for corresponding \(\tau\) and \(\alpha\)
if $$\tau=(\alpha q(\alpha) -G(\alpha))/(\mu - 2G(\alpha)-(1-2\alpha)q(\alpha))$$ where \(\mu\)
is mean, \(q()\) is the quantile function and \(G(\alpha) =\int_{-\infty}^{q(\alpha)} y dF(y)\).