I am not a statistician but as noone has answered yet I can give my 2
cents just to activate the question. What you want to do is to look
for the interaction term between gender and x1 and so forth. Maybe you
can include gender with interaction terms in the model instead of
using by?
Greetings
Roland Andersson
2008/1/11, Jinkuk Hong <[email protected]>:
> Hi,
> fist time posting (I'm a newbie in Stata in the early stage of learning curve).
> I have a question about comparing regression coefficients across subsamples.
> In specific, I've run multilevel regression using xtmixed for men and women
> separately, as follows:
> by gender, sort: xtmixed y x1 x2 x3 || id: x1 x2, cov (unstr) || day: cov (unstr)
> and wanted to test if coefficients for x1, x2, and x3 are different between
> the two groups.
> Is there any way to do this in Stata? I've checked "test" and "estimates"
> commands, but couldn't find any commands for that.
> Any help or advice will be greatly appreciated.
> Have a nice weekend,
>
> Jin
>
> --
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/