Sequential phenomena and some R code [🇷 for BE/BA]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2009-09-08 23:36 (5765 d 09:23 ago) – Posting: # 4173
Views: 8,854

Dear Elmaestro,

❝ [...]

❝ Given the nature of type I SS you will see that when Seq is included after Subj there is no (addition to) the SS, because of the good old "Subjects nested in Sequence". Thus the neglect. Hence you can try and include Seq before Subj - and then suddenly you have a Seq SS using type I SS. Think about it, it actually makes sense.


O.k., does this sequential phenomenon occur with SAS for type I SS calculation? The suggested SAS codes for 2x2x2 crossover is
PROC GLM DATA = KK;
CLASS SUBJ SEQ PER TRT;
MODEL LAUCT LAUCI LCMAX = SEQ SUBJ(SEQ) PER TRT; <--
TEST H = SEQ E=SUBJ(SEQ)/HTYPE=3 ETYPE=3;
ESTIMATE “A vs. B” TRT 1–1;
LSMEAN TRT;
RUN;


Looks like that we need to put seq before subj...

❝ The following elmaestrolophystic (probably bugged!) code illustrates it.


The codes works great and are quite illustrating. many thanks. :clap:

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,671 registered users;
40 visitors (0 registered, 40 guests [including 7 identified bots]).
Forum time: 08:59 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