<>
One could think of constructs with the -in- qualifier here, but Maarten`s answer is unbeatable: -ssc d fre- takes care of both ordering and subsetting the values...
HTH
Martin
-------- Original-Nachricht --------
> Datum: Wed, 18 Mar 2009 15:02:09 -0600
> Von: "Rodrigo Briceño" <[email protected]>
> An: [email protected]
> Betreff: Re: st: ordered tabulation with only top values shown
> Thanks Maarten and Martin. To clarify my opaque need to Martin what I
> need is that the table produced only shows the first ten values (the
> highest 10 values or any other small figure) to avoid having really
> long tables of results and further editing (erasing anything below the
> 10th greatest value). It is more clear now?
>
> 2009/3/18 Maarten buis <[email protected]>:
> >
> > --- Rodrigo Briceno wrote:
> >> I recently discovered the use of the command
> >> tab with the option sort in order to get an ordered table of
> >> frequencies (descendant order).
> >> I am wondering if I can use an additional option in order to show only
> >> some specific set of results, since some categories on my tables are
> >> really long (more than 256 categories in one case).
> >> Also I have the doubt if tab could be combined with an option in order
> >> to get ascendant frequencies.
> >
> > Yes, see -ssc describe fre- for Ben Jann's -fre- package.
> >
> > -- Maarten
> >
> > -----------------------------------------
> > Maarten L. Buis
> > Institut fuer Soziologie
> > Universitaet Tuebingen
> > Wilhelmstrasse 36
> > 72074 Tuebingen
> > Germany
> >
> > http://home.fsw.vu.nl/m.buis/
> > -----------------------------------------
> >
> >
> >
> >
> > *
> > * 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/
> >
>
>
>
> --
> Rodrigo Briceño
> Economist
> +506 22-91-12-00 ext. 113 Office
> +506 22-32-08-30 Fax
> [email protected]
>
> MSN: [email protected]
> SKYPE: rbriceno1087
>
> *
> * 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/
--
Martin Weiss
Hackersteigle 3
72076 Tübingen
00497071/793535
00491784597218
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
*
* 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/