Hi all,
My outcome variable is Entrepreneur =Yes=1 and Entrepreneur = No=wageworker=0
I'm using GEM data and I define entrepreneur with the variables bstart = yes = 1 and/or ownmge = yes = 1. The command I used for this is:
gen entrepreneur = 1 if bstart_e == 1 | ownmge_e == 1
replace entrepreneur = 0 if bstart_e == o & ownmge_e == 0
GEMWORK 3 == 10 gives all working people, so including entrepreneurs and wagewokers. My first hypothesis is: Women are less likely than men to be an entrepreneur (as compared to being a wage worker).
But using the command above does not compare entrepreneurs with wagewokers, but with anyone else but entrepreneurs.
How can I make this variable?
Thanks in advance,
Josephine
Related Posts with How to make a binary outcome variable of 3 other variables
Generating a table for correlations obtained by groupHello, I would like to generate the correlations between two dependent variables for a large set of…
Displaying all numbers in outputHi all, I need help changing the format of an output. I have tried all the options in help format an…
Incorporating Year and Firm Fixed Effects in Panel Data with reghdfe, but how?Hi All, As I am replicating a paper, I will use 9 years of data instead of their 2 years. To take a…
nonstandard rolling regressionsDear All, Suppose that I have the following dataset Code: * Example generated by -dataex-. To insta…
Questions of xtabond2 system GMM, gmmstyle or ivstyle?Dear all, I have been trying to replicate the paper Global Capital Fows and Financing Constraints b…
Subscribe to:
Post Comments (Atom)
0 Response to How to make a binary outcome variable of 3 other variables
Post a Comment