if (FALSE) { # rlang::is_installed("tseries")
# load libraries for models and data
library(tseries)
# load data
data(EuStockMarkets)
# fit model
dax <- diff(log(EuStockMarkets))[, "DAX"]
dax.garch <- garch(dax)
dax.garch
# summarize model fit with tidiers
tidy(dax.garch)
glance(dax.garch)
}
Run the code above in your browser using DataLab