Friends,
I have a long dataset with variables that allow multiple responses per
subject. So it looks like:
ID var1 var2
1 3 5
1 2 .
2 3 4
2 . 5
etc.
Reshape doesn't like multiple responses for a single variable. What's the
most efficient way of reshaping to wide, with each variable becoming a
response-specific dummy, i.e., var1_1, var1_2, etc.
thx....arnold
Arnold H. Levinson, Ph.D.
Assistant Professor of Preventive Medicine & Biometrics
University of Colorado at Denver & Health Sciences Center
Associate Scientist
AMC Cancer Research Center
303.777-8801
[email protected]
*
* 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/