Statalist


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

Re: st: drop panel observations


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: drop panel observations
Date   Fri, 20 Mar 2009 21:21:54 -0500

bysort panelvar:  keep if _N>4

Scott

On Fri, Mar 20, 2009 at 8:01 PM, Christian Bustamante <[email protected]> wrote:
> Hi
>
> I'm runing a regression model with a unbalanced panel. I want to drop
> observations of individuals that doesn't have at least observations
> for 4 years. How can I do that?
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index