Getting closer, but not quite there yet...If it is impossible to
create longer stubs, then instead a command that take the different
values of a variable and create new indicator variables based on the
label of the values
eg
tab a
q 25
p 34
o 97
tab a,nol
1 25
2 34
3 97
what I need then is to create variables based on the value labels so that:
tab q
0 131
1 25
tab p
0 122
1 34
etc..
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/