Abstract

The statistical description and modeling of volatility plays a prominent role in econometrics, risk management and finance. GARCH and stochastic volatility models have been extensively studied and are routinely fitted to market data, albeit providing a phenomenological description only. In contrast, agent-based modeling starts from the premise that modern economies consist of a vast number of individual actors with heterogeneous expectations and incentives. Observed market statistics then emerge from the collective dynamics of many actors following heterogeneous, yet simple rules. On the one hand, such models generate volatility dynamics, qualitatively matching several stylized facts. On the other hand, they illustrate the possible role of different mechanisms, such as chartist trading and herding behavior. Yet, rigorous and quantitative statistical fits are still mostly lacking. Here, we propose Hamiltonian Monte Carlo, an efficient and scalable Markov chain Monte Carlo algorithm, as a general method for Bayesian inference of agent-based models. In particular, we implement several models by Vikram and Sinha, Franke and Westerhoff and Alfarano, Lux and Wagner in Stan, an accessible probabilistic programming language for Bayesian modeling. We also compare the performance of these models with standard econometric models of the GARCH and stochastic volatility families. We find that the best agent-based models are on par with stochastic volatility models in terms of predictive likelihood, yet exhibit challenging posterior geometries requiring care in model comparison and sophisticated sampling algorithms.

Highlights

  • Financial markets exhibit some remarkable and often surprisingly stable statistical signatures, often referred to as stylized facts (Cont 2001; Lux 2009)

  • While this has been observed previously for the Franke & Westerhoff model (Barde 2016), we provide evidence that other herding dynamics give comparable results provided that the model allows for persistent mispricing between fundamental and observed prices

  • The model appears to have converged after just about 50 samples, and all chains produce almost uncorrelated samples from the same distribution. This is confirmed by standard convergence diagnostics such as Gelman & Rubin’s R, which compares the variance between and within chains, or the number of effective samples, which is based on the sample autocorrelation

Read more

Summary

Introduction

Financial markets exhibit some remarkable and often surprisingly stable statistical signatures, often referred to as stylized facts (Cont 2001; Lux 2009). Agent-based models of speculative behavior in financial markets are nowadays able to replicate many stylized facts simultaneously They provide an alternative to standard econometric models, offering behavioral explanations of observed market statistics (Lux 2009; LeBaron 2000). Estimation of such models is still challenging and has mostly resorted to simulation-based methods striving to match selected moments of the data (Franke and Westerhoff 2011; Ghonghadze and Lux 2016). We employ Stan (2017), a probabilistic programming language for Bayesian modeling, to fit several different agent-based models, namely from Vikram & Sinha (2011), Franke & Westerhoff (2012) and Alfarano, Lux & Wagner (2008).

Bayesian modeling
Market models
Simulation studies
Cross-validation and handling of missing data
Concluding discussion
A The Stan language
B Parameter recovery in the GARCH model
C Prior robustness checks
D Identifiability of the FW model
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call