check code for Type III in R [🇷 for BE/BA]

posted by ElMaestro  – Denmark, 2015-02-24 10:59 (3714 d 10:11 ago) – Posting: # 14498
Views: 5,263

Hi WHM,

❝ if i want to get the SS of SEQ and residuals, should i use other function? or can get from drop1()?


Specifically for
a: lm.test1<-lm(log(Cmax)~TRT+PRD+SEQ+SID:SEQ, data=df)

you will see a zero value for Sequence.
If you want to mimic SAS' output, then I think you could try
b: lm.test1<-lm(log(Cmax)~TRT+PRD+SEQ, data=df)
and then you grab the F-value and P-value you get for Sequence in "b" and insert it in the anova table that you got with "a".

I hope this revolves it.

Pass or fail!
ElMaestro

Complete thread:

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

A drug is that substance which, when injected into a rat,
will produce a scientific report.    Anonymous

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