Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Fwd: st: Drop subjects from a panel


From   Abhimanyu Arora <[email protected]>
To   [email protected]
Subject   Fwd: st: Drop subjects from a panel
Date   Wed, 8 Feb 2012 22:03:21 +0100

Email bounced back...
But pls

---------- Forwarded message ----------
From: Abhimanyu Arora <[email protected]>
Date: Wed, Feb 8, 2012 at 9:43 PM
Subject: Re: st: Drop subjects from a panel
To: [email protected]



Hi
I would
*-generate- an indicator variable, newvar satisfying the condition
*sum it up, -by panelvar-, thereby generating sum_newvar
*drop if sum_newvar>0



On Wed, Feb 8, 2012 at 9:36 PM, Ayman Farahat <[email protected]> wrote:
>
>
> Hello ;
>
>  I have a panel data. I would like to remove all subjects that had a certain co-variate at a specific time.
>
> For example, drop all subjects that had a covariate==0 for time==2.
> Any help greatly appreciated.
>
> Thanks
> Ayman
>
>
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index