Statalist


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

Re: st: how to find out which groups were dropped in panel analysis


From   Eva Poen <eva.poen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to find out which groups were dropped in panel analysis
Date   Wed, 15 Apr 2009 11:53:01 +0100

<>

After estimation, type

tab groupvar if e(sample)

to see which groups are included. Alternatively,

tab groupvar if !e(sample)

tells you which ones were left out. But note that missing data may
have occured within groups, i.e. some observations might have been
dropped from some countries, but not all. Stata does tell you the
minimum, maximum, and average number of obs per group used in the
analysis.

Hope this helps,
Eva


2009/4/15  <Allison.Milner@student.griffith.edu.au>:
> Dear stata list,
>
> I am currently doing analysis on panel data (73 countries, 1980-2006). A number of 'groups' (countries) are not used in xtgee analysis due to missing data (i presume?). Is there any way to find out exactly which groups were used (from those that were not) after the analysis has been conducted? Currently stata just informs me that xtgee was conducted on 40 groups and I do not know which groups/countries these were.
> Thanks for your help
> *
> *   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index