I have a dataset (Argentinian enterprise panel survey) containing 527 variables from the years 2015,2016,2017 and 2018.
I am trying to
- generate a new variable exp_dum (export dummy) which equals 1 if sales_exp is positive, otherwise 0.
- generate new variable foreign_dum (foreign ownership dummy) which equals 1 if foreign is positive, otherwise 0.
- generate new variable soe_dum (state ownership dummy) which equals 1 if soe is positive, otherwise 0.
How would I go about generating these three dummy variables in stata 15?
Many thanks in advance
Kieran
0 Response to Creating a dummy variable - New User of Stata 15
Post a Comment