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

posted by Helmut Homepage – Vienna, Austria, 2008-12-16 05:02 (6032 d 05:49 ago) – Posting: # 2927
Views: 13,980

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,673 registered users;
54 visitors (0 registered, 54 guests [including 12 identified bots]).
Forum time: 11:52 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