Bookmark and Share

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]

st: comparing coefficients


From   John Stymans <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: comparing coefficients
Date   Wed, 9 Jan 2013 10:30:11 +0100

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index