Description Usage Arguments Details Value Author(s) References See Also Examples
Fits an autoregressive quantile model with realized measures.
1 |
r |
Vector returns on an asset. |
p |
Probability level of the quantile (scalar). |
x |
Vector of observations for a realized measure. |
model |
Type of model. "s" is default. See the details. |
sv |
Vector of starting values. This is an optional argument. |
Parameters are estimated minimizing the quantile loss function. Optimization is performed with the optim()
function
alternating "BFGS" and "Nelder-Mead" algorithms until convergence as in Engle and Manganelli (2003).
model
currently allows to select one quantile models: "s". For a quantile q^{p} at level p the model is
q^{p}_t = b_0 + b_1 q^{p}_{t-1} + b_2 x_{t-1}
where x_{t-1} is the lagged value of the realized measure.
A list containing:
estimates
Vector of estimated parameters.
value
Minimized value of the loss function.
q
Vector of fitted quantiles.
Luca Trapin
Engle, R. F., and Manganelli, S. (2004). CAViaR: Conditional autoregressive value at risk by regression quantiles. Journal of Business & Economic Statistics, 22(4), 367-381.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.