Quantcast
Channel: The Stata Blog - Latest Comments
Viewing all articles
Browse latest Browse all 1125

Re: Bayesian modeling: Beyond Stata’s built-in models

$
0
0

Hi,

Great post!

I was trying to go one step further, using your example

I tried to predict/simulate the number of hours when hours=0
I use the command:

bayespredict {_ysim1} {_ysim2} if hours0==1, saving(reps) rseed(123)
using both mychurdle1 mychurdle2 programs

In both cases I got an error

"predictions not available with mychurdle2 likelihood option"

Can you describe how the program can be modified to allow the ussage of postestimation command like bayespredict ?

best

Javier


Viewing all articles
Browse latest Browse all 1125

Trending Articles