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

posted by Helmut Homepage – Vienna, Austria, 2008-12-16 05:02 (5972 d 18:38 ago) – Posting: # 2927
Views: 13,206

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,424 posts in 4,927 threads, 1,668 registered users;
23 visitors (0 registered, 23 guests [including 1 identified bots]).
Forum time: 00:40 CEST (Europe/Vienna)

The difference between a surrogate and a true endpoint
is like the difference between a cheque and cash.
You can get the cheque earlier but then,
of course, it might bounce.    Stephen Senn

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