var.vio | R Documentation |
var.vio function returns a violation process for the intra-day VaR curves.
var.vio(yd, var_curve)
yd |
A (grid_point) x (number of observations) matrix drawn from N functional curves. |
var_curve |
A (grid_point) x (number of observations) matrix storing the forecasts of intra-day VaR curves. |
Given the intra-day return curves x_i(t)
, and the forecasts of intra-day VaR curves \widehat{VaR}_i^\tau(t)
obtained from var.forecast
, the violation process Z_i^\tau(t)
can be defined as,
Z_i^\tau(t)=I(x_i(t)<\widehat{VaR}_i^\tau(t))
, for 1\leq i \leq N
, t\in[0,1]
, and \tau \in [0,1]
,
where I(\cdot)
is an indicator function.
A violation process of the intra-day return curves based on the forecasts of intra-day VaR curves.
Rice, G., Wirjanto, T., Zhao, Y. (2020). Forecasting Value at Risk via intra-day return curves. International Journal of Forecasting. <doi:10.1016/j.ijforecast.2019.10.006>.
var.forecast
var.backtest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.