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]
st: a specific data management question
From
Grace Jessie <[email protected]>
To
<[email protected]>
Subject
st: a specific data management question
Date
Wed, 11 Aug 2010 03:50:12 +0000
Dear statalists,
I have a sample like the following,
firm tag
1 0
1 0
1 1
1 1
1 3
2 0
2 1
2 2
2 3
3 0
3 0
I want to generate a varialbe counting the number of "tag==1" in each level of firm.
How to do it?
Thank you a lot!
Grace
*
* 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/