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
Transposing est tableDear Stata users, I need to estimate and compare a large number of models. To do so, I use an analo…
Line Plots : Count and Proportions Code: * Example generated by -dataex-. To install: ssc install dataex clear input int year str1 fi…
Doubts on interpreting my glm coeffcientsDear all, I want to verify if I'm interpreting my glm model right. I have a dependent variable, in …
Fixed Effects Regression: Problem with interpretation of interaction term vs. sample splitDear all, I want to investigate the relationship of 'Working from home (WFH)' and Job Satisfaction …
Trouble with asclogit for Choice ExperimentDear All I conducted a choice experiment concerning eco labelled seafood where individuals were giv…
Subscribe to:
Post Comments (Atom)
0 Response to How to make a binary outcome variable of 3 other variables
Post a Comment