Description Usage Arguments Details Value Author(s) References See Also Examples
Realized variance using the two timescale variance method.
1 | rv.timescale(x, period, align.by="seconds", align.period = 1, adj.type = "classic", cts = TRUE, makeReturns = FALSE, ...)
|
x |
Tick data in xts object. |
period |
Sampling period |
align.by |
Align the tick data to seconds|minutes|hours |
align.period |
Align the tick data to this many [seconds|minutes|hours] |
cts |
Create calendar time sampling if a non realizedObject is passed |
makeReturns |
Prices are passed make them into log returns |
adj.type |
"classic", "adj" or "aa" |
... |
... |
Realized variance using two timescale method.
Realized variance using two timescale method
Scott Payseur <spayseur@u.washington.edu>
L. Zhang, P.A Mykland, and Y. Ait-Sahalia. A tale of two time scales: Determining integrated volatility with noisy high-frequency data. Journal of the American Statistical Association, 2005.
rc.timescale
, rRealizedVariance
1 2 | data(sbux.xts)
rv.timescale(x = sbux.xts, period = 60,align.by ="seconds", align.period=1, adj.type="aa")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.