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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2009-09-08 23:36 (6117 d 23:41 ago) – Posting: # 4173
Views: 10,676

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.6:- 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,653 posts in 4,991 threads, 1,570 registered users;
161 visitors (0 registered, 161 guests [including 73 identified bots]).
Forum time: 23:18 CEST (Europe/Vienna)

The epistemological value of probability theory is based on the fact
that chance phenomena, considered collectively and on a grand scale,
create non-random regularity.    Andrey Kolmogorov

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