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]

Re: st: RE: Analyse variables used in a regression


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: RE: Analyse variables used in a regression
Date   Wed, 2 Jan 2013 18:30:07 +0000

See also

SJ-7-2  dm0030  . . . . . . . . . .  Stata tip 44: Get a handle on your sample
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  B. Jann
        Q2/07   SJ 7(2):266--267                                 (no commands)
        tip on how to keep track of the observations that make
        up your estimation sample

which is accessible to all at

<http://www.stata-journal.com/sjpdf.html?articlenum=dm0030>

Nick

On Wed, Jan 2, 2013 at 5:19 PM, Jacobs, David
<[email protected]> wrote:

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

Claude Francoeur

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

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