Archmodels.Jl: Estimating Arch Models in Julia

This paper introduces ARCHModels.jl, a package for the Julia programming language that implements a number of univariate and multivariate ARCH-type models. This model class is the workhorse tool for modelling the conditional volatility of financial assets. Their distinguishing feature is that they model the latent volatility as a (deterministic) function of past returns and volatilities. This recursive structure results in loop-heavy code which, due to its just-in-time compiler, Julia is well-equipped to handle. As such, the entire package is written in Julia, without any binary dependencies. We benchmark the performance of ARCHModels.jl against popular implementations in MATLAB, R, and Python, and illustrate its use in a detailed case study.

[1]  Simone Manganelli,et al.  CAViaR , 2004 .

[2]  R. Engle Dynamic Conditional Correlation , 2002 .

[3]  T. Bollerslev,et al.  Generalized autoregressive conditional heteroskedasticity , 1986 .

[4]  Matlab Matlab (the language of technical computing): using matlab graphics ver.5 , 2014 .

[5]  T. Bollerslev,et al.  Modelling the Coherence in Short-run Nominal Exchange Rates: A Multivariate Generalized ARCH Model , 1990 .

[6]  Daniel B. Nelson CONDITIONAL HETEROSKEDASTICITY IN ASSET RETURNS: A NEW APPROACH , 1991 .

[7]  Miles Lubin,et al.  Forward-Mode Automatic Differentiation in Julia , 2016, ArXiv.

[8]  Alan Edelman,et al.  Julia: A Fresh Approach to Numerical Computing , 2014, SIAM Rev..

[9]  L. Glosten,et al.  On the Relation between the Expected Value and the Volatility of the Nominal Excess Return on Stocks , 1993 .

[10]  Eric Ghysels,et al.  Periodic Autoregressive Conditional Heteroskedasticity , 1996 .

[11]  Michael P. Rogers Python Tutorial , 2009 .

[12]  Patrick Kofod Mogensen,et al.  Optim: A mathematical optimization package for Julia , 2018, J. Open Source Softw..

[13]  R Core Team,et al.  R: A language and environment for statistical computing. , 2014 .

[14]  Robert F. Engle,et al.  Large Dynamic Covariance Matrices , 2017 .

[15]  Chris Brooks,et al.  Benchmarks and the accuracy of GARCH model estimation , 2001 .

[16]  R. Engle Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation , 1982 .