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?
Related Posts with Industry Dummy Variables
How to fit a zero-inflated poisson model in GSEM?Hi friends, BACKGROUND: I have checked all examples showed in SEM/GSEM, but I do not find any examp…
Help for nonlinear dynamic panel models with fixed effects (count data)Hi, I recently suffered from confusion about dynamic panel models with fixed effects for count data…
Deleting observations from a panel data according to a criteriaHi, I am quite new to STATA (shame on me) and am trying to figure out how to get a desired dataset …
Keeping specific observations within groupsHi everyone, I am having difficulties wrapping my head around the following problem: I have a pane…
Controlling for gender in linear regressionHello Statalist! This is my first ever post, and I am newly learning Stata as a somewhat-competent u…
Subscribe to:
Post Comments (Atom)
0 Response to Industry Dummy Variables
Post a Comment