Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: Analyse variables used in a regression


From   "Jacobs, David" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Analyse variables used in a regression
Date   Wed, 2 Jan 2013 17:19:37 +0000

The easiest way to deal with this is to run a regression; then in subsequent commends use -, if e(sample)- thereafter.  If you need a more permanent approach (since -e(sample)- is recomputed after each run) use -generate presence=e(sample), which will produce a dummy coded one for all cases in the prior regression model and zero otherwise.

Dave Jacobs

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Claude Francoeur
Sent: Wednesday, January 02, 2013 12:15 PM
To: [email protected]
Subject: st: Analyse variables used in a regression

Hello,

The dataset I am using contains several  missing values. What would be the proper command(s) to analyse the data actually used in my regression. For example, I would like to produce descriptive tables to see how the subset that is used to perfom the regression is distributed among countries and industries.

Thanks,

Claude

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index