Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: predict bug?


From   Stefan Kreisel <[email protected]>
To   [email protected]
Subject   st: predict bug?
Date   Mon, 08 Jun 2009 17:37:13 +0200

Hi all.
When calculating a model with "ologit" (same bug? with "oprobit" or "regress" for that matter) with many independent categorical variables (25 in all; model has >2500 observations) and then using "predict yhat, xb" I get a bunch of cases (not all) with predictions=0; when calculating the linear predictor by hand, the results are perfectly identical to the stata output of the other non-zero predictions and the cases where stata predicted a 0, all calculate to non-zero numbers. Any ideas?
Regards!
Stefan Kreisel

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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