# \donttest{
# Load Microsoft Corporation logarithmic percentage returns from December 8,
# 2010 to November 15, 2018 for a total of T = 2000 observation
data("MSFT")
##############################################################
######################## Estimate DMQ ########################
##############################################################
# Estimate DMQ on the in sample period
Fit = EstimateDMQ(vY = vY,
vTau = seq(0.01, 0.99, 0.01),
iTau_star = 50,
FixReference = TRUE,
fn.optimizer = fn.solnp)
# Compute estimated moments
Moments = MomentsDMQ(Fit)
# }
Run the code above in your browser using DataLab