Skip to content

Instantly share code, notes, and snippets.

@espadrine
Last active April 19, 2020 13:03
Show Gist options
  • Save espadrine/1b585aead4fcf45126fad37e6391126e to your computer and use it in GitHub Desktop.
Save espadrine/1b585aead4fcf45126fad37e6391126e to your computer and use it in GitHub Desktop.
Harmonoise PRNG
#include "TestU01.h"
#include "harmonoise.h"
static harmonoise_state r;
unsigned int harmonoise() {
return (unsigned int)harmonoise_gen(&r);
}
int main() {
r = harmonoise_init(0, 0, 0, 0);
unif01_Gen* gen = unif01_CreateExternGenBits("Harmonoise", harmonoise);
bbattery_BigCrush(gen);
unif01_DeleteExternGenBits(gen);
return 0;
}
#include <unistd.h>
#include "./harmonoise.h"
#define BUFSIZE 1048576
int main() {
harmonoise_state s = harmonoise_init(0, 0, 0, 0);
unsigned char buf[BUFSIZE];
for (;;) {
for (int i = 0; i < BUFSIZE; i += 4) {
__uint32_t n = harmonoise_gen(&s);
buf[i + 0] = (n >> 24) & 0xff;
buf[i + 1] = (n >> 16) & 0xff;
buf[i + 2] = (n >> 8) & 0xff;
buf[i + 3] = (n >> 0) & 0xff;
}
write(STDOUT_FILENO, buf, BUFSIZE);
}
return 0;
}
#ifndef HARMONOISE_H
#define HARMONOISE_H
__uint32_t harmonoise_harmonics[] = {
0b11111111111111111111111111111111,
0b10101010101010101010101010101010,
0b10010010010010010010010010010010,
0b10001000100010001000100010001000,
0b10000100001000010000100001000010,
0b10000010000010000010000010000010,
0b10000001000000100000010000001000,
0b10000000100000001000000010000000,
0b10000000010000000010000000010000,
0b10000000001000000000100000000010,
0b10000000000100000000001000000000,
0b10000000000010000000000010000000,
0b10000000000001000000000000100000,
0b10000000000000100000000000001000,
0b10000000000000010000000000000010,
0b10000000000000001000000000000000,
0b10000000000000000100000000000000,
0b10000000000000000010000000000000,
0b10000000000000000001000000000000,
0b10000000000000000000100000000000,
0b10000000000000000000010000000000,
0b10000000000000000000001000000000,
0b10000000000000000000000100000000,
0b10000000000000000000000010000000,
0b10000000000000000000000001000000,
0b10000000000000000000000000100000,
0b10000000000000000000000000010000,
0b10000000000000000000000000001000,
0b10000000000000000000000000000100,
0b10000000000000000000000000000010,
0b10000000000000000000000000000001,
0b10000000000000000000000000000000,
};
typedef struct harmonoise_state {
__uint32_t a, b, c, d;
} harmonoise_state;
harmonoise_state harmonoise_init(__uint32_t a, __uint32_t b, __uint32_t c, __uint32_t d) {
return (harmonoise_state){a, b, c, d};
}
__uint32_t harmonoise_rotr32(__uint32_t v, __uint32_t shift) {
shift &= 0x1f;
return (v >> shift) | (v << (32 - shift));
}
__uint32_t harmonoise_apply(char i, __uint32_t invert, __uint32_t shift) {
__uint32_t h = invert? ~harmonoise_harmonics[i]: harmonoise_harmonics[i];
return harmonoise_rotr32(h, shift);
}
__uint32_t harmonoise_gen(harmonoise_state *s) {
__uint32_t a = s->a, b = s->b, c = s->c, d = s->d,
na = 0, nb = 0, nc = 0, nd = 0;
for (char i = 0; i < 32; i++) {
if (a & (1 << i)) {
nb ^= harmonoise_apply(i, b & (1 << i), (c >> i) + d);
}
if (b & (1 << i)) {
nc ^= harmonoise_apply(i, c & (1 << i), (d >> i) + a);
}
if (c & (1 << i)) {
nd ^= harmonoise_apply(i, d & (1 << i), (a >> i) + b);
}
if (d & (1 << i)) {
na ^= harmonoise_apply(i, a & (1 << i), (b >> i) + c);
}
}
s->a = na + 1;
s->b = nb - 1;
s->c = nc + 2;
s->d = nd - 2;
return na ^ nb ^ nc ^ nd;
}
#endif
./harmonoise-big-crush
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Starting BigCrush
Version: TestU01 1.2.3
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
***********************************************************
Test smarsa_SerialOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 1, n = 1000000000, r = 0, d = 256, t = 3,
Sparse = FALSE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 16777216
Expected number per cell = 59.604645
Hashing = FALSE
For Delta > -1, we use the ChiSquare approximation
Correction factor of the ChiSquare:
Delta = 1, Mu = 0.0083558402, Sigma = 1
-----------------------------------------------
Test Results for Delta = 1.0000
Number of degrees of freedom : 16711680
Value of the statistic : 1.67e+7
p-value of test : 0.71
-----------------------------------------------
CPU time used : 00:06:43.20
Generator state:
***********************************************************
Test smarsa_SerialOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 1, n = 1000000000, r = 22, d = 256, t = 3,
Sparse = FALSE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 16777216
Expected number per cell = 59.604645
Hashing = FALSE
For Delta > -1, we use the ChiSquare approximation
Correction factor of the ChiSquare:
Delta = 1, Mu = 0.0083558402, Sigma = 1
-----------------------------------------------
Test Results for Delta = 1.0000
Number of degrees of freedom : 16711680
Value of the statistic : 1.67e+7
p-value of test : 0.36
-----------------------------------------------
CPU time used : 00:06:56.42
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 0, d = 2097152, t = 2,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1404
p-value of test : 0.14
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334524
j = 1 : 599997192
j = 2 : 1404
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:06:46.46
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 9, d = 2097152, t = 2,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1391
p-value of test : 0.24
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334511
j = 1 : 599997218
j = 2 : 1391
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:06:52.64
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 0, d = 16384, t = 3,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1358
p-value of test : 0.56
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334478
j = 1 : 599997284
j = 2 : 1358
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:08:53.38
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 16, d = 16384, t = 3,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1430
p-value of test : 0.04
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334550
j = 1 : 599997140
j = 2 : 1430
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:10:13.17
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 0, d = 64, t = 7,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1315
p-value of test : 0.91
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334435
j = 1 : 599997370
j = 2 : 1315
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:10:21.82
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 24, d = 64, t = 7,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1378
p-value of test : 0.36
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334498
j = 1 : 599997244
j = 2 : 1378
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:10:32.03
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 0, d = 8, t = 14,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1354
p-value of test : 0.60
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334474
j = 1 : 599997292
j = 2 : 1354
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:10:00.85
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 27, d = 8, t = 14,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1333
p-value of test : 0.80
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334453
j = 1 : 599997334
j = 2 : 1333
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:09:56.97
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 0, d = 4, t = 21,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1333
p-value of test : 0.80
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334453
j = 1 : 599997334
j = 2 : 1333
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:10:37.59
Generator state:
***********************************************************
Test smarsa_CollisionOver calling smultin_MultinomialOver
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_MultinomialOver test:
-----------------------------------------------
N = 30, n = 20000000, r = 28, d = 4, t = 21,
Sparse = TRUE
GenerCell = smultin_GenerCellSerial
Number of cells = d^t = 4398046511104
Expected number per cell = 1 / 219902.33
EColl = n^2 / (2k) = 45.47473509
Hashing = TRUE
Collision test
CollisionOver: density = n / k = 1 / 219902.33
Expected number of collisions = Mu = 45.47
-----------------------------------------------
Results of CollisionOver test:
POISSON approximation :
Expected number of collisions = N*Mu : 1364.24
Observed number of collisions : 1435
p-value of test : 0.03
-----------------------------
Total number of cells containing j balls
j = 0 : 131940795334555
j = 1 : 599997130
j = 2 : 1435
j = 3 : 0
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:09:22.60
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 100, n = 10000000, r = 0, d = 2147483648, t = 2, p = 1
Number of cells = d^t = 4611686018427387904
Lambda = Poisson mean = 54.2101
----------------------------------------------------
Total expected number = N*Lambda : 5421.01
Total observed number : 5581
p-value of test : 0.02
-----------------------------------------------
CPU time used : 00:16:36.39
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 20000000, r = 0, d = 2097152, t = 3, p = 1
Number of cells = d^t = 9223372036854775808
Lambda = Poisson mean = 216.8404
----------------------------------------------------
Total expected number = N*Lambda : 4336.81
Total observed number : 4358
p-value of test : 0.38
-----------------------------------------------
CPU time used : 00:08:56.34
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 30000000, r = 14, d = 65536, t = 4, p = 1
Number of cells = d^t = 18446744073709551616
Lambda = Poisson mean = 365.9182
----------------------------------------------------
Total expected number = N*Lambda : 7318.36
Total observed number : 7221
p-value of test : 0.87
-----------------------------------------------
CPU time used : 00:17:02.70
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 20000000, r = 0, d = 512, t = 7, p = 1
Number of cells = d^t = 9223372036854775808
Lambda = Poisson mean = 216.8404
----------------------------------------------------
Total expected number = N*Lambda : 4336.81
Total observed number : 4336
p-value of test : 0.50
-----------------------------------------------
CPU time used : 00:17:54.46
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 20000000, r = 7, d = 512, t = 7, p = 1
Number of cells = d^t = 9223372036854775808
Lambda = Poisson mean = 216.8404
----------------------------------------------------
Total expected number = N*Lambda : 4336.81
Total observed number : 4340
p-value of test : 0.48
-----------------------------------------------
CPU time used : 00:17:57.86
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 30000000, r = 14, d = 256, t = 8, p = 1
Number of cells = d^t = 18446744073709551616
Lambda = Poisson mean = 365.9182
----------------------------------------------------
Total expected number = N*Lambda : 7318.36
Total observed number : 7263
p-value of test : 0.74
-----------------------------------------------
CPU time used : 00:30:30.60
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 30000000, r = 22, d = 256, t = 8, p = 1
Number of cells = d^t = 18446744073709551616
Lambda = Poisson mean = 365.9182
----------------------------------------------------
Total expected number = N*Lambda : 7318.36
Total observed number : 7337
p-value of test : 0.42
-----------------------------------------------
CPU time used : 00:30:36.81
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 30000000, r = 0, d = 16, t = 16, p = 1
Number of cells = d^t = 18446744073709551616
Lambda = Poisson mean = 365.9182
----------------------------------------------------
Total expected number = N*Lambda : 7318.36
Total observed number : 7228
p-value of test : 0.85
-----------------------------------------------
CPU time used : 00:58:05.77
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_BirthdaySpacings test:
-----------------------------------------------
N = 20, n = 30000000, r = 26, d = 16, t = 16, p = 1
Number of cells = d^t = 18446744073709551616
Lambda = Poisson mean = 365.9182
----------------------------------------------------
Total expected number = N*Lambda : 7318.36
Total observed number : 7363
p-value of test : 0.30
-----------------------------------------------
CPU time used : 00:58:19.68
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
snpair_ClosePairs test:
-----------------------------------------------
N = 30, n = 6000000, r = 0, t = 3, p = 0, m = 30, Torus = TRUE
---------------------------------------
Test based on the 2 nearest points (NP):
Stat. AD on the N values (NP) : 0.43
p-value of test : 0.81
A2 test based on the spacings between the
successive jump times of process Y_n(t):
A2 test on the values of A2 (m-NP) : 0.82
p-value of test : 0.47
Test on the Nm values of W_{n,i}(mNP1): 1.06
p-value of test : 0.33
Test on the jump times of Y
(superposition of Yn):
Expected number of jumps of Y = mN : 900
Number of jumps of Y : 899
p-value of test : 0.50
Stat. AD (mNP2) : 0.50
p-value of test : 0.74
Stat. AD after spacings (mNP2-S) : 5.37
p-value of test : 1.9e-3
-----------------------------------------------
CPU time used : 00:05:36.20
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
snpair_ClosePairs test:
-----------------------------------------------
N = 20, n = 4000000, r = 0, t = 5, p = 0, m = 30, Torus = TRUE
---------------------------------------
Test based on the 2 nearest points (NP):
Stat. AD on the N values (NP) : 0.63
p-value of test : 0.62
A2 test based on the spacings between the
successive jump times of process Y_n(t):
A2 test on the values of A2 (m-NP) : 0.62
p-value of test : 0.63
Test on the Nm values of W_{n,i}(mNP1): 0.35
p-value of test : 0.90
Test on the jump times of Y
(superposition of Yn):
Expected number of jumps of Y = mN : 600
Number of jumps of Y : 620
p-value of test : 0.21
Stat. AD (mNP2) : 1.70
p-value of test : 0.14
Stat. AD after spacings (mNP2-S) : 1.13
p-value of test : 0.30
-----------------------------------------------
CPU time used : 00:04:00.50
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
snpair_ClosePairs test:
-----------------------------------------------
N = 10, n = 3000000, r = 0, t = 9, p = 0, m = 30, Torus = TRUE
---------------------------------------
Test based on the 2 nearest points (NP):
Stat. AD on the N values (NP) : 1.12
p-value of test : 0.30
A2 test based on the spacings between the
successive jump times of process Y_n(t):
A2 test on the values of A2 (m-NP) : 0.84
p-value of test : 0.45
Test on the Nm values of W_{n,i}(mNP1): 0.23
p-value of test : 0.98
Test on the jump times of Y
(superposition of Yn):
Expected number of jumps of Y = mN : 300
Number of jumps of Y : 310
p-value of test : 0.29
Stat. AD (mNP2) : 0.47
p-value of test : 0.78
Stat. AD after spacings (mNP2-S) : 0.33
p-value of test : 0.92
-----------------------------------------------
CPU time used : 00:04:33.90
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
snpair_ClosePairs test:
-----------------------------------------------
N = 5, n = 2000000, r = 0, t = 16, p = 0, m = 30, Torus = TRUE
---------------------------------------
Test based on the 2 nearest points (NP):
Stat. AD on the N values (NP) : 1.46
p-value of test : 0.19
A2 test based on the spacings between the
successive jump times of process Y_n(t):
A2 test on the values of A2 (m-NP) : 0.57
p-value of test : 0.67
Test on the Nm values of W_{n,i}(mNP1): 0.25
p-value of test : 0.97
Test on the jump times of Y
(superposition of Yn):
Expected number of jumps of Y = mN : 150
Number of jumps of Y : 157
p-value of test : 0.29
Stat. AD (mNP2) : 0.36
p-value of test : 0.89
Stat. AD after spacings (mNP2-S) : 0.59
p-value of test : 0.66
-----------------------------------------------
CPU time used : 00:04:28.58
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_SimpPoker test:
-----------------------------------------------
N = 1, n = 400000000, r = 0, d = 8, k = 8
-----------------------------------------------
Number of degrees of freedom : 7
Chi-square statistic : 9.72
p-value of test : 0.21
-----------------------------------------------
CPU time used : 00:19:01.70
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_SimpPoker test:
-----------------------------------------------
N = 1, n = 400000000, r = 27, d = 8, k = 8
-----------------------------------------------
Number of degrees of freedom : 7
Chi-square statistic : 7.63
p-value of test : 0.37
-----------------------------------------------
CPU time used : 00:19:13.86
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_SimpPoker test:
-----------------------------------------------
N = 1, n = 100000000, r = 0, d = 32, k = 32
-----------------------------------------------
Number of degrees of freedom : 18
Chi-square statistic : 22.99
p-value of test : 0.19
-----------------------------------------------
CPU time used : 00:18:56.18
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_SimpPoker test:
-----------------------------------------------
N = 1, n = 100000000, r = 25, d = 32, k = 32
-----------------------------------------------
Number of degrees of freedom : 18
Chi-square statistic : 17.00
p-value of test : 0.52
-----------------------------------------------
CPU time used : 00:19:09.54
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_CouponCollector test:
-----------------------------------------------
N = 1, n = 200000000, r = 0, d = 8
-----------------------------------------------
Number of degrees of freedom : 54
Chi-square statistic : 61.37
p-value of test : 0.23
-----------------------------------------------
CPU time used : 00:25:39.52
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_CouponCollector test:
-----------------------------------------------
N = 1, n = 200000000, r = 10, d = 8
-----------------------------------------------
Number of degrees of freedom : 54
Chi-square statistic : 47.04
p-value of test : 0.74
-----------------------------------------------
CPU time used : 00:25:57.70
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_CouponCollector test:
-----------------------------------------------
N = 1, n = 200000000, r = 20, d = 8
-----------------------------------------------
Number of degrees of freedom : 54
Chi-square statistic : 62.19
p-value of test : 0.21
-----------------------------------------------
CPU time used : 00:25:58.06
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_CouponCollector test:
-----------------------------------------------
N = 1, n = 200000000, r = 27, d = 8
-----------------------------------------------
Number of degrees of freedom : 54
Chi-square statistic : 36.03
p-value of test : 0.97
-----------------------------------------------
CPU time used : 00:26:01.30
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_Gap test:
-----------------------------------------------
N = 1, n = 500000000, r = 0, Alpha = 0, Beta = 0.0625
-----------------------------------------------
Number of degrees of freedom : 232
Chi-square statistic : 253.97
p-value of test : 0.15
-----------------------------------------------
CPU time used : 00:46:11.66
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_Gap test:
-----------------------------------------------
N = 1, n = 300000000, r = 25, Alpha = 0, Beta = 0.03125
-----------------------------------------------
Number of degrees of freedom : 434
Chi-square statistic : 404.68
p-value of test : 0.84
-----------------------------------------------
CPU time used : 00:55:29.90
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_Gap test:
-----------------------------------------------
N = 1, n = 100000000, r = 0, Alpha = 0, Beta = 0.0078125
-----------------------------------------------
Number of degrees of freedom : 1437
Chi-square statistic : 1518.10
p-value of test : 0.07
-----------------------------------------------
CPU time used : 01:28:18.19
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_Gap test:
-----------------------------------------------
N = 1, n = 10000000, r = 20, Alpha = 0, Beta = 0.000976562
-----------------------------------------------
Number of degrees of freedom : 7046
Chi-square statistic : 6849.93
p-value of test : 0.95
-----------------------------------------------
CPU time used : 00:52:40.63
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_Run test:
-----------------------------------------------
N = 5, n = 1000000000, r = 0, Up = FALSE
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.39
p-value of test : 0.17
Kolmogorov-Smirnov- statistic = D- : 0.12
p-value of test : 0.80
Anderson-Darling statistic = A2 : 0.80
p-value of test : 0.47
Test on the sum of all N observations
Number of degrees of freedom : 30
Chi-square statistic : 23.52
p-value of test : 0.79
-----------------------------------------------
CPU time used : 00:24:32.01
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_Run test:
-----------------------------------------------
N = 10, n = 1000000000, r = 15, Up = TRUE
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.32
p-value of test : 0.11
Kolmogorov-Smirnov- statistic = D- : 0.078
p-value of test : 0.85
Anderson-Darling statistic = A2 : 0.86
p-value of test : 0.44
Test on the sum of all N observations
Number of degrees of freedom : 60
Chi-square statistic : 48.36
p-value of test : 0.86
-----------------------------------------------
CPU time used : 00:51:30.66
Generator state:
***********************************************************
Test sknuth_Permutation calling smultin_Multinomial
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_Multinomial test:
-----------------------------------------------
N = 1, n = 1000000000, r = 5, t = 3,
Sparse = FALSE
GenerCell = smultin_GenerCellPermut
Number of cells = t! = 6
Expected number per cell = 1.6666667e+08
Hashing = FALSE
For Delta > -1, we use the ChiSquare approximation
Correction factor of the ChiSquare:
Delta = 1, Mu = 2.5000002e-09, Sigma = 1
-----------------------------------------------
Test Results for Delta = 1.0000
Number of degrees of freedom : 5
Value of the statistic : 1.34
p-value of test : 0.93
-----------------------------------------------
CPU time used : 00:16:30.83
Generator state:
***********************************************************
Test sknuth_Permutation calling smultin_Multinomial
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_Multinomial test:
-----------------------------------------------
N = 1, n = 1000000000, r = 5, t = 5,
Sparse = FALSE
GenerCell = smultin_GenerCellPermut
Number of cells = t! = 120
Expected number per cell = 8333333.3
Hashing = FALSE
For Delta > -1, we use the ChiSquare approximation
Correction factor of the ChiSquare:
Delta = 1, Mu = 5.9500005e-08, Sigma = 1
-----------------------------------------------
Test Results for Delta = 1.0000
Number of degrees of freedom : 119
Value of the statistic : 117.97
p-value of test : 0.51
-----------------------------------------------
CPU time used : 00:27:47.12
Generator state:
***********************************************************
Test sknuth_Permutation calling smultin_Multinomial
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_Multinomial test:
-----------------------------------------------
N = 1, n = 500000000, r = 5, t = 7,
Sparse = FALSE
GenerCell = smultin_GenerCellPermut
Number of cells = t! = 5040
Expected number per cell = 99206.349
Hashing = FALSE
For Delta > -1, we use the ChiSquare approximation
Correction factor of the ChiSquare:
Delta = 1, Mu = 5.0390004e-06, Sigma = 1
-----------------------------------------------
Test Results for Delta = 1.0000
Number of degrees of freedom : 5039
Value of the statistic : 5042.37
p-value of test : 0.48
-----------------------------------------------
CPU time used : 00:19:48.76
Generator state:
***********************************************************
Test sknuth_Permutation calling smultin_Multinomial
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_Multinomial test:
-----------------------------------------------
N = 1, n = 500000000, r = 10, t = 10,
Sparse = FALSE
GenerCell = smultin_GenerCellPermut
Number of cells = t! = 3628800
Expected number per cell = 137.7866
Hashing = FALSE
For Delta > -1, we use the ChiSquare approximation
Correction factor of the ChiSquare:
Delta = 1, Mu = 0.0036287993, Sigma = 1
-----------------------------------------------
Test Results for Delta = 1.0000
Number of degrees of freedom : 3628799
Value of the statistic : 3.63e+6
p-value of test : 0.82
-----------------------------------------------
CPU time used : 00:28:58.19
Generator state:
***********************************************************
Test sknuth_CollisionPermut calling smultin_Multinomial
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_Multinomial test:
-----------------------------------------------
N = 20, n = 20000000, r = 0, t = 14,
Sparse = TRUE
GenerCell = smultin_GenerCellPermut
Number of cells = t! = 87178291200
Expected number per cell = 1 / 4358.9146
EColl = n^2 / (2k) = 2294.14912
Hashing = TRUE
Collision test, Mu = 2293.9736, Sigma = 47.8841
-----------------------------------------------
Test Results for Collisions
For the total number of collisions, we use
the Poisson approximation:
Expected number of collisions = N*Mu : 45879.47
Observed number of collisions : 45782
p-value of test : 0.67
-----------------------------
Total number of cells containing j balls
j = 0 : 1743165869782
j = 1 : 399908439
j = 2 : 45776
j = 3 : 3
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:34:25.70
Generator state:
***********************************************************
Test sknuth_CollisionPermut calling smultin_Multinomial
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smultin_Multinomial test:
-----------------------------------------------
N = 20, n = 20000000, r = 10, t = 14,
Sparse = TRUE
GenerCell = smultin_GenerCellPermut
Number of cells = t! = 87178291200
Expected number per cell = 1 / 4358.9146
EColl = n^2 / (2k) = 2294.14912
Hashing = TRUE
Collision test, Mu = 2293.9736, Sigma = 47.8841
-----------------------------------------------
Test Results for Collisions
For the total number of collisions, we use
the Poisson approximation:
Expected number of collisions = N*Mu : 45879.47
Observed number of collisions : 46264
p-value of test : 0.04
-----------------------------
Total number of cells containing j balls
j = 0 : 1743165870264
j = 1 : 399907477
j = 2 : 46254
j = 3 : 5
j = 4 : 0
j = 5 : 0
-----------------------------------------------
CPU time used : 00:34:32.80
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_MaxOft test:
-----------------------------------------------
N = 40, n = 10000000, r = 0, d = 100000, t = 8
Number of categories = 100000
Expected number per category = 100.00
-----------------------------------------------
Test results for chi2 with 99999 degrees of freedom:
Kolmogorov-Smirnov+ statistic = D+ : 0.13
p-value of test : 0.23
Kolmogorov-Smirnov- statistic = D- : 0.059
p-value of test : 0.73
Anderson-Darling statistic = A2 : 0.83
p-value of test : 0.46
Test on the sum of all N observations
Number of degrees of freedom : 3999960
Chi-square statistic : 4.00e+6
p-value of test : 0.84
-----------------------------------------------
Test results for Anderson-Darling:
Kolmogorov-Smirnov+ statistic = D+ : 0.095
p-value of test : 0.46
Kolmogorov-Smirnov- statistic = D- : 0.13
p-value of test : 0.24
Anderson-Darling statistic = A2 : 0.68
p-value of test : 0.58
-----------------------------------------------
CPU time used : 00:19:51.26
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_MaxOft test:
-----------------------------------------------
N = 30, n = 10000000, r = 0, d = 100000, t = 16
Number of categories = 100000
Expected number per category = 100.00
-----------------------------------------------
Test results for chi2 with 99999 degrees of freedom:
Kolmogorov-Smirnov+ statistic = D+ : 0.23
p-value of test : 0.04
Kolmogorov-Smirnov- statistic = D- : 0.050
p-value of test : 0.83
Anderson-Darling statistic = A2 : 2.14
p-value of test : 0.08
Test on the sum of all N observations
Number of degrees of freedom : 2999970
Chi-square statistic : 3.00e+6
p-value of test : 0.93
-----------------------------------------------
Test results for Anderson-Darling:
Kolmogorov-Smirnov+ statistic = D+ : 0.18
p-value of test : 0.12
Kolmogorov-Smirnov- statistic = D- : 0.071
p-value of test : 0.70
Anderson-Darling statistic = A2 : 1.42
p-value of test : 0.20
-----------------------------------------------
CPU time used : 00:27:18.68
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_MaxOft test:
-----------------------------------------------
N = 20, n = 10000000, r = 0, d = 100000, t = 24
Number of categories = 100000
Expected number per category = 100.00
-----------------------------------------------
Test results for chi2 with 99999 degrees of freedom:
Kolmogorov-Smirnov+ statistic = D+ : 0.10
p-value of test : 0.61
Kolmogorov-Smirnov- statistic = D- : 0.11
p-value of test : 0.56
Anderson-Darling statistic = A2 : 0.32
p-value of test : 0.93
Test on the sum of all N observations
Number of degrees of freedom : 1999980
Chi-square statistic : 2.00e+6
p-value of test : 0.43
-----------------------------------------------
Test results for Anderson-Darling:
Kolmogorov-Smirnov+ statistic = D+ : 0.031
p-value of test : 0.95
Kolmogorov-Smirnov- statistic = D- : 0.23
p-value of test : 0.10
Anderson-Darling statistic = A2 : 1.02
p-value of test : 0.34
-----------------------------------------------
CPU time used : 00:26:43.66
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sknuth_MaxOft test:
-----------------------------------------------
N = 20, n = 10000000, r = 0, d = 100000, t = 32
Number of categories = 100000
Expected number per category = 100.00
-----------------------------------------------
Test results for chi2 with 99999 degrees of freedom:
Kolmogorov-Smirnov+ statistic = D+ : 0.11
p-value of test : 0.59
Kolmogorov-Smirnov- statistic = D- : 0.076
p-value of test : 0.76
Anderson-Darling statistic = A2 : 0.21
p-value of test : 0.99
Test on the sum of all N observations
Number of degrees of freedom : 1999980
Chi-square statistic : 2.00e+6
p-value of test : 0.40
-----------------------------------------------
Test results for Anderson-Darling:
Kolmogorov-Smirnov+ statistic = D+ : 0.21
p-value of test : 0.15
Kolmogorov-Smirnov- statistic = D- : 0.032
p-value of test : 0.94
Anderson-Darling statistic = A2 : 1.38
p-value of test : 0.21
-----------------------------------------------
CPU time used : 00:40:43.99
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleProd test:
-----------------------------------------------
N = 40, n = 10000000, r = 0, t = 8
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.21
p-value of test : 0.03
Kolmogorov-Smirnov- statistic = D- : 0.022
p-value of test : 0.95
Anderson-Darling statistic = A2 : 2.68
p-value of test : 0.04
-----------------------------------------------
CPU time used : 00:19:04.75
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleProd test:
-----------------------------------------------
N = 20, n = 10000000, r = 0, t = 16
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.062
p-value of test : 0.82
Kolmogorov-Smirnov- statistic = D- : 0.14
p-value of test : 0.40
Anderson-Darling statistic = A2 : 0.36
p-value of test : 0.89
-----------------------------------------------
CPU time used : 00:15:50.03
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleProd test:
-----------------------------------------------
N = 20, n = 10000000, r = 0, t = 24
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.17
p-value of test : 0.29
Kolmogorov-Smirnov- statistic = D- : 0.12
p-value of test : 0.54
Anderson-Darling statistic = A2 : 0.91
p-value of test : 0.40
-----------------------------------------------
CPU time used : 00:23:29.02
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleMean test:
-----------------------------------------------
N = 20000000, n = 30, r = 0
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 2.70e-4
p-value of test : 0.05
Kolmogorov-Smirnov- statistic = D- : 1.88e-4
p-value of test : 0.24
Anderson-Darling statistic = A2 : 2.24
p-value of test : 0.07
-----------------------------------------------
CPU time used : 00:03:15.41
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleMean test:
-----------------------------------------------
N = 20000000, n = 30, r = 10
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 6.34e-5
p-value of test : 0.85
Kolmogorov-Smirnov- statistic = D- : 1.95e-4
p-value of test : 0.22
Anderson-Darling statistic = A2 : 0.51
p-value of test : 0.74
-----------------------------------------------
CPU time used : 00:03:13.39
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleCorr test:
-----------------------------------------------
N = 1, n = 2000000000, r = 0, k = 1
-----------------------------------------------
Normal statistic : 0.13
p-value of test : 0.45
-----------------------------------------------
CPU time used : 00:09:36.75
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SampleCorr test:
-----------------------------------------------
N = 1, n = 2000000000, r = 0, k = 2
-----------------------------------------------
Normal statistic : -0.64
p-value of test : 0.74
-----------------------------------------------
CPU time used : 00:10:50.94
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_AppearanceSpacings test:
-----------------------------------------------
N = 1, Q = 10000000, K = 1000000000, r = 0, s = 3, L = 15
Sequences of n = (K + Q)L = 15150000000 bits
Q = 10000000 initialization blocks
K = 1000000000 blocks for the test
the blocks have L = 15 bits
-----------------------------------------------
Normal statistic : 0.84
p-value of test : 0.20
-----------------------------------------------
CPU time used : 00:27:40.50
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_AppearanceSpacings test:
-----------------------------------------------
N = 1, Q = 10000000, K = 1000000000, r = 27, s = 3, L = 15
Sequences of n = (K + Q)L = 15150000000 bits
Q = 10000000 initialization blocks
K = 1000000000 blocks for the test
the blocks have L = 15 bits
-----------------------------------------------
Normal statistic : 0.19
p-value of test : 0.42
-----------------------------------------------
CPU time used : 00:25:32.85
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_WeightDistrib test:
-----------------------------------------------
N = 1, n = 20000000, r = 0, k = 256, Alpha = 0, Beta = 0.25
-----------------------------------------------
Number of degrees of freedom : 67
Chi-square statistic : 60.93
p-value of test : 0.69
-----------------------------------------------
CPU time used : 00:25:21.60
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_WeightDistrib test:
-----------------------------------------------
N = 1, n = 20000000, r = 20, k = 256, Alpha = 0, Beta = 0.25
-----------------------------------------------
Number of degrees of freedom : 67
Chi-square statistic : 73.85
p-value of test : 0.26
-----------------------------------------------
CPU time used : 00:27:13.13
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_WeightDistrib test:
-----------------------------------------------
N = 1, n = 20000000, r = 28, k = 256, Alpha = 0, Beta = 0.25
-----------------------------------------------
Number of degrees of freedom : 67
Chi-square statistic : 68.21
p-value of test : 0.44
-----------------------------------------------
CPU time used : 00:26:44.86
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_WeightDistrib test:
-----------------------------------------------
N = 1, n = 20000000, r = 0, k = 256, Alpha = 0, Beta = 0.0625
-----------------------------------------------
Number of degrees of freedom : 37
Chi-square statistic : 31.35
p-value of test : 0.73
-----------------------------------------------
CPU time used : 00:28:06.74
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_WeightDistrib test:
-----------------------------------------------
N = 1, n = 20000000, r = 10, k = 256, Alpha = 0, Beta = 0.0625
-----------------------------------------------
Number of degrees of freedom : 37
Chi-square statistic : 39.74
p-value of test : 0.35
-----------------------------------------------
CPU time used : 00:30:43.38
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_WeightDistrib test:
-----------------------------------------------
N = 1, n = 20000000, r = 26, k = 256, Alpha = 0, Beta = 0.0625
-----------------------------------------------
Number of degrees of freedom : 37
Chi-square statistic : 38.75
p-value of test : 0.39
-----------------------------------------------
CPU time used : 00:30:52.41
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
svaria_SumCollector test:
-----------------------------------------------
N = 1, n = 500000000, r = 0, g = 10
-----------------------------------------------
Number of degrees of freedom : 29
Chi-square statistic : 32.89
p-value of test : 0.28
-----------------------------------------------
CPU time used : 01:01:54.92
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_MatrixRank test:
-----------------------------------------------
N = 10, n = 1000000, r = 0, s = 5, L = 30, k = 30
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.35
p-value of test : 0.06
Kolmogorov-Smirnov- statistic = D- : 0.041
p-value of test : 0.94
Anderson-Darling statistic = A2 : 1.63
p-value of test : 0.15
Test on the sum of all N observations
Number of degrees of freedom : 40
Chi-square statistic : 26.70
p-value of test : 0.95
-----------------------------------------------
CPU time used : 00:11:11.25
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_MatrixRank test:
-----------------------------------------------
N = 10, n = 1000000, r = 25, s = 5, L = 30, k = 30
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.23
p-value of test : 0.30
Kolmogorov-Smirnov- statistic = D- : 0.076
p-value of test : 0.85
Anderson-Darling statistic = A2 : 0.75
p-value of test : 0.51
Test on the sum of all N observations
Number of degrees of freedom : 40
Chi-square statistic : 29.81
p-value of test : 0.88
-----------------------------------------------
CPU time used : 00:12:00.97
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_MatrixRank test:
-----------------------------------------------
N = 1, n = 5000, r = 0, s = 4, L = 1000, k = 1000
-----------------------------------------------
Number of degrees of freedom : 3
Chi-square statistic : 1.01
p-value of test : 0.80
-----------------------------------------------
CPU time used : 00:09:46.13
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_MatrixRank test:
-----------------------------------------------
N = 1, n = 5000, r = 26, s = 4, L = 1000, k = 1000
-----------------------------------------------
Number of degrees of freedom : 3
Chi-square statistic : 1.89
p-value of test : 0.60
-----------------------------------------------
CPU time used : 00:10:38.83
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_MatrixRank test:
-----------------------------------------------
N = 1, n = 80, r = 15, s = 15, L = 5000, k = 5000
-----------------------------------------------
Number of degrees of freedom : 2
Chi-square statistic : 0.17
p-value of test : 0.92
-----------------------------------------------
CPU time used : 00:03:54.13
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_MatrixRank test:
-----------------------------------------------
N = 1, n = 80, r = 0, s = 30, L = 5000, k = 5000
-----------------------------------------------
Number of degrees of freedom : 2
Chi-square statistic : 0.54
p-value of test : 0.76
-----------------------------------------------
CPU time used : 00:03:10.64
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_Savir2 test:
-----------------------------------------------
N = 10, n = 10000000, r = 10, m = 1048576, t = 30
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.35
p-value of test : 0.07
Kolmogorov-Smirnov- statistic = D- : 0.039
p-value of test : 0.94
Anderson-Darling statistic = A2 : 2.35
p-value of test : 0.06
Test on the sum of all N observations
Number of degrees of freedom : 130
Chi-square statistic : 100.09
p-value of test : 0.98
-----------------------------------------------
CPU time used : 00:20:11.03
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
smarsa_GCD test:
-----------------------------------------------
N = 10, n = 50000000, r = 0, s = 30
-----------------------------------------------
Test results for GCD values:
Kolmogorov-Smirnov+ statistic = D+ : 0.25
p-value of test : 0.26
Kolmogorov-Smirnov- statistic = D- : 0.16
p-value of test : 0.56
Anderson-Darling statistic = A2 : 0.79
p-value of test : 0.49
Test on the sum of all N observations
Number of degrees of freedom : 17430
Chi-square statistic :17299.11
p-value of test : 0.76
-----------------------------------------------
CPU time used : 00:09:12.67
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
swalk_RandomWalk1 test:
-----------------------------------------------
N = 1, n = 100000000, r = 0, s = 5, L0 = 50, L1 = 50
-----------------------------------------------
Test on the values of the Statistic H
Number of degrees of freedom : 36
ChiSquare statistic : 34.86
p-value of test : 0.52
-----------------------------------------------
Test on the values of the Statistic M
Number of degrees of freedom : 35
ChiSquare statistic : 38.24
p-value of test : 0.32
-----------------------------------------------
Test on the values of the Statistic J
Number of degrees of freedom : 25
ChiSquare statistic : 17.58
p-value of test : 0.86
-----------------------------------------------
Test on the values of the Statistic R
Number of degrees of freedom : 24
ChiSquare statistic : 28.08
p-value of test : 0.26
-----------------------------------------------
Test on the values of the Statistic C
Number of degrees of freedom : 17
ChiSquare statistic : 9.70
p-value of test : 0.92
-----------------------------------------------
CPU time used : 00:08:03.75
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
swalk_RandomWalk1 test:
-----------------------------------------------
N = 1, n = 100000000, r = 25, s = 5, L0 = 50, L1 = 50
-----------------------------------------------
Test on the values of the Statistic H
Number of degrees of freedom : 36
ChiSquare statistic : 40.40
p-value of test : 0.28
-----------------------------------------------
Test on the values of the Statistic M
Number of degrees of freedom : 35
ChiSquare statistic : 30.58
p-value of test : 0.68
-----------------------------------------------
Test on the values of the Statistic J
Number of degrees of freedom : 25
ChiSquare statistic : 10.57
p-value of test : 0.9948
-----------------------------------------------
Test on the values of the Statistic R
Number of degrees of freedom : 24
ChiSquare statistic : 15.61
p-value of test : 0.90
-----------------------------------------------
Test on the values of the Statistic C
Number of degrees of freedom : 17
ChiSquare statistic : 20.71
p-value of test : 0.24
-----------------------------------------------
CPU time used : 00:08:04.67
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
swalk_RandomWalk1 test:
-----------------------------------------------
N = 1, n = 10000000, r = 0, s = 10, L0 = 1000, L1 = 1000
-----------------------------------------------
Test on the values of the Statistic H
Number of degrees of freedom : 146
ChiSquare statistic : 153.82
p-value of test : 0.31
-----------------------------------------------
Test on the values of the Statistic M
Number of degrees of freedom : 146
ChiSquare statistic : 191.08
p-value of test : 7.2e-3
-----------------------------------------------
Test on the values of the Statistic J
Number of degrees of freedom : 500
ChiSquare statistic : 520.19
p-value of test : 0.26
-----------------------------------------------
Test on the values of the Statistic R
Number of degrees of freedom : 136
ChiSquare statistic : 117.94
p-value of test : 0.87
-----------------------------------------------
Test on the values of the Statistic C
Number of degrees of freedom : 74
ChiSquare statistic : 64.73
p-value of test : 0.77
-----------------------------------------------
CPU time used : 00:09:17.69
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
swalk_RandomWalk1 test:
-----------------------------------------------
N = 1, n = 10000000, r = 20, s = 10, L0 = 1000, L1 = 1000
-----------------------------------------------
Test on the values of the Statistic H
Number of degrees of freedom : 146
ChiSquare statistic : 155.73
p-value of test : 0.28
-----------------------------------------------
Test on the values of the Statistic M
Number of degrees of freedom : 146
ChiSquare statistic : 167.73
p-value of test : 0.11
-----------------------------------------------
Test on the values of the Statistic J
Number of degrees of freedom : 500
ChiSquare statistic : 534.09
p-value of test : 0.14
-----------------------------------------------
Test on the values of the Statistic R
Number of degrees of freedom : 136
ChiSquare statistic : 134.68
p-value of test : 0.52
-----------------------------------------------
Test on the values of the Statistic C
Number of degrees of freedom : 74
ChiSquare statistic : 72.57
p-value of test : 0.53
-----------------------------------------------
CPU time used : 00:07:30.66
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
swalk_RandomWalk1 test:
-----------------------------------------------
N = 1, n = 1000000, r = 0, s = 15, L0 = 10000, L1 = 10000
-----------------------------------------------
Test on the values of the Statistic H
Number of degrees of freedom : 384
ChiSquare statistic : 424.84
p-value of test : 0.07
-----------------------------------------------
Test on the values of the Statistic M
Number of degrees of freedom : 384
ChiSquare statistic : 420.68
p-value of test : 0.10
-----------------------------------------------
Test on the values of the Statistic J
Number of degrees of freedom : 5000
ChiSquare statistic : 5018.27
p-value of test : 0.42
-----------------------------------------------
Test on the values of the Statistic R
Number of degrees of freedom : 378
ChiSquare statistic : 407.51
p-value of test : 0.14
-----------------------------------------------
Test on the values of the Statistic C
Number of degrees of freedom : 200
ChiSquare statistic : 185.72
p-value of test : 0.76
-----------------------------------------------
CPU time used : 00:05:24.82
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
swalk_RandomWalk1 test:
-----------------------------------------------
N = 1, n = 1000000, r = 15, s = 15, L0 = 10000, L1 = 10000
-----------------------------------------------
Test on the values of the Statistic H
Number of degrees of freedom : 384
ChiSquare statistic : 393.59
p-value of test : 0.36
-----------------------------------------------
Test on the values of the Statistic M
Number of degrees of freedom : 384
ChiSquare statistic : 390.32
p-value of test : 0.40
-----------------------------------------------
Test on the values of the Statistic J
Number of degrees of freedom : 5000
ChiSquare statistic : 5057.35
p-value of test : 0.28
-----------------------------------------------
Test on the values of the Statistic R
Number of degrees of freedom : 378
ChiSquare statistic : 405.89
p-value of test : 0.16
-----------------------------------------------
Test on the values of the Statistic C
Number of degrees of freedom : 200
ChiSquare statistic : 207.80
p-value of test : 0.34
-----------------------------------------------
CPU time used : 00:05:52.50
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
scomp_LinearComp test:
-----------------------------------------------
N = 1, n = 400020, r = 0, s = 1
-----------------------------------------------
Number of degrees of freedom : 12
Chi2 statistic for size of jumps : 9.17
p-value of test : 0.69
-----------------------------------------------
Normal statistic for number of jumps : -0.46
p-value of test : 0.68
-----------------------------------------------
CPU time used : 00:03:18.64
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
scomp_LinearComp test:
-----------------------------------------------
N = 1, n = 400020, r = 29, s = 1
-----------------------------------------------
Number of degrees of freedom : 12
Chi2 statistic for size of jumps : 12.48
p-value of test : 0.41
-----------------------------------------------
Normal statistic for number of jumps : -0.78
p-value of test : 0.78
-----------------------------------------------
CPU time used : 00:03:11.69
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
scomp_LempelZiv test:
-----------------------------------------------
N = 10, n = 134217728, r = 0, s = 30, k = 27
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.17
p-value of test : 0.50
Kolmogorov-Smirnov- statistic = D- : 0.18
p-value of test : 0.47
Anderson-Darling statistic = A2 : 0.56
p-value of test : 0.68
Tests on the sum of all N observations
Standardized normal statistic : -0.47
p-value of test : 0.68
Sample variance : 1.23
p-value of test : 0.27
-----------------------------------------------
CPU time used : 00:01:44.89
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
scomp_LempelZiv test:
-----------------------------------------------
N = 10, n = 134217728, r = 15, s = 15, k = 27
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.11
p-value of test : 0.73
Kolmogorov-Smirnov- statistic = D- : 0.30
p-value of test : 0.13
Anderson-Darling statistic = A2 : 0.85
p-value of test : 0.44
Tests on the sum of all N observations
Standardized normal statistic : 0.98
p-value of test : 0.16
Sample variance : 1.01
p-value of test : 0.43
-----------------------------------------------
CPU time used : 00:02:00.94
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sspectral_Fourier3 test:
-----------------------------------------------
N = 100000, n = 16384, r = 0, s = 3, k = 14
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 5.17e-3
p-value of test : 0.80
Kolmogorov-Smirnov- statistic = D- : 0.011
p-value of test : 0.35
Anderson-Darling statistic = A2 : 0.44
p-value of test : 0.81
-----------------------------------------------
CPU time used : 00:04:10.38
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sspectral_Fourier3 test:
-----------------------------------------------
N = 100000, n = 16384, r = 27, s = 3, k = 14
-----------------------------------------------
Kolmogorov-Smirnov+ statistic = D+ : 0.016
p-value of test : 0.13
Kolmogorov-Smirnov- statistic = D- : 5.55e-3
p-value of test : 0.77
Anderson-Darling statistic = A2 : 0.88
p-value of test : 0.43
-----------------------------------------------
CPU time used : 00:04:17.66
Generator state:
***********************************************************
HOST = tyl-thinkpad-t480, Linux
Harmonoise
sstring_LongestHeadRun test:
-----------------------------------------------
N = 1, n = 1000, r = 0, s = 3, L = 10000020
-----------------------------------------------
Number of degrees of freedom : 8
Chi-square statistic : 5.91
p-value of test : 0.66
-----------------------------------------------
Global longest run of 1 : 33.00
p-value of test : 0.44
-----------------------------------------------