: [pval, chisq] = run_test (x)

Perform a chi-square test with 6 degrees of freedom based on the upward runs in the columns of x.

run_test can be used to decide whether x contains independent data.

The p-value of the test is returned in pval.

If no output argument is given, the p-value is displayed.

Package: statistics