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: count instances across a group of variables
From
"Fitzmaurice, A.E." <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: count instances across a group of variables
Date
Fri, 27 Jul 2012 13:29:36 +0100
Hi
I have three variables coded 1 to 15, where the meaning of each of the codes is consistent across the three variables, what I would like to do is to produce output which uses information across all of the variables and gives me the number of time value 1, value 2 etc occurs across the three variables
If possible I would also like to generate a variable (possibly in a new dataset) which contains this info
Is this possible in stata
Thanks
Ann
Ann E Fitzmaurice (PhD)
Medical Statistician
Immpact University of Aberdeen
Health Sciences Building
Foresterhill
Aberdeen, AB25 2ZD
Scotland
Tel: +44 (0)1224 438076
Fax: +44 (0)1224
Email: [email protected]
The University of Aberdeen Open Day
Tuesday 28th August 2012
8.45am - 3.30pm
For more information or to book a place, visit
www.abdn.ac.uk/openday
The University of Aberdeen is a charity registered in Scotland, No SC013683.
*
* 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/