Git Product home page Git Product logo

gar-replication's Introduction

This repository contains the replication files for the paper Backtesting Global Growth-at-Risk by Christian Brownlees and Andre B.M. Souza which is available on SSRN at the address https://ssrn.com/abstract=3461214

Authors

Christian Brownlees and Andre B.M. Souza

Software Requirements

MATLAB The code has been tested with the MATLAB releases R2017a and R2019a

Instructions

To replicate the out-of-sample results run the script gar_replication.m. The script will create Tables 4 to 6 of the paper. The tables will be stored as individual CSV files in the directory tables.

Data

Important Disclaimer: The data used in this study was downloaded from the following sources in June 2019.

Additional Resources

  • rq.m: Function to compute quantile regression. Source: Vulnerable Growth Replication Files (Adrian et al, 2019)
  • QuantilesInterpolation.m: Function to interpolate quantiles and get a Skewed T.
  • covnw.m: Function to estimate HAC covariance matrices.
  • olsnw.m: Function to perform inference on ols parameters with HAC.
  • normloglik.m: Log Likelihood for the standard normal.

The following files are modified versions of the above. We use them to perform DQ tests for h>1 step ahead forecasts.

  • covnw_dq.m: Function to estimate HAC covariance matrices for binary hit variables.
  • olsnw_dq.m: Function to perform robust inference on binary hit variables.
  • L1QR.m: L1 penalized quantile regression. Depends on SDPT3-4.0. See below.

[Azzalini Files, as in Adrian et al, 2019]

Packages:

gar-replication's People

Contributors

andrebmsouza avatar ctbrownlees avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.