s-news
[Top] [All Lists]

problem with contrast

To: "Kevin Hou" <khou@incyte.com>, <s-news@lists.biostat.wustl.edu>
Subject: problem with contrast
From: "Kevin Hou" <khou@incyte.com>
Date: Fri, 28 Oct 2005 13:41:24 -0400
Thread-index: AcXQB2rGl0ouVJnISrioXWWSnUU4pQKZChwQAF7FQeA=
Thread-topic: problem with contrast

I am running a simple lm model for ANOVA. I changed the options as contr.treatment.

> options()$contrast

            factor       ordered

 "contr.treatment" "contra.poly"

However, when run the model and check the contrast it is still hermit. I tried several times to reset the contrast but it did not seem to work. Any idea?

Treat:

        [,1] [,2] [,3]

Placebo   -1   -1   -1

      d100    1   -1   -1

      d200    0    2   -1

        d50    0    0    3

Kevin

************************************************************
The contents of this message are intended only for the use
of the individual to which they are addressed and may
contain confidential or privileged information. If you are
not the intended recipient, you are hereby notified that
any use, distribution, disclosure or copying of this
message, any attachment or the information contained
therein is strictly prohibited. If you have received this
transmission in error, please notify the original sender
immediately and delete all copies of this message, along
with any attachments.   Thank you.
************************************************************




<Prev in Thread] Current Thread [Next in Thread>
  • problem with contrast, Kevin Hou <=