Codes

I design open-source Python statistical packages for central banks and economists in general, in the area of forecasting and financial modeling. One of my most recent packages, based on Adrian et al. (AER 2019) on estimating Growth-at-Risk, is used by more than twenty central banks in the world.

The packages are freely available through Github. Please cite the companion working paper when using the tools.

Disclaimer: Reuse of these tools does not imply any endorsement of the research and/or product. Any research presented should not be reported as representing the views of the IMF, its Executive Board, or member governments.

Growth at Risk: Density Forecasting via Quantile Regressions and Parametric Fit (with Changchun Wang)

Distributional GaRCH model to design VaR-based FX Interventions for Central Banks

Quantile Local Projections

Conditional Density Projection via Quantile Regressions, Resampling and Multifit Models

Robust Density with Over-Parametrized Models

Partial Least Squares Wrapper for Data Reduction based on Scikit

Granular Instrumental Variables from Gabaix and Koijen (2020)

Quantile Spacing from Schmidt and Zhu (2016)

Cluster Analysis Wrapper with Performance Metrics and Visualization Tools