Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Regression output


From   "Sergio Correia" <sergio.correia@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Regression output
Date   Tue, 14 Nov 2006 08:32:55 -0500

webuse nlswork
tsset idcode year
xtdes // is the panel unbalanced?

xtreg grade ln_wage, fe // anything..
gen sample=e(sample)

tab sample // how many OBS are dropped
tab idcode if sample==1 // what groups are not dropped (0 for the dropped)


Basically, the idea is to use the e(sample) function (which u can use
after xtreg, see ereturn list). Afterwards, you just use a tab.

I hope that helps,
Sergio


On 11/13/06, Pavlos C. Symeou <p.symeou@jbs.cam.ac.uk> wrote:
Dear Statalisters,

I am running a FE model for a complete set of 214 countries for 25 years.
The regression results indicate that only 140 countries (groups) are used in
the estimation, a result of STATA omitting incomplete data rows. Is there a
way I can see which countries are included in the estimation? This is
important to make useful conclusions.

Yours,

Pavlos



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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