I am analyzing the effect of Covid on unemployment and I believe a major explanatory factor is the industry that an individual belongs to. I am trying to control for industry in a DiD analysis to prove this theory. Within my dataset the variable for industry contains about 60 different industries and I was going to perhaps create a dummy variable for industries that closed during lockdown. However, the industries are in quite a random order- e.g. the first 10 industries are industries that didn't close but the 11th and 12th did close but the 13th didn't etc. I'm assuming I'll just have to go through the whole list and specify which closed and which did not, but how do I work this into a command? Do I use the varlist command?
Related Posts with Grouping Together Industries- Should I use Varlist?
GraphingHello Statalist-ers, I have a dataset below that I would like to graph - can someone please give me…
New to STATA and could use some helpThis is our second class and our professor has thrown this at us without ever using STATA before, …
Regression of a continuous variable on three binary endogenous variables and other covariatesI wish to run a regression of wages on three distinct training choices. These training choices are b…
Decomposition of percentage changesHi everyone, I am trying to implement a decomposition method used by Quigley and Raphael in their 2…
Engle-Granger 2-step ECMHi everyone! I need your advice for Engle-Graner 2-step procedure in Stata. Suppose that the model …
Subscribe to:
Post Comments (Atom)
0 Response to Grouping Together Industries- Should I use Varlist?
Post a Comment