Impulse Responses in a Threshold VECM

Use this forum for posting example programs or short bits of sample code.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Impulse Responses in a Threshold VECM

Unread post by TomDoan »

This is an example of computing the Generalized Impulse Response Function for a Threshold VECM. (It also includes estimation and computation of the "eventual forecast function").

This differs from the approach to computing GIRF's in Balke(2000) as the code here
  1. Uses random normals rather than bootstrapping
  2. Computes the GIRF's from a single set of initial conditions rather than averaging across all possible values.
The model here also uses a common covariance matrix for the two regimes rather than allowing it to vary.

The technical details for the calculations are described in the Structural Breaks and Switching Models course.
Attachments
irates.xls
Data file
(39.02 KiB) Downloaded 1075 times
sms_5_2.rpf
Program file
(4.09 KiB) Downloaded 1203 times
Post Reply