SJ Friederich, Economics
>
> 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.
I interpret this as saying you want to see the # most
frequent values.
-modes- (STB-50) isn't quite what you seem to want,
but it may help. I'll look at adding this as
an option.
Nick
[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/