How about...
. tabstat A1_*, s(sum mean) c(s)
variable | sum mean
-------------+--------------------
A1_1 | 2 .6666667
A1_2 | 2 .6666667
A1_3 | 1 .3333333
----------------------------------
David
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Munro,
Cameron
Sent: 16 March 2006 09:41
To: [email protected]
Subject: st: Tabulation of multiple answer question
I'm trying to tabulate the % of respondents to a multipunch survey
question who answer affirmative to each alternative. In other words:
indiv A1_1 A1_2 A1_3
1 0 1 0
2 1 0 1
3 1 1 0
I can -tabulate- each variable on their own, but I'm looking to have a
table across all A1* variables, i.e.
Freq. Percent
A1_1 2 66.67
A1_2 2 66.67
A1_3 1 33.33
Is there an obvious way to do this?
Many thanks,
Cameron.
--------------------
This email message is for the sole use of the intended recipient(s) and
may contain privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/