Statalist


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

st: AW: AW: identifying obs actually used in a Logit model


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: AW: identifying obs actually used in a Logit model
Date   Thu, 23 Apr 2009 15:23:57 +0200

<> 


I swear I sent this twice and before anybody else answered, but no luck...



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Martin Weiss
Gesendet: Donnerstag, 23. April 2009 13:31
An: [email protected]
Betreff: st: AW: identifying obs actually used in a Logit model

<> 


*************
webuse lbw2, clear
logit low age lwt race2 race3 smoke ptl ht ui
gen byte used=e(sample)
ta used
*************


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Jiang, Frank
Gesendet: Donnerstag, 23. April 2009 13:17
An: [email protected]
Betreff: st: identifying obs actually used in a Logit model

Dear listers,

I am having difficulty identifying observations used in a logit model.
The model includes several sets of dummy variables.  Some observations
were automatically dropped because some dummy variables perfectly
predict failures, i.e. DV==0.  As a result, the number of obs used by
the logit model is smaller than the number of obs in the dataset.
However, I don't know which obs were excluded.  Is there a way to
identify the obs that were actually used in the model?

Thanks
Frank
 


*
*   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/


*
*   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/


*
*   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