armagarchf.Rd
ARMA(1, 1)-GARCH(1, 1) forecasting (with simulation)
armagarchf(
y,
h = 5,
level = 95,
B = 250,
cl = 1L,
dist = c("student", "gaussian"),
seed = 123
)
a univariate time series
number of periods for forecasting
confidence level for prediction intervals
number of simulations for arima.sim
an integer; the number of clusters for parallel execution
distribution of innovations ("student" or "gaussian")
reproducibility seed
An object of class "forecast"; a list containing the following elements:
A list containing information about the fitted model
The name of the forecasting method as a character string
Point forecasts for the time series
Lower bound for prediction interval
Upper bound for prediction interval
The original time series
Simulations of ARMA(1, 1)-GARCH(1, 1)
y <- datasets::EuStockMarkets[ , "DAX"]
log_returns <- ts(log(y[-1]/y[-length(y)]))
# require(forecast)
# z <- ahead::armagarchf(y=log_returns, h=200)
# plot(z)