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]

From |
"Jacobs, David" <jacobs.184@sociology.osu.edu> |

To |
"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |

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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Claude Francoeur Sent: Wednesday, January 02, 2013 12:15 PM To: statalist@hsphsun2.harvard.edu 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/

**Follow-Ups**:**Re: st: RE: Analyse variables used in a regression***From:*"JVerkuilen (Gmail)" <jvverkuilen@gmail.com>

**Re: st: RE: Analyse variables used in a regression***From:*Nick Cox <njcoxstata@gmail.com>

**References**:**st: Analyse variables used in a regression***From:*Claude Francoeur <claude.francoeur@hec.ca>

- Prev by Date:
**Re: st: Messy graphs with tmap and spmap.** - Next by Date:
**Re: st: xlabel questions in graph bar options.** - Previous by thread:
**st: Analyse variables used in a regression** - Next by thread:
**Re: st: RE: Analyse variables used in a regression** - Index(es):