Giter VIP home page Giter VIP logo

var-toolbox's Introduction

VAR-Toolbox

Ambrogio Cesa-Bianchi's VAR Toolbox.

Descprition

The VAR Toolbox is a collection of Matlab routines to perform vector autoregressive (VAR) analysis. The latest version is available in the v3dot0 folder.

Estimation is performed with ordinary least squares (OLS). The VAR Toolbox allows for identification of structural shocks with zero short-run restrictions; zero long-run restrictions; sign restrictions; external instruments (proxy SVAR); and a combination of external instruments and sign restrictions. Impulse Response Functions (IR), Forecast Error Variance Decomposition (VD), and Historical Decompositions (HD) are computed according to the chosen identification. Error bands are obtained with bootstrapping.

The codes are grouped in six categories (and respective folders):

  • VAR: the codes for VAR estimation, identification, computation of the impulse response functions, FEVD, HD.

  • Stats: codes for the calculation of summary statistics, moving correlations, pairwise correlations, etc.

  • Utils: codes that allow the smooth functioning if the Toolbox.

  • Auxiliary: codes that I borrowed from other public sources. Each m-file has a reference to the original source.

  • Figure: codes for plotting high quality figures

  • ExportFig: this is a toolbox developed by Yair Altman (https://github.com/altmany/export_fig) for exporting high quality figures. To enable this option, the Toolbox requires Ghostscript installed on your computer (freely available at www.ghostscript.com).

Installation

No installation is required. Simply clone the folder from Github and add the folder (with subfolders) to your Matlab path. This can be easily done as follows. If you download the toolbox to /User/VAR-Toolbox/, you can simply add the following two lines of code at the beginning and end of your script

addpath(genpath(’/User/VAR-Toolbox/v3dot0/’))
...
rmpath(genpath(’/User/VAR-Toolbox/v3dot0’)) 

To save figures in high quality format, you need to download an install Ghostscript (freely available at www.ghostscript.com). The first time you’ll be saving a figure using the Toolbox, you’ll be asked to locate Ghostscript on your local drive.

Manual

A manual will be available soon. In the meanwhile, you can information on how to use the VAR Toolbox in the VAR Primer, a slide deck describing the basics of VARs and how to estimate them using the VARToolbox.

License

The theme is licensed under a GNU General Public License v3.0

var-toolbox's People

Contributors

ambropo avatar nathanshammah 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.