Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Tabulating extreme values


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Tabulating extreme values
Date   Tue, 13 May 2003 09:07:20 +0100

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index