Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: dealing with multiple alphanumeric responses


From   pgupta@worldbank.org
To   statalist@hsphsun2.harvard.edu
Subject   st: dealing with multiple alphanumeric responses
Date   Mon, 1 Jul 2002 15:22:16 -0400

Hi All,

I am doing quantitative analyses of a set of variables using stata. one of my
variables has multiple alphanumeric characters that are not seperated by commas.
for eg, the first five observations of the variable are

1. ABC
2. ABCEG
3. BDEGHI
4. ACDFGI
5. AHI

can a write a code which allows me to do a tabulation of each of these alphabets
(i.e., how many As, how many B, how many C and so on) ?

replies to this mail will be sincerely appreciated

best,

Pooja Gupta

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index