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
Random Effect Ordered Logit BayesianHi, I am trying to estimate the group residuals (RE) of the following simple model: HTML Code: Y…
Wilcoxon matched-pair sign-rank test -signrank- with a grouping variable ( by(groupvar) )Hi! I'm conducting a study in which I have 3 controls per case, matched on age, cancer stage and ca…
Creating Gini Coefficients from Categorical Income Data in 2000 US CensusHey everyone, This is my first post to Statalist. Please let me know if there is anything missing i…
How to plot the below graphs after quantile regression?Please could anyone tell how to plots the same graphs after quantile regression? I have tried to plo…
xtabond2: Hansen testGood day all, I'm running a dynamic panel regression with results shown below. I'm wondering if my …
Subscribe to:
Post Comments (Atom)
0 Response to How to make a binary outcome variable of 3 other variables
Post a Comment