Stata FAQ: How can I create dummy variables in Stata? - IDRE - UCLA
                    Let's begin with a simple dataset that has three levels of the variable group: input group 1 1 2 3 2 2 1 3 3 end. We can create dummy variables using the tabulate ... 
                    www.ats.ucla.edu  |