ForecastDMQ | R Documentation |
Compute the H-steap ahead prediction of the quantile processes.
ForecastDMQ(Fit, H)
Fit |
The output of the function EstimateDMQ. |
H |
|
A numeric
matrix of dimension HxJ, where J is the number of quantiles.
Leopoldo Catania
# 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 at tau_j = 0.05, 0.10, ..., 0.95
# with fixed median as reference quantile.
Fit = EstimateDMQ(vY = vY,
vTau = seq(0.05, 0.95, 0.05),
iTau_star = 10,
FixReference = TRUE,
fn.optimizer = fn.solnp)
# Compute 20-step ahead predictions
mQ_pred = ForecastDMQ(Fit, H = 20)
mQ_pred
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.