Dynamic Probit Model with Gibbs Sampling

Use this forum for posting example programs or short bits of sample code.

Dynamic Probit Model with Gibbs Sampling

Postby TomDoan » Sun Sep 16, 2012 10:55 am

This estimates using Bayesian methods a probit model with the latent index variable assumed to follow an AR(1) process. This uses the typical Gibbs sampling technique of drawing the continuous latent variable given the observable 0-1's, but, because of the dynamic process for the latent variable, you can't just draw those independently. Instead, the YSTAR are done one-at-a-time given the values of the YSTAR at all other data points.

The same idea, applied to a VAR (where the latent variable is one of the variables in the VAR), is at http://www.estima.com/forum/viewtopic.php?f=8&t=1191.

gibbsprobitdynamic.rpf
Program file
(2.15 KiB) Downloaded 75 times
TomDoan
 
Posts: 2717
Joined: Wed Nov 01, 2006 5:36 pm

Return to Examples and Sample Code

Who is online

Users browsing this forum: No registered users and 2 guests

cron