Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: comparing coefficients
From
David Hoaglin <[email protected]>
To
[email protected]
Subject
Re: st: comparing coefficients
Date
Wed, 9 Jan 2013 07:07:40 -0500
John,
What's wrong with including both genders in a single model and
expanding the list of predictors to include gender and the interaction
of gender with each of the current predictors?
David Hoaglin
On Wed, Jan 9, 2013 at 4:30 AM, John Stymans <[email protected]> wrote:
> Dear Statalist Users,
> I have a problem when comparing coefficients across groups.
> I am using Stata 12.
> I first run an ordered logit model for two groups (males and females).
>
> ologit y1 i.education age income class household country if gender=0, or store(step1a)
> ologit y1 i.education age income class household country if gender=1, or store(step1b)
> goal is to compare across gender the effect of education which is a categorical variable with 3 values, hence the use of i..
>
> when I use suest:
>
> suest step1a step1b
>
> test [step1a _y1]i.education=[step1b_y1]i.education
>
> the command does not work. I am however able to split education in three values an add two of them to the regression (omitting educationlow);
>
> ologit y1 educationmedium educationhigh age income class household country if gender=0, or store(step1a)
> ologit y1 educationmedium educationhigh age income class household country if gender=1, or store(step1b)
> and than run suest:
>
> suest step1a step1b
>
> test [step1a _y1]loweducation=[step1b_y1]loweducation
>
> Yet I am unable to compare the difference in significance of education across gender in general. Does anyone know how to solve this issue?
>
> Many thanks in advance and best regards,
>
> John
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/