Mean as intercept; model matrices [🇷 for BE/BA]
Dear ElMaestro,
I was lying awake all night trying to figure this one out.
It appears that
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)
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:
- Mean as intercept; model matrices ElMaestro 2009-05-20 20:35
- Mean as intercept; model matrices yjlee168 2009-05-21 13:35
- Mean as intercept; model matrices ElMaestro 2009-05-21 14:30
- Mean as intercept; model matricesElMaestro 2009-05-22 14:39
- Mean as intercept; model matrices yjlee168 2009-05-23 20:06
- Mean as intercept; model matrices Aceto81 2009-05-26 10:28
- Mean as intercept; model matrices yjlee168 2009-05-23 19:30
- Mean as intercept; model matrices ElMaestro 2009-05-23 19:53
- Reparameterization d_labes 2009-05-25 11:47
- Reparameterization yjlee168 2009-05-25 14:17
- Reparameterization ElMaestro 2009-05-25 20:29
- Reparameterized brain d_labes 2009-05-26 08:01
- Mean as intercept; model matrices yjlee168 2009-05-21 13:35