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: identifying set of cases analyzed


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: identifying set of cases analyzed
Date   Sun, 22 Apr 2012 14:43:04 +0100

Often documented, e.g. after model fitting you can go

gen used = e(sample)

Look for documentation on e(sample) and 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


2012/4/22 Sebastián Daza <[email protected]>:

> I am doing some analysis with an unbalanced panel data. I also have
> some missing data in the covariates. Does anyone know how (easily) to
> create a flag variable indicating what cases I am using (e.g., a
> xtlogit model, re or fe) so that to use the same set of cases in
> several less complex models (models with fewer covariates)?

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index