Hi,

Is there a way I can specify linear contrasts in glm? I'm looking for
something equivalent to SAS' contrast statement.

I'd like to do the following, suppose I have a categorical input with 4
levels (a,b,c,d), I'd like to test something like: (i)  a+b=c+d, (ii) a=b,
(iii) a=b+d, etc...

Thanks in advance for your help!

Leo.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to