title: Include only complete groups in panel regression using Stata
body: <p>I have a panel set of data but not all individuals are present for all periods. I see when I run my <code>xtreg</code> that there are between 1-4 observations per group with a mean of 1.9. I'd like to only include those with 4 observations. Is there any way I can do this easily?</p>