Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Chiara Mussida <cmussida@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: Re: st: playing with coefficients |
Date | Fri, 23 Mar 2012 14:13:56 +0100 |
I totally agree: is there a way to cast this as a single regression: reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==1 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==1 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==2 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==2 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==3 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==3 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==4 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==4 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==5 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==5 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==6 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==6 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==0 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==7 reg lwage pexper pexpersq edu2 edu3 child12 married northe centre south ftc partime d09 if fem==1 & cond3==1 & age>=15 & age<=64 & dipind==1 & hours>20 & hours<55 & occupation==7 therefore to run - better reg - the same regression by gender (fem) and occupation? This for sure will facilitate playin with coefs. Thanks On 23/03/2012, Christopher Baum <kit.baum@bc.edu> wrote: > <> > Sure, I did not state the meaning of playing with coefs from different > models. The reg are wage equations by gender and occupations. All > those info will be needed to compute an overall wage decomposition > across (obviously) gender and all the occupational cats. > > Anyway, statsby seems to be the solutio. I'm going more in detail > > > Not at all clear why you want to run separate regressions for gender and > occupation categories. There are ways to cast this as a single regression, > which would surely make things simpler in terms of comparisons, and would > enable formal tests for differences---which you will not have with separate > equations. > > Kit > > > Kit Baum | Boston College Economics & DIW Berlin | > http://ideas.repec.org/e/pba1.html > An Introduction to Stata Programming | > http://www.stata-press.com/books/isp.html > An Introduction to Modern Econometrics Using Stata | > http://www.stata-press.com/books/imeus.html > > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ > -- Chiara Mussida PhD candidate Doctoral school of Economic Policy Catholic University, Piacenza (Italy) * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/