Mean as intercept; model matrices [🇷 for BE/BA]

posted by ElMaestro  – Denmark, 2009-05-22 16:39 (6227 d 10:07 ago) – Posting: # 3728
Views: 14,055

Dear ElMaestro,

I was lying awake all night trying to figure this one out.
It appears that options(contrasts = c("contr.helmert", "contr.poly")) does the trick, then the model fits the mean as intercept. I got the inspiration for this here. Let it be said, I am not totally comfortable with contrasts (or with BE or with R or ...) but if the contrasting principle of summing to zero applies here then I would guess that the coefficient for Trt1 is -Trt2; the summary readout is consistent with this.
Aaaah, life is one long bloody learning process. HS, I guess Karl Popper or Kermit the Frog or some other fancy philosopher has a quote that fits on me in this situation?!

Best regards
ElMaestro - "Roses are red, violets are blue, I'm a schizophrenic and so am I"
(attributed to Oscar Levant)

Complete thread:

UA Flag
Activity
 Admin contact
23,653 posts in 4,991 threads, 1,570 registered users;
104 visitors (0 registered, 104 guests [including 26 identified bots]).
Forum time: 02:46 CEST (Europe/Vienna)

In theory, there is no difference between theory and practice.
But, in practice, there is.    Jan L.A. van de Snepscheut

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5