Bookmark and Share

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: generate group variables


From   R Zhang <[email protected]>
To   [email protected]
Subject   st: generate group variables
Date   Sat, 15 Feb 2014 20:39:22 -0500

Dear all,

I would like to generate 36 group code based on technological
classification code. for example,

for technological classification code= 8,19,71, 127, 442, 504, it will
be coded as groupcode=11,

for technological classification code= 106, 118, 401, 427, it will be
coded as groupcode=12,

.... etc


I just switched from sas programming to stata, hence, not very good at
stata coding.

could you shed light one this?

thanks,

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index