![]() Biology, images, analysis, design... |
|
"It has long been an axiom of mine that the little things are infinitely the most important" |
|
Runs tests: Use & misuse(one-sample runs test, Wald-Wolfowitz test, test of randomness, comparing distributions, trends)Statistics courses, especially for biologists, assume formulae = understanding and teach how to do Use and MisuseThe one-sample runs test assesses whether a sequence of observations on a dichotomous (or binary) variable can be considered random. The same test can be applied to the two-sample situation in which case it is known as the Wald-Wolfowitz test. It functions as an overall test of difference between two independent samples. In other words, the alternative hypothesis is that the distribution of the groups differ in some way - whether location, dispersion, skew or kurtosis. The runs test and the Wald-Wolfowitz test are now rarely found in the medical literature, perhaps reflecting the awareness that their use is seldom justified. The tests are, however, still found in the ecological literature, especially for preliminary analysis of spatial and temporal data. Another use is to assess trend in the residuals of nonlinear regression. One misuse of the test results from its lack of power The other major misuse of the test was to accept a significant result of the Wald-Wolfowitz test as demonstrating that means (or medians) differ. Unfortunately the test cannot do that - it can only indicate that the distributions differ in some way. We found a well known example of this where the test (wrongly) appeared to show that left handed people do not live as long as right handed people. The moral of the story is that if you wish to show a difference between means or medians, then use a test which will demonstrate this such as the median test, the Wilcoxon-Mann-Whitney There is perhaps some justification for using runs test(s) as an initial (global) test to detect trends, with subsequent tests only applied if the initial runs test is significant. We found two ecological examples, one in relation to detecting spatial clustering and the other considering cyclic fluctuations over time. Similarly, the runs test can be used to check for trend in the residuals of nonlinear regression, but it cannot on its own provide a test of goodness of fit. What the statisticians saySprent (1993)![]() ![]() ![]() ![]() ![]() ![]() Mogull (1994) Wikipedia describes the main features of the runs test
|