Statalist The Stata Listserver

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

Re: st: Regression output

From   "Sergio Correia" <>
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,

On 11/13/06, Pavlos C. Symeou <> 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.



*   For searches and help try:

*   For searches and help try:

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