model matrix and lexer [General Sta­tis­tics]

posted by d_labes  – Berlin, Germany, 2014-05-08 10:38 (3634 d 20:36 ago) – Posting: # 12927
Views: 5,807

Dear Ol'Pirate!

You really mean that the solution depends on the order of the effects in the model? :confused:
Just a quick check:
My above cited df's in R were obtained with
lm(log(AUC)~ tmt + period + subject, data=pair).
Now applying
lm(log(AUC)~ subject + tmt + period, data=pair)
gives:
       A vs D
       C vs D  B vs D
 subject 11      11
 tmt      1       1
 period   3       2
 Mserr    8       9


Seems you are correct! But IMHO this is not a good behavior.

BTW: R and SAS now coincide althoug in SAS the equivalent of the first lm() call was used.
The question is left: Why to hell are the df's different between the pairs?

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
22,988 posts in 4,825 threads, 1,654 registered users;
106 visitors (0 registered, 106 guests [including 6 identified bots]).
Forum time: 07:14 CEST (Europe/Vienna)

The whole purpose of education is
to turn mirrors into windows.    Sydney J. Harris

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