chi Squared1DTest Statistic
Computes the chi-squared test statistic
Return
the chi-squared test statistic
Parameters
rng
the thing that produces U(0,1) numbers, must not null
n
number of random numbers to test
k
the number of intervals in the test
Computes the chi-squared test statistic
Return
the chi-squared test statistic
Parameters
u
the array of so called U(0,1) numbers
k
the number of intervals in the test