A library for Bayesian econometrics

Welcome to the official Alexandria website. Alexandria is a toolbox dedicated to Bayesian time-series econometrics models, developed jointly in Python and Matlab.

On this website you will find an overview of the toolbox, along with links to download the software and its manuals for free.

Latest news: Alexandria V 3.0 is now released, with Bayesian nowcasting! It can be downloaded along with its manuals in the downloads section of the website.

Technologies

Romain Legrand

Romain Legrand

Skilled economist, econometrician, quantitative researcher and data scientist with a passion for modelling and quantitative methods. Creator, developer and owner of Alexandria.

I hold a PhD in economics from Cergy Paris University (2014) and a Master's degree in Big Data from Telecom Paris (2020). I have worked as an economist and econometrician for the European Central Bank during four years (2014–2018). There I developed the BEAR toolbox, which is the Matlab ancestor of Alexandria. I now work as a quantitative researcher for Qube Research and Technologies, one of the most successful hedge funds in France.

Getting started

Install Alexandria and run your first Bayesian VAR in a few lines of Python.

# Python install:
pip install alexandria-python

# Then (simple Bayesian VAR with normal-Wishart prior):

from alexandria import NormalWishartBayesianVar
from alexandria import DataSets
from alexandria import Graphics

# load ISLM dataset
ds = DataSets()
islm_data = ds.load_islm()[:, :4]

# create and train Bayesian VAR with default settings
var = NormalWishartBayesianVar(endogenous=islm_data)
var.estimate()

# estimate and plot forecasts for the next 4 periods, 60% credibility level
forecast_estimates = var.forecast(4, 0.6)
gp = Graphics(var)
gp.forecast_graphics(show=True, save=False)

Downloads

The latest release of Alexandria, Python and Matlab editions, plus the full manuals.

Contact

You can contact me with the form below, or directly by sending an email to alexandria.toolbox@gmail.com.

Youtube Odysee Github LinkedIn