I need to use a t-statistic to test is the coefficients on education and experience are equal. I need to rewrite the equation. My equation is:
log of hourly wage=B0+B1EDYEARS+B2EXPER+B3EXPER^2+u
Would these commands be correct?
generate EDYEARSexper2= (EDYEARS-exper+exper) (this wold be my new B1)
and then:
generate EDYEARSexper3= (EDYEARS+EXPER) (this would be my new B2)
and then: reg lofhrwage EDYEARSexper2 EDYEARSexper 3 exper^2
I really appreciate any feedback
log of hourly wage=B0+B1EDYEARS+B2EXPER+B3EXPER^2+u
Would these commands be correct?
generate EDYEARSexper2= (EDYEARS-exper+exper) (this wold be my new B1)
and then:
generate EDYEARSexper3= (EDYEARS+EXPER) (this would be my new B2)
and then: reg lofhrwage EDYEARSexper2 EDYEARSexper 3 exper^2
I really appreciate any feedback
Comment