Page 1 of 1

How to specify SWARCH

Posted: Sun Feb 12, 2012 10:14 am
by hardmann
Dear Tom:

I am working on SWARCH modles. We can directly specify lags by computer q=x. However, I specify state option=2 instead of original 3, I must modify demension of theta and Hv and initional value of p matrix. But procedure response MSFilterInit errors.
How can I do?

Re: How to specify SWARCH

Posted: Thu Feb 16, 2012 11:25 am
by TomDoan
I was able to modify SWARCH to do two states without a problem. The following were the required changes:

@MSSetup(states=2)

compute hv=||10||
compute p=||.8,.2||