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

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

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



Anju Parthan, 
Doctoral Candidate, 
The University of Texas at Austin, PHAR-PHARMACY ADMIN 
Tel: (512) 459-4942; Fax: (512) 471-8762

Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less.
*   For searches and help try:

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