residuals of period 1!! [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2008-12-16 05:02 (6389 d 04:08 ago) – Posting: # 2927
Views: 17,297

Dear D. Labes,

thanks a lot forcing me to polish up my rusty and limited knowledge of STATISTICA's scripting language! ;-)

If I remember it correctly I struggled hours (days?) to reproduce Chow's & Liu's tables 8.2.1/8.2.3 (Clayton's famous data) from their first edition (1992). Although they mentioned period 1 throughout the text and in the table's headings, they used modeled period 2 values for subjects 10-18 (in sequence RT). After a lot of trial and error I gave up in order to continue with their examples.
This explains the wrong sign. :angry:

Correcting the calculation of sequence 1 everything is fine:
resid
W 0.9375813, p 0.3882104
stud
W 0.9375817, p 0.3882145


Other stuff in NCSS (I used values rounded to 6 significant digits):
resid
                    Test        Prob
Test Name           Value       Level
Shapiro-Wilk W      0.9375815   0.388212
Anderson-Darling    0.3454837   0.484160   
Martinez-Iglewicz   1.003992    >10%
Kolmogorov-Smirnov  0.1547813   >10%
stud
                    Test        Prob
Test Name           Value       Level
Shapiro-Wilk W      0.9375818   0.388217
Anderson-Darling    0.3454824   0.484163   
Martinez-Iglewicz   1.003992    >10%
Kolmogorov-Smirnov  0.1547828   >10%


❝ For using period 1 (or period 2) residuals see f.i.

Chen et.al.

❝ A note on ANOVA assumptions and robust analysis for a cross-over study

❝ Stat. Med. 2002, 21, p1377-1386


Thanks, I didn't know that one.

❝ BTW: Using your residuals (Studentized) I got your results.


Sooner or later we will end up with true 'validation' of code - or our sloppy use of it... ;-)

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

I have never in my life learned anything
from any man who agreed with me.    Dudley Field Malone

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