Alexandria
Versión 2.01 (971 KB) por
Romain Legrand
A software for Bayesian time-series econometrics applications
Alexandria is a Python package for Bayesian time-series econometrics applications.
This is version 2.0, which includes Bayesian regression, Bayesian vector autoregression, and Bayesian VEC/VARMA models.
Alexandria offers a range of Bayesian linear regression models:
- maximum likelihood / OLS regression (non-Bayesian)
- simple Bayesian regression
- hierarchical (natural conjugate) Bayesian regression
- independent Bayesian regression with Gibbs sampling
- heteroscedastic Bayesian regression
- autocorrelated Bayesian regression
Alexandria also offers a large number of Bayesian vector autoregression models and applications:
- maximum likelihood (OLS) VAR
- Litterman Minnesota prior
- normal-Wishart prior
- independent prior with Gibbs sampling
- dummy observation prior
- large Bayeisian VAR prior
- Bayesian proxy-SVAR
prior customization:
- constrained coefficients
- dummy extensions (sums-of-coefficients, initial observation,long-run prior)
- stationary priors
- hyperparameter optimization from marginal likelihood
structural identification:
- Cholesky
- triangular factorization
- restrictions: sign and zero restrictions on IRFs, narrative on shocks and historical decomposition
applications:
- forecasts
- impulse response function
- forecast error variance decomposition
- historical decomposition
- conditional forecasts (agnostic and sctructural approaches, allowing for hard and soft conditions)
The current version includes Bayesian VEC and VARMA models, along with many applications:
- Bayesian VEC: uninformative, horseshoe and selection priors; general and reduced-rank approaches
- Bayesian VARMA: Minnesota prior on autoegressive and lag coefficients; residuals estimated from Bayesian state-space modelling
- structural identification and applications are the same as the Bayesian VAR models
Citar como
Romain Legrand (2026). Alexandria (https://es.mathworks.com/matlabcentral/fileexchange/181159-alexandria), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2025a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
alexandria/console
alexandria/datasets
alexandria/graphics
alexandria/interface
alexandria/linear_regression
alexandria/math
alexandria/optimization
alexandria/processor
alexandria/results
alexandria/state_space
alexandria/vec_varma
alexandria/vector_autoregression
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 2.01 | fixed minor data loading issue for restriction file with narrative sign restrictions |
|
|
| 2.0 | Now introducing Bayesian VEC (vector error correction) and Bayesian VARMA (vector autoregressive moving average). |
|
|
| 1.04 | updated structural conditional forecasts |
|
|
| 1.03 | Updated structural conditional forecasts |
|
|
| 1.02 | updated structural conditional forecasts |
|
|
| 1.01 | fix for minor bug |
|
|
| 1.0 |
|
