Hi,

I would like to create about 20,000 dummy variables from one variable studentID. When I used the code tab studentID,gen(studentID). Stata say that there were too many values. Is there any other way to create the dummy variables instead of doing it manually one by one?

Thank you.