Statalist


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

st: How do I keep the same sample size without deleting cases?


From   dimitris souftas <souftronic@hotmail.com>
To   statalist correct <statalist@hsphsun2.harvard.edu>
Subject   st: How do I keep the same sample size without deleting cases?
Date   Sat, 20 Jun 2009 13:37:15 +0300

*****


Hi everybody,

         I am a new stata user, so excuse me for my ignorance...I am using panel data and  I want to do my descriptive analysis and my exploratory analysis having (of course) the same number of observations. I first rum my prbot model and then I make tables with means using e(sample in my "if" statement and everything goes well. However when I do crostabs (using ta or table) the number of observations is different (higher to be exact). I have observed, while making the means tables, that when I dont include in my descriptives all the variables used in the probit model then the sample size changes. How can I keep the sample size the same without deleting the missings?

Thank you for your understanding,
                   
                           Dimitris Souftas  



_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index