BestExp: Fitting of Best Exponential Autoregressive Moving Average (EXPARMA) Model
Description
This function will fit best EXPARMA model.
Usage
BestExp(ts_data, opt_method, max.p, max.q)
Value
It returns the best fitted EXPARMA model.
Arguments
ts_data
a univarite time series data
opt_method
opt_method represents the optimization methods that can be used. All the methods available at optim() function can be used here. By default the method used is "BFGS".
max.p
max.p is the order of autoregressive parameter of the model. By default the value is 5.
max.q
max.q is the order of moving average parameter of the model. By default the value is 5.
Author
Saikat Das, Bishal Gurung, Achal Lama and Kn Singh
Details
Takes only one input, the data. Checks the AIC values of all EXPARMA models from order (1,1) up to (max.p, max.q) by finding the optimal parameters of those models and returns a fit with the model having the least AIC. The maximum order up to which checks are set to 5 by default.
References
Haggan and Ozaki (1981). Modelling nonlinear random vibrations using an amplitude-dependent autoregressive time series model. Biometrika,68(1):189-199.<doi:10.1093/biomet/68.1.189>.
Gurung (2015). An exponential autoregressive (EXPAR) (EXPAR) model for the forecasting of all India annual rainfall. Mausam,66(4):847-849. <doi:10.54302/mausam.v66i4.594>.