Calculates the Hayashi-Yoshida Covariance estimator
rHYCov(
rData,
cor = FALSE,
period = 1,
alignBy = "seconds",
alignPeriod = 1,
makeReturns = FALSE,
makePsd = TRUE
)
a possibly multivariate xts object.
boolean, in case it is TRUE, the correlation is returned. FALSE by default.
Sampling period
Align the tick data to seconds|minutes|hours
Align the tick data to this many [seconds|minutes|hours]
Prices are passed make them into log returns
boolean, in case it is TRUE, the positive definite version of rHYCov is returned. FALSE by default.
T. Hayashi and N. Yoshida. On covariance estimation of non-synchronously observed diffusion processes. Bernoulli, 11, 359-379, 2005.