Description Usage Arguments Value Details Author(s) References
Function returns the MedRV, defined in Andersen et al. (2009).
Let r_{t,i} be a return (with i=1,…,M) in period t.
Then, the MedRV is given by
\mbox{MedRV}_{t}=\frac{π}{6-4√{3}+π}≤ft(\frac{M}{M-2}\right) ∑_{i=2}^{M-1} \mbox{med}(|r_{t,i-1}|,|r_{t,i}|, |r_{t,i+1}|)^2
1 |
rdata |
a zoo/xts object containing all returns in period t for one asset. |
... |
additional arguments. |
numeric
The MedRV belongs to the class of realized volatility measures in RTAQ that use the series of high-frequency returns r_{t,i} of a day t to produce an ex post estimate of the realized volatility of that day t. MedRV is designed to be robust to price jumps. The difference between RV and MedRV is an estimate of the realized jump variability. Disentangling the continuous and jump components in RV can lead to more precise volatility forecasts, as shown in Andersen et al. (2007) and Corsi et al. (2010).
Jonathan Cornelissen and Kris Boudt
Andersen, T. G., D. Dobrev, and E. Schaumburg (2009). Jump-robust volatility estimation using nearest neighbor truncation. NBER Working Paper No. 15533.
Andersen, T.G., T. Bollerslev, and F. Diebold (2007). Roughing it up: including jump components in the measurement, modelling and forecasting of return volatility. The Review of Economics and Statistics 89 (4), 701-720.
Corsi, F., D. Pirino, and R. Reno (2010). Threshold Bipower Variation and the Impact of Jumps on Volatility Forecasting. Journal of Econometrics 159 (2), 276-288.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.