randomizeBE - randomness control [🇷 for BE/BA]

posted by d_labes  – Berlin, Germany, 2012-07-12 12:34 (4299 d 02:41 ago) – Posting: # 8938
Views: 7,461

Dear Helmut, dear All,

meanwhile I have tried to implement the exact runs distribution.
If I had not made a a big mistake the results are as following for the above presented 'alternating' lists:
(Also a little bug corrected if value==median):crying:
                         asymptotic asymptotic    exact
    list                   normal    normal cc.  runs distri.
 1 2 3 1 2 3 1 2 3 1 2 3   0.2502     0.4209      0.4242
 1 3 2 1 3 2 1 3 2 1 3 2   0.2502     0.4209      0.4242
 2 1 3 2 1 3 2 1 3 2 1 3   0.0658     0.1350      0.1414
 2 3 1 2 3 1 2 3 1 2 3 1   0.2502     0.4209      0.4242
 3 1 2 3 1 2 3 1 2 3 1 2   0.0658     0.1350      0.1414
 3 2 1 3 2 1 3 2 1 3 2 1   0.2502     0.4209      0.4242

cc. denotes a continuity correction to the asymptotic normal distributed statistic like SPSS uses.

For these lists it had to be concluded that the use of the exact distribution worsens the situation. It is more unlikely that the Null "list is a random sequence" is rejected. The use of cc. approximates the exact distribution well but also leads to a conservative test.

The fact that the randomness control doesn't work in all cases seems known.
Just to cite from:
Ying Wang
ECE 461 PROJECT REPORT, MAY 2003
"Nonparametric Tests for Randomness"
online resource

"... From the above analysis, most of the tests are vulnerable to a certain set of sequences, which are deterministic but accepted as random processes."

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
22,987 posts in 4,824 threads, 1,664 registered users;
93 visitors (0 registered, 93 guests [including 6 identified bots]).
Forum time: 15:15 CEST (Europe/Vienna)

The only way to comprehend what mathematicians mean by Infinity
is to contemplate the extent of human stupidity.    Voltaire

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