Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: comparing coefficients


From   "Nichols, Austin" <ANichols@ui.urban.org>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: comparing coefficients
Date   Mon, 30 Aug 2004 15:33:50 -0400

One way is
.  gen x_male=x*male
.  gen cigs_male=cigs*male
.  logit y x_male x cigs_male cigs
.  test cigs_male

-----Original Message-----
From: Ricardo Ovaldia [mailto:ovaldia@yahoo.com]
Sent: Monday, August 30, 2004 3:25 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: comparing coefficients


This question may have been asked and answered before,
but I could not find it in the archives.

If I fit two logistic models, less say one for males
and one for females, than include the same 5
covariates and one exposure variable, less say number
of cigarettes smoked per day. How can I test if the
odd ratios (coefficients) for the exposure variable
(number smoked)are the same in the two models?

Thank you in advance,
Ricardo.

 

=====
Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index