Skip to content
Introduction to Structural VAR models
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Introduction to Structural VAR models

This short class is designed for M.Sc. Economics students as a part of the Research Methods module.

The aim of the class is to introduce the students to Vector Autoregression (VAR) and Structural Vector Autoregression (SVAR) models.

The focus is on the basic concepts and practical implementation of SVARs. As such, important aspects like the estimation of these models or more advanced identification techniques are not covered.


Slides.pdf: Trends and cycles, Introduction to VAR and SVAR models, Recursive (short-run) restriction, Example.

SVAR_demo.mlx: MATLAB implementation of the example in the slides. This is an interactive Live Script with extensive comments and explanations. Open this file inside MATLAB or see the HTML or PDF version for a quick preview.

SVAR_demo.html: HTML version of SVAR_demo.mlx. For a rendered version see here or here.

SVAR_demo.pdf: PDF version of SVAR_demo.mlx.

SVAR_demo.m: Less exciting version of SVAR_demo.mlx.


This repository contains a git submodule with the VAR toolbox. If you try to simply clone the repository or download it as a zip file, GitHub will download the files of this repository without the files in Codes/VAR_toolbox.

To obtain this repository with the toolbox included, you have two options:

  1. Direct download (zip version)

  2. Clone with submodule: git clone --recurse-submodules

Software and dependencies

  • A recent version of MATLAB (R2018b or never) is required for the Live Script SVAR_demo.mlx.

  • VAR Toolbox 2.0 (a version of this toolbox is provided with this repository with minor modifications to handle plots and figures)

  • Datafeed toolbox

You can’t perform that action at this time.