Ox programs to calculate the regime-dependent impulse response functions in Ehrmann-Ellison-Valla (Economics Letters 2003).These programs are no longer available as the MSVAR package is not supported by the current version of Ox. Regime-dependent impulse response functions for Markov-switching models can be estimated under RATS using the code here.