rv.kernel {realized}R Documentation

Realized Variance: Kernel

Description

Realized variance calculation using a kernel estimator.

Usage

rv.kernel(x, q, align.period = 1, adj = TRUE, type = 0, cts = TRUE, makeReturns = FALSE,...)

Arguments

x RealizedObject or TimeSeries for S+
q Number of lags
align.period Align the returns to this period first
cts Create calendar time sampling if a non realizedObject is passed
makeReturns Prices are passed make them into log returns
adj T to use dof adjustment
type 0-11 or a character string
... ...

Details

The different types of kernels can be found using rKernel.available().

Value

Kernel estimate of realized variance.

Author(s)

Scott Payseur <spayseur@u.washington.edu>

References

Ole E. Barndorff-Nielsen, Peter Reinhard Hansen, Asger Lunde, and Neil Shephard. Regular and modified kernel-based estimators of integrated variance: The case with independent noise. Working Paper, 2004.

B. Zhou. High-frequency data and volatility in foreign-exchange rates. Journal of Buiness & Economic Statistics, 14:45-52, 1996.

P. Hansen and A. Lunde. Realized variance and market microstructure noise. Journal of Business and Economic Statistics, 24:127-218, 2006.

See Also

rRealizedVariance,rc.kernel, rKernel.available,rKernel

Examples


data(msft.real.cts)
data(ge.real.cts)

# kernel realized variance for CTS aligned at one minute returns
#
rv.kernel(x = msft.real.cts[[1]], q=1, type="bartlett", align.period=60)


[Package realized version 0.81 Index]