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]

st: Drop observations of groups with 0 as critical value


From   "Achmed Aldai" <[email protected]>
To   [email protected]
Subject   st: Drop observations of groups with 0 as critical value
Date   Sat, 04 Jun 2011 16:17:54 +0200

Hi

Below find an extract of my data set.


gvkey           debtratio
1001            0,2
1001            0,23
1001            0,23
1001            0,23
1001            0,25
1200            0,05
1200            0
1200            0
1200            0


I want to drop all the firms that have a zero debtratio. Meaning that once the debtratio becomes 0 I want to drop all the observations of this company (gvkey). So in the end I should only be left with firms that all have a nonzero debtratio.

Thank you

Felix
-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone
*
*   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