Statalist


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

Re: st: ordered tabulation with only top values shown


From   "Martin Weiss" <Martin.Weiss1@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ordered tabulation with only top values shown
Date   Wed, 18 Mar 2009 21:27:04 +0100

<>

You have to be creative to get it into ascending order:


*****
sysuse auto, clear
*descend
ta rep78, sort
*ascend
contract rep
l
*****

I do think that the rest of your post is a little opaque. You can add the -if- qualifier to the -tab- to get a subset of the values, but I have a hunch you are really aiming at something else?


HTH
MArtin
-------- Original-Nachricht --------
> Datum: Wed, 18 Mar 2009 14:19:23 -0600
> Von: "Rodrigo Briceño" <rjbriceno@gmail.com>
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: ordered tabulation with only top values shown

> Dear members of the list. 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.
> 
> Thanks
> 
> -- 
> 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/

-- 
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/



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