Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: partial label list


From   "Dimitriy V. Masterov" <dvmaster@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: partial label list
Date   Wed, 29 Sep 2010 11:21:41 -0400

Ben wants to
> ... list the name, label, and count for only a
> subset of the list of names (e.g., if cname>5).

How about:

list namestr name cname if cname>5, nolabel

This will give you the name, the numeric value associated with it and the count.

Does this accomplish what you have in mind?

If not, it would be helpful if you gave us a taste of what your data
looks like and the output you would like to see.

Dimitriy
*
*   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   |   Site index