I have the dataset on employment sector of households as;
A. Wage in agri
B. Wage in non agri
C. Self in agri
D. Self in non-agri
using these four variable, I want to compute livelihood diversification strategies for each household:
1. Purely agriculture
(Those households in A & C=1, rest 0)
2. Ag and wage in non agri
(Those households in A &B&C but also those households in A&B and B&C =1, rest 0)
3. Ag and self in non agri
(Those households in A&C&D but also those households in A&C and C&D=1, rest 0)
4. Ag and self and wage in non agri
(Those households in A&B&C&D but also those households in A&B&C and A&C&D=1, rest 0)
5. Purely non farm
(Those households in A & C=1, rest 0)
how should I do it in STATA so that I get 4 mutually non exclusive livelihood strategies.
also, I’m trying to compare the impact of these livelihood strategies on total consumption expenditure. Since livelihood diversification is endogenous, my first thought was to do the regression using 2SLS estimator. But using binary endogenous response variable would lead to forbidden regression. So which estimator should I use that also corrects this endogeneity?
Related Posts with Creating 5 mutually non-exclusive groups
How to draw graph with both axis labeled with different scaleMy code: twoway (scatter state year, sort by(province)) (scatter wagepre year, sort yaxis(2) by(pro…
Confusion about MDSHello, I am trying to learn how to use MDS, and would like to know if there is a way to assign diff…
zipfile sub-option 'saving(... , replace)' not working with quoted target file name?Dear Statalist community, I just encountered a behavior with the zipfile command in Stata (I tested…
Bootstrapping a user-written program that has regressions with different samplesHello, My question is, if you write a program with regressions that are ran on different samples, d…
Margins with subpop option vs Regression with if optionA. Code: logistic y x covariates [pweight=perwtf], vce(cl f00011) margins, subpop(b) dydx(x covari…
Subscribe to:
Post Comments (Atom)
0 Response to Creating 5 mutually non-exclusive groups
Post a Comment