Learn R Programming

PortfolioEffectEstim (version 1.4)

variance_mrv: Modulated Realized Variance

Description

Modulated Realized Variance (MRV) is an integrated variance estimator introduced by Podolskij and Vetter. It is based on the concept of multipower variation and assumes additive noise structure.

Usage

variance_mrv(estimator) variance_mrvRolling(estimator,wLength=23400)

Arguments

estimator
Vector of (time, price) observations for market asset when external market data is used.
wLength
Length of a rolling window for rolling estimators. Default window length is 23400 (number of seconds in a trading day)

Value

Details

- Convergence speed: $m^{1/4}$ (m - number of observation)

- Accounts for additive noise: yes

- Accounts for finite price jumps: no

- Accounts for time dependence in noise: no

- Accounts for endogenous effects in noise: no

References

M. Podolskij and M. Vetter, "Estimation of volatility functionals in the simultaneous presence of microstructure noise and jumps," Bernoulli, vol. 15, No. 3, pp. 634-658, 2009.

See Also

variance_rv variance_tsrv variance_msrv variance_jrmrv variance_uzrv variance_krv

Examples

Run this code
## Not run: 
# data(spy.data) 
# estimator=estimator_create(priceData=spy.data)
# estimator_settings(estimator,
# 				   inputSamplingInterval = '10s',
# 				   resultsSamplingInterval = '10s')
# util_plot2d(variance_mrv(estimator),title='MRV',legend='Simple')+
# util_line2d(variance_mrvRolling(estimator,wLength=3600),legend='Rolling Window')
# ## End(Not run)

Run the code above in your browser using DataLab