by MC128 » Wed Oct 28, 2009 8:37 am
Hi,
I would like to estimate a SVECM as well...I am thinking of estimating a cointegrated model first using the command @cats, then do a structural decomposition using @cvmodel. But it seems my code is not working....may I ask what's wrong with the following code?
**********************************************************************************************************************
@cats(lags=4,export=ecm,r=2,dettrend=drift,noprint) 1984:1 2008:4
# govspendb gdp gdpdef netrevenue hibor
compute aye=ayr=bre=ape=apy=api=aie=aiy=aip=air=0
nonlin aey=0.0 aep=-0.5 aei=0.0 aye ayr ape apy api ary=1.0 arp=1.0 ari=0.0 aie aiy aip air bre ber=0.0
*
cvmodel(a=afrml,b=bfrml,method=bfgs,pmethod=genetic,piters=20,factor=swish) %sigma
*
*
impulse(noprint,model=ecm,factor=swish,results=impulses,steps=nstep)
*******************************************************************************************************************************8
Thank you so much!
MC