Hi all,
Thank you Nick for the last answer on the dummy. I have another
question to ask about creating dummy.
I have a string variable called market (in the long format) which has
19 different string "values" such as
f1,f2,...f6,s1,...,s5,a1,...,a5,u1,u2,b1.
I would like to create 5 dummies which would group f1-f6 into
dummy f, s1-s5 into dummy s, a1-a5 into dummy a and so on.
Is this possible?
Thanks.
Gunche
School of Economic Studies
University of Manchester
Oxford Road
Manchester
M13 9PL
Tel +44-(0)161-275-4624
Fax +44-(0)161-275-4928
*
* 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/