Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: ordered tabulation with only top values shown


From   Rodrigo Briceño <rjbriceno@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ordered tabulation with only top values shown
Date   Thu, 19 Mar 2009 09:55:43 -0600

Thanks Nick and all answered my thread. I am testing fre, but also
will look at the last ones mentioned by Nick!

2009/3/19 Nick Cox <n.j.cox@durham.ac.uk>:
> -fre- is excellent for this and related problems.
>
> But there are other solutions too which have been around for some time.
>
> -modes- from SJ does what Rodrigo wants. So would -groups- from SSC.
>
> -groups- has one advantage over -modes- or -fre-: it extends to frequencies of two or more variables considered jointly.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Martin Weiss
>
> 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...
>
> Rodrigo Briceño
>
>> 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 <maartenbuis@yahoo.co.uk>:
>> >
>> > --- 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.
>> >
>
> *
> *   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
rjbriceno@gmail.com

MSN: jbric98@hotmail.com
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/



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