Saving the Smooth and Filtered Probabilities

Discussion of models with structural breaks or endogenous switching.

Saving the Smooth and Filtered Probabilities

Postby allister » Sat Jul 10, 2010 12:36 pm

Hi

How do I save the smooth and filtered probabilities from Hamilton Switching Model?
allister
 
Posts: 4
Joined: Sun Jan 10, 2010 11:26 am

Re: Saving the Smooth and Filtered Probabilities

Postby TomDoan » Sat Jul 10, 2010 2:37 pm

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 144 times
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: Saving the Smooth and Filtered Probabilities

Postby ac_1 » Sun Jul 11, 2010 2:03 pm

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 ??
ac_1
 
Posts: 56
Joined: Thu Apr 15, 2010 6:30 am
Location: Surrey, England, UK

Re: Saving the Smooth and Filtered Probabilities

Postby TomDoan » Sun Jul 11, 2010 3:28 pm

It's part of the newest MSVARSETUP procedure file:

http://www.estima.com/forum/viewtopic.php?f=7&t=512
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: Saving the Smooth and Filtered Probabilities

Postby ac_1 » Mon Jul 12, 2010 2:11 am

okay, thanks.
ac_1
 
Posts: 56
Joined: Thu Apr 15, 2010 6:30 am
Location: Surrey, England, UK


Return to Structural Breaks and Switching Models

Who is online

Users browsing this forum: No registered users and 1 guest