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
Correct for Selection on Independent VariablesDear Statalists, I am confused about how to correct for selection on one independent variable. I wa…
Exporting Logistic Regression output table - command using 'svyset'Dear experts, I am running logistic regression model using 'svyset' command in Stata 15. I am unable…
local macro to be used for numlist?Dear All, Task: Variable X has a lot of missing values, suppose the first three values are missing,…
I need to log a variable, but some of the observations are negative. How to solve this problem?Hi, I'm using Stata/SE 16.1. My dataset is a panel data and contains the financial statement and ke…
Find observations with same content for one variableI would like to find out which observations have the same content for one variable. Is there a comma…
Subscribe to:
Post Comments (Atom)
0 Response to Creating 5 mutually non-exclusive groups
Post a Comment