Error tests between/within [Software]

posted by Helmut Homepage – Vienna, Austria, 2008-05-06 23:33 (5832 d 01:54 ago) – Posting: # 1826
Views: 20,957

Dear Eva & Ohlbe!

❝ Helmut, I will let you explain why subject(sequence) should be used as an error term ;-)


OK, sequences are a between subject effect and therefore need to be compared to the between subject residual error (or F=0.6105/0.2623=2.327). In other words we compare (the group of) subjects in sequence TR to (the group of) subjects in sequence RT.

If you compare the sequence against the within subject residual error (0.2481) you cer­tainly will get a different – and wrong! – answer. Using the within subject residual actually overestimates the effect of sequence leading to a greater chance of concluding a sequence effect.

Since in my first post I showed identical results for SAS and WinNonlin, I would expect a coding issue in the SAS program you are using.
Results in WinNonlin-versions don't differ. Unfortunately it’s not possible to have different versions running on the same machine – I re-run ‘old’ evaluations everytime I update to a newer version – and did not get differences since v4.0.1 (3.3 and earlier versions used ANOVA instead of linear mixed effects modeling).

Just to be more comfortable about the results – a little roundup of your dataset:
WinNonlin5.2 (2007)
----------------------------------------------------------
Hypothesis       DF  SS        MS        F_stat    P_value
Sequence          1  0.61054   0.61054   2.32748   0.1780
Sequence*Subject  6  1.57391   0.262318  1.05726   0.4739
Treatment         1  0.536468  0.536468  2.1622    0.1918
Period            1  0.077422  0.077422  0.312045  0.5966
Error             6  1.48867   0.248112


Chow & Liu (2001) – coded in Excel
-------------------------------------------------------
Analysis of Variance                     
Source of variation df  SS      MS       F      P-value
Inter-subjects            
  Carry-over         1  0.6105  0.61054  2.327  0.17795
  Residuals          6  1.5739  0.26232  1.057  0.47392
Intra-subjects
  Direct drug        1  0.5365  0.53647  2.162  0.19184
  Period             1  0.0774  0.07742  0.312  0.59664
  Residuals          6  1.4887  0.24811
Total               15  4.2870


EquivTest/PK (2006)
------------------------------------------------
Analysis of variance table:
               df  SS      MS     F      P-Value
Inter-Subjects
  Carry-over    1  0.6105  0.6105 2.3274 0.1779
  Residuals     6  1.5739  0.2623 1.0572 0.4739
Intra-Subjects
  Drug          1  0.5364  0.5364 2.1622 0.1918
  Period        1  0.0774  0.0774 0.3120 0.5966
  Residuals     6  1.4886  0.2481
Total          15  4.2870


Ref [3] (2001) from this post; coded in R2.7.0 (2008)
-------------------------------------------------------
Error: subf
          Df  Sum Sq Mean Sq F value Pr(>F)
seqf       1 0.61054 0.61054  2.3275 0.1780
Residuals  6 1.57391 0.26232

Error: Within
          Df  Sum Sq Mean Sq F value Pr(>F)
treatment  1 0.53647 0.53647  2.1622 0.1918
Between    1 0.07742 0.07742  0.3120 0.5966
Residuals  6 1.48867 0.24811


NCSS (2001) (Cross-Over Analysis)
-----------------------------------------------
           Estimated  Standard  T Value  Prob
Parameter  Effect     Error     (DF=6)   Level
Treatment  0.3662     0.2491    1.4704   0.1918
Period     0.1391     0.2491    0.5586   0.5966
Carryover  0.7814     0.5122    1.5256   0.1780


Kinetica 4.4.1 (2007)
--------------------------------------------------------
SOURCE      D.F  SS        MS        F          p
Period        1  0.077422  0.077422  0.312045  0.5966 NS
Subject(Seq)  6  1.57391   0.262318  1.05726   0.4739 NS
Formulation   1  0.536468  0.536468  2.1622    0.1918 NS
Sequence      1  0.61054   0.61054   2.46074   0.1678 NS
Error         6  1.48867   0.248112
Total        15  4.28701


[image]Besides your SAS code only Kinetica tests against the within-subject residual error; this a well known bug since v1.1 (‼) – and I would expect ThermoScientific never to correct it… :angry:

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
22,993 posts in 4,828 threads, 1,656 registered users;
83 visitors (0 registered, 83 guests [including 1 identified bots]).
Forum time: 01:27 CEST (Europe/Vienna)

So far as I can remember,
there is not one word in the Gospels
in praise of intelligence.    Bertrand Russell

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