Navigation

Operators and Keywords

Function List:

C++ API

run_test.m File Reference


Variables

 function [pval, chisq]
endif A = [4529.4, 9044.9, 13568, 18091, 22615, 27892
 b = [1/6
 n = rows (x)
 r = run_count (x, 6) - n * b * ones (1, columns(x))
 chisq = diag (r' * A * r)' / n
 pval = chisquare_cdf (chisq, 6)

Variable Documentation

endif A = [4529.4, 9044.9, 13568, 18091, 22615, 27892

b = [1/6

chisq = diag (r' * A * r)' / n

Initial value:

 run_test (x)

  if (nargin != 1)
    print_usage ()

n = rows (x)

pval = chisquare_cdf (chisq, 6)

r = run_count (x, 6) - n * b * ones (1, columns(x))