5.0

5.0 | 1 rating Rate this file 95 Downloads (last 30 days) File Size: 534.36 KB File ID: #32882
image thumbnail

ARMAX-GARCH-K Toolbox (Estimation, Forecasting, Simulation and Value-at-Risk Applications)

by Alexandros Gabrielsen

 

13 Sep 2011 (Updated 07 Dec 2011)

ARMAX-GARCH-K Toolbox

| Watch this File

File Information
Description

ARMAX-GARCH-K Toolbox (Estimation, Forecasting, Simulation and Value-at-Risk Applications)

Firstly, it allows the estimation, forecasting and simulation of the family of ARMAX-GARCH of any order of AR, MA, ARCH and GARCH terms of the GARCH, GJR-GARCH, EGARCH, NARCH (Nonlinear ARCH), NGARCH (Nonlinear GARCH), AGARCH (Asymmetric GARCH), APGARCH (Asymmetric Power GARCH), and NAGARCH (Nonlinear Asymmetric GARCH) with the Gaussian, Student-t, Generalized Error, Modified Cauchy, Hansen's Skew-t, Logistic, Laplace, Rayleigh, Centered Cauchy, Extreme Value Distribution Type 1, Generalized Exponential and Gram and Charlier expansion series with constant higher moments.

Secondly, the toolbox allows the estimation, forecasting and simulation of the Autoregressive Conditional Kurtosis Model proposed by Brooks, et al (2005).

Thirdly, the toolbox allows the evaluation of volatility forecasts using a number of loss functions and the estimation of Value-at-Risk for a given confidence level and horizon period.

Finally, a number of examples are presented to illustrate the application of this toolbox in Market Risk and Financial Risk Management.

The main functions are:
1. garch.m & garchk.m which estimates the ARMAX-GARCH-K family of models.

2. garchfind.m, which finds the combination of models and distributions that better fits the data based on a set of criteria (i.e. largest log likelihood value and the smallest AIC and BIC criteria).

3. garchsim.m & garchksim.m, which simulates returns, conditional variances and kurtosis.

4.garchfor.m & garchfor2.m - garchkfor.m & garchkfor2.m, which estimates mean, volatility and kurtosis forecasts given the model, distribution, and number of forecasts.

5. garchvar.m & garchvar2.m - garchkvar.m & garchkvar2.m, which estimates Value-at-Risk for a given confidence level and horizon period for both long and short positions.

6. garchvolfor.m, which is an application in Volatility Forecasting & Value-at-Risk. It allows the comparison of volatility and Value-at-Risk estimates for a data vector and for a variety of GARCH models and distributions and at different forecast periods as well as sort the results according to only a sub-set of forecast periods.

Notes:
1. With the help of the VFLF and VaRLR functions a number of volatility loss functions and the VaR unconditional, independence, conditional and regulatory tests are also estimated. The volatility loss functions are the following: MSE; MAD; MLAE; HMSE; HMAE; MAE; MAPE; R2LOG; QLIKE; SR. The VaR back-testing tests are: percentage of failures, TUFF; Likelihood Ratio Unconditional Coverage, Independence Coverage, and Conditional Coverage; Basel II Accord, Basel. For more information which tests are included please refer the VFLF and VaRLR functions.

2. For further information regarding the full functionality and a set of examples of the ARMAX-GARCH-K Toolbox please refer to the readme files.

3. Additional files for garchvar.m and garchvolfor.m can be found in:
http://www.mathworks.com/matlabcentral/fileexchange/29051-distributions
http://www.mathworks.com/matlabcentral/fileexchange/33414-volatility-loss-functions-and-var-conditional-indepedence-and-regulatory-backtests

I would like to thank you for your comments and your suggestions regarding additional features that should be included.

Please feel free to contact me with comments, suggestions, or bugfixes.

Required Products Optimization Toolbox
MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
27 Sep 2011 Lurion De Mello

A lot of hard work here!
Does this do multivariate version of the supported models?
Thanks a lot

30 Sep 2011 Alexandros Gabrielsen

Thanks for your comments Lurion. Currently, the toolbox estimates only univariate processes.

23 Oct 2011 Ted P Teng

This is a BIG contribution to the FEX community. The examples provided is really helpful! Thank you!

23 Oct 2011 Ted P Teng

In garchsim.m, if distribution is set to 'GED', the 'gevrnd' requires inputting 'k', 'sigma' and 'mu'. Any suggestions on how the parameters could be determined... maybe with 'gevfit'?

Please login to add a comment or rating.
Updates
25 Oct 2011

introduced garchvar and garchvolfor

26 Oct 2011

more examples in the readme files are added

07 Dec 2011

additions:
1. distributions: Centered-Cauchy, Logistic, Laplace, Rayleigh, Extreme Value Distribution Type 1 & Generalized Exponential
2. Estimation, forecasting & simulation of the GARCH-K model.
3. Updates in the readme files

Tag Activity for this File
Tag Applied By Date/Time
garch Alexandros Gabrielsen 14 Sep 2011 09:40:19
gjrgarch Alexandros Gabrielsen 14 Sep 2011 09:40:19
egarch Alexandros Gabrielsen 14 Sep 2011 09:40:19
narch Alexandros Gabrielsen 14 Sep 2011 09:40:19
ngarch Alexandros Gabrielsen 14 Sep 2011 09:40:19
agarch Alexandros Gabrielsen 14 Sep 2011 09:40:19
apgarch Alexandros Gabrielsen 14 Sep 2011 09:40:19
nagarch Alexandros Gabrielsen 14 Sep 2011 09:40:19
gaussian Alexandros Gabrielsen 14 Sep 2011 09:40:19
student t Alexandros Gabrielsen 14 Sep 2011 09:40:19
ged Alexandros Gabrielsen 14 Sep 2011 09:40:19
hansens skew t Alexandros Gabrielsen 14 Sep 2011 09:40:19
gram charlier Alexandros Gabrielsen 14 Sep 2011 09:40:19
statistics Alexandros Gabrielsen 14 Sep 2011 09:40:19
simulation Alexandros Gabrielsen 14 Sep 2011 09:40:19
finance Alexandros Gabrielsen 14 Sep 2011 09:40:19
forecasting Alexandros Gabrielsen 14 Sep 2011 09:40:19
agarch Oscar De la Torre 26 Sep 2011 12:15:19
logistic Alexandros Gabrielsen 08 Dec 2011 11:49:03
laplace Alexandros Gabrielsen 08 Dec 2011 11:49:03
rayleigh Alexandros Gabrielsen 08 Dec 2011 11:49:03
kurtosis Alexandros Gabrielsen 08 Dec 2011 11:49:03
generalized exponential Alexandros Gabrielsen 08 Dec 2011 11:49:03
extreme value Alexandros Gabrielsen 08 Dec 2011 11:49:03
agarch Alex Zolotarev 02 May 2012 04:23:44
apgarch Alex Zolotarev 02 May 2012 04:23:49

Contact us at files@mathworks.com