Skip to content
An R package for using mixed-frequency GARCH models
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data-raw
data
inst
man
src
tests
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
License.md
NAMESPACE
NEWS.md
README.md
cran-comments.md
mfGARCH.Rproj
package_loading.R

README.md

CRAN_Status_Badge Travis-CI Build Status Coverage Status License: MIT Downloads

mfGARCH - mixed-frequency GARCH models

An R package for estimating GARCH-MIDAS (MIxed-DAta-Sampling) models (Engle, Ghysels and Sohn, 2013, doi:10.1162/REST_a_00300) and related statistical inference, accompanying the paper "Two are better than one: volatility forecasting using multiplicative component GARCH models" by Conrad and Kleen (2018, doi:10.2139/ssrn.2752354). The GARCH-MIDAS model decomposes the conditional variance of (daily) stock returns into a short- and long-term component, where the latter may depend on an exogenous covariate sampled at a lower frequency.

Highlights

  • A comprehensive toolbox for estimating and forecasting using GARCH-MIDAS models
  • Easy to use, both with one or two explanatory covariates
  • Built for handling irregularly spaced mixed-frequency data

Please cite as

Conrad, Christian and Kleen, Onno (2018). Two Are Better Than One: Volatility Forecasting Using Multiplicative Component GARCH Models. Available at SSRN: https://doi.org/10.2139/ssrn.2752354.

and

Kleen, Onno (2018). mfGARCH: Mixed-Frequency GARCH Models. R package version 0.1.8.

Installation

CRAN:

install.packages("mfGARCH")

Development version:

# Install package via devtools
# install.packages("devtools")
library(devtools)
install_github("onnokleen/mfGARCH")

Example

library(mfGARCH)
# df_financial
fit_mfgarch(data = df_financial, y = "return", x = "nfci", low.freq = "week", K = 52)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.