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 1.0 is now released! It can be downloaded along with its manuals in the download sections of the website.
Romain Legrand

Skilled economist, econometrician, quantitative researcher and data scientist with a passion for modelling and quantitative methods. I am the 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 researchr for Qube Research and Technologies, one of the most succesful hedge funds in France.
More about me
For more information, you can download my resume or visit my Linkedin page.
Getting started
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)
Toolbox
The local installs for the latest release of Alexandria, Python and Matlab editions, as zip files. You can also download these files from the Github repo of the toolbox.
Contact
You can contact me with the following form, or directly by sending an email to alexandria.toolbox@gmail.com.