MS-VAR with time varying probabilities

Discussion of models with structural breaks or endogenous switching.

MS-VAR with time varying probabilities

Postby Aktar » Tue Mar 06, 2012 6:19 am

Hi Tom,

I would like to identify common business cycle of a set of countries (as in krozlig 2001), and test the predictive power of leading indicators in the identification of this common cycle. The best approach may be a MS-VAR-TVTP model. Do the programm of filardo 1994 enjoy this feature? Because it use the MSVAR setup procedure.

Regards
Aktar
 
Posts: 35
Joined: Thu Apr 16, 2009 8:12 am

Re: MS-VAR with time varying probabilities

Postby TomDoan » Wed Mar 07, 2012 1:15 pm

Filardo's paper was univariate, though the extension to a VAR is fairly straightforward. It could take a very long time to estimate though. Since I have no idea what paper Krolzig(2001) is (PLEASE take the time to give a real reference) I have no idea whether that would help.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: MS-VAR with time varying probabilities

Postby Aktar » Thu Mar 08, 2012 8:46 am

The paper is : "International Business Cycles: Regime Shifts in the Stochastic Process of Economic Growth"

and the standard code for ms-var seems to be:

Code: Select all
nonlin(parmset=varparms) mu phi sigmav
nonlin(parmset=msparms) theta
gset pt_t  gstart gend = %zeros(nexpand,1)
gset pt_t1 gstart gend = %zeros(nexpand,1)
frml msvarf = log(%MSVARProb(t))
@msvarinitial gstart gend

@msvarsetup(lags=1,states=3,switch=mh)
# dusa djap dfrg duk dcan daus
@msvarinitial gstart gend
@msvarEMgeneralsetup
do emits=1,50
   @msvaremstep gstart gend
   disp "Iteration" emits "Log Likelihood" %logl
end do emits
set p1 gstart gend = (pstar=%msvarmarginal(emptsm(t),0)),pstar(1)
set p2 gstart gend = (pstar=%msvarmarginal(emptsm(t),0)),pstar(2)
set p3 gstart gend = (pstar=%msvarmarginal(emptsm(t),0)),pstar(3)

maximize(trace,parmset=varparms+msparms,start=%(p=%mslogisticp(theta),pstar=%MSVARInit()),$
reject=%minvalue(MSVARTransProbs)<0.0,method=bfgs,iters=400) msvarf gstart gend

Aktar
 
Posts: 35
Joined: Thu Apr 16, 2009 8:12 am

Re: MS-VAR with time varying probabilities

Postby TomDoan » Sun Mar 11, 2012 7:43 pm

You could certainly try to combine the two ideas. However, it's very likely that you'll get a model with quite a few modes and it's possible that none will be easy to interpret.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to Structural Breaks and Switching Models

Who is online

Users browsing this forum: No registered users and 1 guest

cron