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?
How to specify SWARCH
Re: How to specify SWARCH
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||
@MSSetup(states=2)
compute hv=||10||
compute p=||.8,.2||