Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index