Hi all,
In regards to a task needed to be done for my degree, I need to finish this task. My research Q is following: What influences household income? My 2 explanatory variables are: education and alcohol consumption. Other controlvariables will be added later to check this
All the variables are following:
- dependent variable: income_pct_w5 (changed to 'inkomen')
- independent variables: br010_mod (changed to 'alcoholconsumptie') and isced1997_r (changed to 'educatie')
- control variables: age, mar_stat, female, hhsize and ep005_
What can I do/change to not have the brant error? Do I need to change the ologit to just a mlogit and work from there? But it seems my dependent variable, household income (in 3 groups) are ordinal.
my database comes from http://share-project.org/ questionnaires wave 5 for country==14
use "easySHARE_rel8-0-0.dta", clear
my code is following:
drop if country!=14
drop if wave!=5
recode income_pct_w5 (1/2=1) (3/8=2) (9/10=3), gen(inkomen)
label define inkomen1 1 "Laag" 2 "Gemiddeld" 3 "Hoog"
label values inkomen inkomen1
recode isced1997_r (0/3=1) (4/6=2) , gen(educatie)
label define educatie1 1 "Geen tot secundaire edu" 2 "Hogere edu"
label values educatie educatie1
recode br010_mod (1=1) (2/4=2) (5/7=3), gen(alcoholconsumptie)
label define alcoholconsumptie1 1 "Geen" 2 "Minder dan twee maal per week" 3 "Meer dan twee maal per week"
label values alcoholconsumptie alcoholconsumptie1
recode age (30/59.99=50) (60/69.99=60) (70/79.99=70) (80/99.99=90), gen(leeftijd)
label define leeftijd1 50 "30-50'ers" 60 "60'ers" 70 "70'ers" 90 "80-90'ers"
label values leeftijd leeftijd1
mvdecode educatie alcoholconsumptie, mv(-15/-12)
mvdecode educatie, mv(97)
drop if educatie == .
drop if alcoholconsumptie ==.
ologit inkomen ib(first).educatie ib(first).alcoholconsumptie ib(last).leeftijd, baselevel
brant, details
Thanks in advance,
Max
In regards to a task needed to be done for my degree, I need to finish this task. My research Q is following: What influences household income? My 2 explanatory variables are: education and alcohol consumption. Other controlvariables will be added later to check this
All the variables are following:
- dependent variable: income_pct_w5 (changed to 'inkomen')
- independent variables: br010_mod (changed to 'alcoholconsumptie') and isced1997_r (changed to 'educatie')
- control variables: age, mar_stat, female, hhsize and ep005_
What can I do/change to not have the brant error? Do I need to change the ologit to just a mlogit and work from there? But it seems my dependent variable, household income (in 3 groups) are ordinal.
my database comes from http://share-project.org/ questionnaires wave 5 for country==14
use "easySHARE_rel8-0-0.dta", clear
my code is following:
drop if country!=14
drop if wave!=5
recode income_pct_w5 (1/2=1) (3/8=2) (9/10=3), gen(inkomen)
label define inkomen1 1 "Laag" 2 "Gemiddeld" 3 "Hoog"
label values inkomen inkomen1
recode isced1997_r (0/3=1) (4/6=2) , gen(educatie)
label define educatie1 1 "Geen tot secundaire edu" 2 "Hogere edu"
label values educatie educatie1
recode br010_mod (1=1) (2/4=2) (5/7=3), gen(alcoholconsumptie)
label define alcoholconsumptie1 1 "Geen" 2 "Minder dan twee maal per week" 3 "Meer dan twee maal per week"
label values alcoholconsumptie alcoholconsumptie1
recode age (30/59.99=50) (60/69.99=60) (70/79.99=70) (80/99.99=90), gen(leeftijd)
label define leeftijd1 50 "30-50'ers" 60 "60'ers" 70 "70'ers" 90 "80-90'ers"
label values leeftijd leeftijd1
mvdecode educatie alcoholconsumptie, mv(-15/-12)
mvdecode educatie, mv(97)
drop if educatie == .
drop if alcoholconsumptie ==.
ologit inkomen ib(first).educatie ib(first).alcoholconsumptie ib(last).leeftijd, baselevel
brant, details
Thanks in advance,
Max
Comment