Saving the Smooth and Filtered Probabilities

Discussion of models with structural breaks or endogenous switching.
allister
Posts: 20
Joined: Sun Jan 10, 2010 10:26 am

Saving the Smooth and Filtered Probabilities

Unread post by allister »

Hi

How do I save the smooth and filtered probabilities from Hamilton Switching Model?
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Saving the Smooth and Filtered Probabilities

Unread post by TomDoan »

This is a revision of the Hamilton example (using the MSVARSETUP procedure) which computes and graphs the smoothed probabilities. PT_T and PT_T1 are SERIES[VECT] with the filtered and predicted state probabilities.
hamilton.rpf
(1.2 KiB) Downloaded 1253 times
ac_1
Posts: 495
Joined: Thu Apr 15, 2010 6:30 am

Re: Saving the Smooth and Filtered Probabilities

Unread post by ac_1 »

Tom, when I run this, I get:

## CP18. MSVARSMOOTHED is not the Name of a PROCEDURE. (Did you forget to SOURCE?)
>>>>start gend psmooth<<<<

Is there an MSVARSMOOTHED.src ??
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Saving the Smooth and Filtered Probabilities

Unread post by TomDoan »

Post Reply