View source: R/midas_functions.R
MEM_MIDAS_X_lr_pred_no_skew | R Documentation |
Predicts the long-run term of the dependent variable, usually the realized volatility, for the MEM-MIDAS-X, with an additional X part (for instance, the VIX).
MEM_MIDAS_X_lr_pred_no_skew(param, x, mv_m, K, z)
param |
Vector of starting values |
x |
Dependent variable, usually the realized volatility. It must be positive and "xts" object |
mv_m |
MIDAS variable already transformed into a matrix, through |
K |
Number of (lagged) realizations of the MIDAS variable to consider |
z |
Additional daily variable which must be an "xts" object, and with the same length of x |
The resulting vector is the log-likelihood value for each i,t
mv_into_mat
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.