martedì 31 maggio 2011

Van Der Waerden test

The attached file is a first implementation of a python function which executes the Van der Waerden test and takes in input a text file with "group_number \tab value" in each row[0], and gives in output the chisquare and probability values assuming alpha=0.05 (for probability calculation)[1]. Some Scipy.stats functions are recalled.

download the code here:

[0]: example input

[1]: example launching command and output (chi value, probability)