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
Subdivide an existing group based on another grouping variableDear statalist members, I'm trying to reproduce the variable -desired- in the data example below. T…
Interaction term including year dummy while using year and industry fixed effectsDear all, I would like to ask a question about using an interaction term in a two-way fixed panel r…
Question on an event study with foreign exchange dataHello! I am trying to do an "event study" on foreign exchange data from the euro usd pair. I have a…
Elasticities for different years using "reg3"I'm using "reg3" command to estimate a simultaneous system of demand and supply. I've a world demand…
Computing Average Treatment Effect for the Untreated (ATU) from IPTW-RAI am using the doubly robust estimator IPTW-RA to estimate the average treatment effect parameters (…
Subscribe to:
Post Comments (Atom)
0 Response to Industry Dummy Variables
Post a Comment