Time-varying parameter VAR model using TVP-VAR package
Jouchi Nakajima
jouchi.nakajima@gmail.com
September 1, 2013
1 Introduction
TVP-VAR (Time-Varying Parameter Vector AutoRegression) is the package for a Bayesian
analysis of the time-varying parameter VAR models. It implements the Markov chain Monte
Carlo (MCMC) algorithm to generate sample from the posterior distribution of the TVP-VAR
models. The TVP-VAR class is written in Ox (Doornik (2006)), and can be used by creating
an object in Ox source codes. You may use and modify this code at your own risk. Please cite
Nakajima (2011) in products involving the application of TVP-VAR package.
1.1 Running TVP-VAR
To use the TVP-VAR package, put the class file TVPVAR.ox in the folder of the current directory
where you are working. You can use the TVP-VAR package by adding the code
#include <TVPVAR.ox>
at the top of the file you write. Alternatively, you can use the package by putting the TVPVAR
folder into the ox\packages folder and adding
#include <packages/TVPVAR/TVPVAR.ox>
at the top of your file.
1.2 Files in TVP-VAR
Files in TVP-VAR package are
• TVPVAR.ox – the main source file of TVPVAR class;
• tvpvar ox.pdf – this document;
included sample programs:
1