More good lessons. Thank you, Nick and Daniel!
On Fri, Jan 6, 2012 at 14:04, daniel klein
<klein.daniel.81@googlemail.com> wrote:
> One (slow) way to get an indicator for your regression sample is to
> simply run your regression model and use e(sample) as in
>
> reg <your varlist>
> <whatever command> if e(sample)
>
> But see -help mark- for the preferred way to mark your sample.
>
> Best
> Daniel
>
> --
> But I would like to keep all observations and just mark the ones with
> missing observations in a given -varlist-. This way with an -if-
> statement I can find summary statistics for the same data that I will
> later use in regressions.
> *
> * 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/