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: stacking unique values of several variables under one new variable
From
James Bernard <[email protected]>
To
[email protected]
Subject
st: stacking unique values of several variables under one new variable
Date
Mon, 25 Feb 2013 14:15:16 +0800
Dear all,
I have been struggling with the following. I would appreciate you help
I have a variable ("Technology) that indicates type(s) of a technology
for each record. I want to aggregate the unique values of this
variable under one new variable, say, called "Type:
Technology
-------------------------
Monoclonals
Vaccines
Adjuvant, Vaccine
Combinchem, Monoclonals
Now, i want to create a variable that stores unique values:
Type
-----------
Monoclonals
Vaccines
Adjuvant,
Combinchem
I would appreciate your help.
Thanks,
James
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/