MEM_MIDAS_X_pred: MEM-MIDAS-X one-step-ahead predictions (with skewness...

View source: R/midas_functions.R

MEM_MIDAS_X_predR Documentation

MEM-MIDAS-X one-step-ahead predictions (with skewness parameter)

Description

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).

Usage

MEM_MIDAS_X_pred(param, x, daily_ret, mv_m, K, z)

Arguments

param

Vector of starting values

x

Dependent variable, usually the realized volatility. It must be positive and "xts" object

daily_ret

Daily returns, which must be an "xts" object, and with the same length of x

mv_m

MIDAS variable already transformed into a matrix, through mv_into_mat function

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

Value

The resulting vector is the log-likelihood value for each i,t

References

\insertAllCited

See Also

mv_into_mat.


rumidas documentation built on April 4, 2025, 1:01 a.m.