Description Usage Arguments Details Value Author(s) References
View source: R/rpot.forecast.R
Computes one-day-ahead forecasts of Value at Risk (VaR) and Expected Shortfall (ES) for a fitted RPoT model.
1 | rpot.forecast(fit, x, alpha)
|
fit |
Output object of the |
x |
Vector of realized measures used in the forecast. The intercept must be included. |
alpha |
Probability level for the computation of the risk measures. |
The risk measures are computed as in Bee et al. (2019):
VaR^{α}=q+\frac{σ}{ξ}≤ft(\frac{φ}{1-α}^{ξ}-1\right)
ES^{α}=\frac{VaR^{α}}{1-ξ}+\frac{σ-qξ}{1-ξ}
A list containing:
parameters
Vector containing the forecasts of phi, sigma, and xi.
var
Var forecast at level alpha.
es
ES forecast at level alpha.
Luca Trapin
Bee, M., Dupuis, D. J., and Trapin, L. (2019). Realized Peaks over Threshold: A Time-Varying Extreme Value Approach with High-Frequency-Based Measures. Journal of Financial Econometrics, 17(2), 254-283.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.