Usage
heavyModel(data, p=matrix( c(0,0,1,1),ncol=2 ), q=matrix( c(1,0,0,1),ncol=2 ),
startingvalues = NULL, LB = NULL, UB = NULL,
backcast = NULL, compconst = FALSE);
Arguments
data
a (T x K) matrix containing the data, with T the number of days. For the traditional HEAVY model: K = 2, the first column contains the squared daily demeaned returns, the second column contains the realized measures.
p
a (K x K) matrix containing the lag length for the model innovations. Position (i, j) in the matrix indicates the number of lags in equation i of the model for the innovations in data column j. For the traditional heavy model p is given by matrix( c(0,0,1,1),ncol=2 ) (default).
q
a (K x K) matrix containing the lag length for the conditional variances. Position (i, j) in the matrix indicates the number of lags in equation i of the model for conditional variances corresponding to series j. For the traditionalheavy model introduced above q is given by matrix( c(1,0,0,1),ncol=2 ) (default).
startingvalues
a vector containing the starting values to be used in the optimizat ion to find the optimal parameters estimates.
LB
a vector of length K indicating the lower bounds to be used in the esti-
mation. If NULL it is set to a vector of zeros by default.
UB
a vector of length K indicating the upper bounds to be used in the
estimation. If NULL it is set to a vector of Inf by default.
backcast
a vector of length K used to initialize the estimation. If NULL the
unconditional estimates are taken.
compconst
a boolean variable. In case TRUE, the omega values are estimated in
the optimization. In case FALSE, volatility targeting is done and omega is just
1 minus the sum of all relevant alpha's and beta's multiplied by the unconditional variance.