Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Predict Command after zinb


From   anju parthan <[email protected]>
To   [email protected]
Subject   st: Predict Command after zinb
Date   Fri, 11 Mar 2005 08:57:03 -0800 (PST)

Hi all

I am trying to understand how the predict command
works after zinb command. I want to know if we can use
generate command to get the same result as predict
command. 

For example, if we run nbr and then run predict
command, we can  get the same results with the
generate command using the beta coefficients and then
exponentiating them.

generate abs= Constant + b1x1 + b2x2 + b3x3
generate eabs= exp(abs)

The eabs values are same as the estimated values using
the predict command. 

However, I am not able to get the same results with
zinb. I think this is mainly due to the two part
solution ( the always zero group and not always zero
group).

Does anyone have any thoughts on how to get the same
results as predict command using generate?

Thanks

Anju



____________________________________________________________
 
Anju Parthan, 
Doctoral Candidate, 
The University of Texas at Austin, PHAR-PHARMACY ADMIN 
1 UNIVERSITY STATION A 1930, AUSTIN, TX-78712 
Tel: (512) 459-4942; Fax: (512) 471-8762




		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index