
Last chance! 50% off unlimited learning
Sale ends in
Function returns univariate or multivariate preaveraged estimator, as defined in Hautsch and Podolskij (2013).
MRC(pData, pairwise = FALSE, makePsd = FALSE)
a list. Each list-item contains an xts object with the intraday price data of a stock.
boolean, should be TRUE when refresh times are based on pairs of assets. FALSE by default.
boolean, in case it is TRUE, the positive definite version of MRC is returned. FALSE by default.
an
In practice, market microstructure noise leads to a departure from the pure semimartingale model. We consider the process
It is intuitive that under mean zero i.i.d. microstructure noise some form of smoothing of the observed log-price should tend to diminish the impact of the noise. Effectively, we are going to approximate a continuous function by an average of observations of Y in a neighborhood, the noise being averaged away.
Assume there is
In order to define the univariate pre-averaging estimator, we first define the pre-averaged returns as
Hautsch, N., & Podolskij, M. (2013). Preaveraging-Based Estimation of Quadratic Variation in the Presence of Noise and Jumps: Theory, Implementation, and Empirical Evidence. Journal of Business & Economic Statistics, 31(2), 165-183.
# NOT RUN {
a <- list(sample5MinPricesJumps["2010-01-04",1], sample5MinPricesJumps["2010-01-04",2])
MRC(a, pairwise = TRUE, makePsd = TRUE)
# }
Run the code above in your browser using DataLab