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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2009-05-23 22:06 (5870 d 00:50 ago) – Posting: # 3741
Views: 11,771

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;
61 visitors (0 registered, 61 guests [including 51 identified bots]).
Forum time: 22:56 CEST (Europe/Vienna)

Truth and clarity are complementary.    Niels Bohr

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