Dear Martin,
thank's a lot - unfortunately, my Stata does not like this solution..
. by country: keep in -100/l
'in' may not be combined with 'by'
On Wed, Jul 1, 2009 at 10:40 PM, Martin Weiss<[email protected]> wrote:
<>
sort country size
by country: keep in -100/l
HTH
Martin
_______________________
----- Original Message -----
From: "Christian Weiß" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 01, 2009 10:24 PM
Subject: st: Deleting Only Particular Observations
Dear Statalist,
Variable size contains the marketcap of about 2000 firms from 11
countries (grouping var country).
I would like to keep only the 100 biggest firms (by marketcap) from
each country, and delete the residual observations.
How can I accomplish this?
Best regards
Christian
*
* 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/
*
* 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/