Skip to content

Preferable contrasts?

1 message · John Fox

#
Dear Dominik,

I'm not familiar with contr.SAS (where does it come from?), but from the 
output I'd guess that it simply sets a different baseline category for the 
contrasts -- the last category (in your, case, coded 1 apparently) rather 
than the first (i.e., coded 0), which is what contr.treatment does. Notice 
that you have the same estimate and standard error for the interaction in 
both cases, which is consistent with my guess. To verify the codings try 
contrasts(factor(PRO)) in each case.

In general, you should interpret parameter estimates in conformity with the 
coding employed. When using 0/1 coding in a model with interactions, you 
shouldn't think of the the coefficients for factor(PRO) and factor(PRE) as 
"main effects." None of this is specific to the Cox regression model.

I hope that this helps,
John
At 10:36 AM 11/7/2002 +0100, Grathwohl,Dominik,LAUSANNE,NRC/NT wrote:

            
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._