On Mon, May 12, 2003 at 10:04:15PM +0100, SJ Friederich, Economics wrote:
> Dear all,
>
> Say I have a variable taking on a large number of values and I am only
> interested in finding out how much each of the top five or ten values
> represent in terms of frequencies. Is there an obvious way to tabulate only
> the largest (or smallest) values of a variable? -tabsort- will do it but
> generate tons of unwanted output (beyond the top values), I am more after
> something like Nick's -extremes- but for frequencies.
Something like
. tab X if X > x
might work after a few stabs at different values of x.
--
Michael
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/