Description Usage Arguments Examples
View source: R/fit_GarchMidas.R
This function estimates a multiplicative mixed-frequency GARCH model. For the sake of numerical stability, it is best to multiply log returns by 100.
1 | fit_GarchMidas(data, y, x, K, freq = "month", GJR = FALSE)
|
data |
data frame containing a column named date of type 'Date'. |
y |
name of high frequency dependent variable in df. |
x |
covariate employed in GarchMidas. |
K |
an integer specifying lag length K in the long-term component. |
freq |
a string of the low frequency variable in the df. |
GJR |
if TRUE, an asymmetric GJR-GARCH is used as the short-term component. If FALSE, a simple GARCH(1,1) is employed. |
1 2 3 4 | ## Not run:
fit_GarchMidas(data = mu, y = "return", x = "epu", K = 24, freq = "month", GJR = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.