Hamilton Regime Switching Example
Posted: Sat Mar 16, 2013 8:34 pm
Trying to track down a change in the msvarsetup.src procedure. When I applied an earlier version to the hamp697.rpf example (regime switching in US GDP), the probabilities were in the expected range 1 for recession to 0 for expansion. When I applied the most recent version of the msvarsetup.src procedure, the probabilities were backwards. I solved this by changing set pcontract gstart gend = psmooth(t)(2) to set pcontract gstart gend = psmooth(t)(1) in the hamp697.rpf file. Sadly, I wrote over the original msvarsetup.src file (from a load of RATS 8.0), and now can't track down what changed between versions to switch the states probabilities. Any ideas?