Predicts the dependent variable, usually the realized volatility, for the MEM-MIDAS-X, with an asymmetric term linked to past negative returns and an additional X part (for instance, the VIX).
MEM_MIDAS_X_pred(param, x, daily_ret, mv_m, K, z)
The resulting vector is the log-likelihood value for each \(i,t\)
Vector of starting values
Dependent variable, usually the realized volatility. It must be positive and "xts" object
Daily returns, which must be an "xts" object, and with the same length of x
MIDAS variable already transformed into a matrix, through mv_into_mat
function
Number of (lagged) realizations of the MIDAS variable to consider
Additional daily variable which must be an "xts" object, and with the same length of x
mv_into_mat
.