I am conducting a cross-sectional study on UK firms and I've created an industry variable 'ind1' that contains value labels for each industry category. I now want to create dummy variables for each study and attempted to do with the following code.
tabulate ind1, generate(ind) However, Stata returns r(110) indicating that my variable is defined but I do not intend on redefining the variable. I still have another variable 'industry' from which I derived my ind1 variable. How do I create my set of dummy variables then?