Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: testing for significant differences between coefficients in different models


From   "Cynthia Fontanella" <cfontanella@sbcglobal.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: testing for significant differences between coefficients in different models
Date   Fri, 27 Apr 2007 12:11:34 -0400

Use the likelihood ratio test. 

After the first model write:

Store estimates A

After the second model write:

Store estimates B
Lrtest A

Cynthia Fontanella
Fontanella.4@osu.edu

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Wendy Regoeczi
Sent: Friday, April 27, 2007 11:37 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: testing for significant differences between coefficients in
different models

Hello all,
I couldn't find an answer to this question in the archives. I am 
analyzing two models using the same set of independent variables, one 
is a logistic regression model and the other is a Cox proportional 
hazards model. It has been suggested to me that I should do some 
post-hoc tests of the differences between the coefficients in the two 
models. Is there a way to do this in Stata, given that two different 
types of models are being estimated and the variable names are 
identical in both models?

Any help would be greatly appreciated!
Sincerely,
Wendy Regoeczi

*
*   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/