powered by
This function simulates a GARCH-MIDAS model. Innovations can follow a standard normal or student-t distribution.
simulate_mfgarch( n.days, mu, alpha, beta, gamma, m, theta, w1 = 1, w2, K, psi, sigma.psi, low.freq = 1, n.intraday = 288, student.t = NULL, corr = 0 )
number of days
mu
alpha
beta
gamma
m
theta
w1
w2
K
psi
sigma.psi
number of days per low-frequency period
number of maximum intraday returns
either NULL or degrees of freedom
correlation between innovations (should only be used for daily tau)
# NOT RUN { simulate_mfgarch(n.days = 200, mu = 0, alpha = 0.06, beta = 0.92, gamma = 0, m = 0, theta = 0.1, w1 = 1, w2 = 3, K = 12, psi = 0.98, sigma.psi = 0.1, low.freq = 10) # }
Run the code above in your browser using DataLab