chiSquaredSerial3DTestStatistic

Performs the 3-D chi-squared serial test

Return

the chi-squared test statistic

Parameters

rng

the thing that produces U(0,1) numbers, must not null

n

number triplets of random numbers to test

k

the number of intervals in the test for each dimension


Computes the 3-D chi-squared serial test Tests triplets (u(i-1), u(i), u(i+1))

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