Description Usage Arguments Value Author(s) References Examples
Function returns the vectorization of the lowest triangular of the Realized Covariance matrices for different frequencies.
1 2 3 4 5 6 |
data |
a |
freq |
a string defining the desired frequency for the Realized Covariance matrices between "daily", "monthly", "quarterly" or "yearly" |
make.ret |
boolean, in case it is |
cholesky |
boolean, in case it is |
Realized Covariances |
a M \times N(N+1)/2 matrix of realized covariances, where M is the number of lower frequency data |
Cholesky Factors (optional) |
a M \times N(N+1)/2 matrix of Cholesky factors of the realized covariance matrices, where M is the number of lower frequency data |
returns (optional) |
a T \times N matrix of returns, when |
Andrea Bucci
Andersen T.G., Bollerslev T., Diebold F.X. and Labys P. (2003), Modeling and Forecasting Realized Volatility. Econometrica. 71: 579-625
Barndorff-Nielsen O.E. and Shephard N. (2002), Econometric analysis of realised volatility and its use in estimating stochastic volatility models Journal of the Royal Statistical Society. 64(2): 253-280
1 2 3 | data(Sample5minutes)
rc <- rcov(Sample5minutes, freq = 'daily', cholesky = TRUE, make.ret = TRUE)
print(rc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.