Hi- I'm working with wage equations, using the ORU (overeducation, required and under education) model specified by Duncan and Hoffman. I'm using one variation of the model which uses the mode of years of schooling per occupational group using ISCO two digit to determine required years of schooling. Anything above the mode is overeducation, anything under is undereducation, and anything equal is adequately educated. I inserted the below commands in Stata for my panel data set:
by year country isco88, sort: egen yrschoolmode=mode(yrschool)
by year country isco88, sort: generate overedu2=yrschool if yrschool>yrschoolmode
by year country isco88, sort: generate underedu2=yrschool if yrschool<yrschoolmode
by year country isco88, sort: generate matched2=yrschool if yrschool==yrschoolmode
When I try to regress afterwards using pooled OLS:
xi: regress logwage matched2 overedu2 underedu2 female exp exp2 disability married i.country, vce(robust)
I just get no observations. Any ideas as to why that may be the case?
Thanks,
Ghia
by year country isco88, sort: egen yrschoolmode=mode(yrschool)
by year country isco88, sort: generate overedu2=yrschool if yrschool>yrschoolmode
by year country isco88, sort: generate underedu2=yrschool if yrschool<yrschoolmode
by year country isco88, sort: generate matched2=yrschool if yrschool==yrschoolmode
When I try to regress afterwards using pooled OLS:
xi: regress logwage matched2 overedu2 underedu2 female exp exp2 disability married i.country, vce(robust)
I just get no observations. Any ideas as to why that may be the case?
Thanks,
Ghia
Comment