[Limdep Nlogit List] Calculating predicted values from zero inflated model
Wells, Aaron
Aaron.Wells at healthways.com
Sat Aug 25 03:27:16 EST 2007
All,
I am wondering if anyone has code to share on recreating the predicted
values from a zero inflated model with an independent logit model for
the zero values. The code below yields rather flat predicted values
(referring to values in "preds" var) that are not equal to those
generated by Limdep (referring to values in "pred_tru").
Thank you,
Aaron
namelist; x =
ONE,AGE,GENDER2,PRED_RI1,EE0_2,EE0_3,EE0_4,EE0_5,EE0_7,EE0_8,EE0_9,BU_2,
BU_3,BU_4,BU_5,BU_6,BU_7$
NEGBIN;
Lhs = abs_trun;
Rhs = x;
ZIP;
Rh2 = ONE,AGE,GENDER2,PRED_RI1;
Keep = pred_tru;
Res = res_tru;
Fill$
CREATE; preds=b'x$
******************************************************************************
This email contains confidential and proprietary information and is not to be used
or disclosed to anyone other than the named recipient of this email,
and is to be used only for the intended purpose of this communication.
******************************************************************************
More information about the Limdep
mailing list