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
xtabond2 GMM: No Observation ErrorHi, I have an unbalanced panel comprising of data from the years 2005 and 2011. I am trying to run …
How to create an index variable and analyze i vs. i - 1 (long data)How could I create a variable called test_index to enumerate (from 1 to ...) the tests for each reco…
Different Number of Observations when using 2SLS and IVprobitHi. I am examining the impact of the migration of one member on children in the migrant's household.…
Graphs for Difference-in-Difference estimationI have a pooled cross-section dataset of 788 firms for the period of 2006-2017. There was an exogeno…
Partial F Test or Chow TestStata users I've been searching for a long time. How I can I perform an partial f test in stata? …
Subscribe to:
Post Comments (Atom)
0 Response to Industry Dummy Variables
Post a Comment