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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2009-05-23 22:06 (5873 d 08:06 ago) – Posting: # 3741
Views: 11,784

Dear ElMaestro,

I don't quite understand the link that you mentioned in this post. So it's called "contrast coding"? And what you do mean about '...principle of summing to zero...'? We have already known that SPSS, SAS, and now R have different coding policy for dummy variables. Thanks, EM.

❝ 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 ...)


All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,672 registered users;
52 visitors (0 registered, 52 guests [including 10 identified bots]).
Forum time: 06:13 CEST (Europe/Vienna)

Medical researches can be divided into two sorts:
those who think that meta is better and those
who believe that pooling is fooling.    Stephen Senn

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