bashtage/arch

ARCH models in Python

What it solves

This library provides a comprehensive suite of tools for financial econometrics. It is designed to help researchers and analysts model volatility, test for statistical properties in time-series data, and perform advanced statistical inference, such as bootstrapping and covariance estimation.

How it works

The library is built on top of the Python data science stack (NumPy, SciPy, pandas, and statsmodels). It uses performance-optimized code via Cython and Numba to handle computationally intensive tasks. Users can define and fit complex statistical models—such as GARCH or TARCH for volatility—using a simple, consistent interface, and then apply diagnostic tests or resampling methods to validate their results.

Who it’s for

It is intended for financial analysts, economists, and researchers who need to perform rigorous quantitative analysis on time-series data. It is particularly useful for those who need to model how volatility changes over time or who require robust statistical testing for unit roots and cointegration.

Highlights

  • Volatility Modeling: Extensive support for various ARCH/GARCH-family models, including TARCH, EGARCH, and APARCH, with multiple distribution options.
  • Statistical Testing: Built-in tools for unit root tests (e.g., Augmented Dickey-Fuller, KPSS) and cointegration analysis.
  • Resampling Methods: A flexible bootstrap framework for constructing confidence intervals and estimating model parameters.
  • Advanced Diagnostics: Includes procedures for multiple comparison tests and long-run covariance estimation using kernel-based methods.
  • Performance: Optimized for speed using Cython and Numba, ensuring efficient execution of complex financial models.

Related

  • Project
  • Project
  • Project
  • Project
  • Project