Building Test Batteries Based on Analyzing Random Number Generator Tests within the Framework of Algorithmic
Boris Ryabko1,2
1Federal Research Center for Information and Computational Technologies, Novosibirsk 630090, Russia.
Entropy (Basel, Switzerland)
|June 26, 2024
Summary
A new method enhances random number generator testing by comparing statistical test power using algorithmic information theory. This approach identifies superior tests, including dictionary-based compression methods, where traditional statistics fall short.
Area of Science:
- Computer Science
- Information Theory
- Statistics
Background:
- Random number generators (RNGs) are crucial for simulations and cryptography.
- Evaluating the quality of random numbers is essential.
- Existing statistical tests have limitations in distinguishing subtle weaknesses in RNGs.
Purpose of the Study:
- To propose a novel method for comparing the statistical test power for random number generators.
- To address limitations of current mathematical statistics methods in RNG testing.
- To identify effective tests for inclusion in RNG test batteries.
Main Methods:
- Utilizing definitions of random sequences from algorithmic information theory.
- Developing a framework to compare the discriminatory power of different statistical tests.
- Applying the method to evaluate various statistical tests, including those based on data compression.
Main Results:
- A new method for comparing the power of statistical tests for random number generators is presented.
- The proposed method can differentiate between tests in scenarios where traditional statistical methods fail.
- Tests employing dictionary-based data compression methods are identified as powerful tools for RNG testing.
Conclusions:
- The proposed method based on algorithmic information theory offers a more sensitive approach to RNG testing.
- Dictionary-based compression tests should be integrated into standard test suites for random number generators.
- This research advances the field of random number generator validation.
Related Concept Videos
Wald-Wolfowitz Runs Test II
226
The Wald-Wolfowitz runs test, commonly referred to as the runs test, is a nonparametric test used to assess the randomness of ordered data. The test evaluates the number of runs, which are consecutive sequences of similar elements within the data. If the number of runs is significantly higher or lower than expected, the data is considered non-random, indicating a detectable pattern or structure.
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and...
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and...
226
Wald-Wolfowitz Runs Test I
639
The Wald-Wolfowitz test, also known as the runs test, is a nonparametric statistical test used to assess the randomness of a sequence of two different types of elements (e.g., positive/negative values, successes/failures). It examines whether the order of the elements in a sequence is random or if there is a pattern or trend present. This nonparametric test applies to any ordered data despite the population and sample data distribution, even if a higher sample size is available.
The test works...
The test works...
639
The Anderson-Darling Test
702
The Anderson-Darling test is a statistical method used to determine whether a data sample is likely drawn from a specific theoretical distribution. Unlike parametric tests, it does not require assumptions about specific parameters of the distribution. Instead, it compares the sample's empirical cumulative distribution function (ECDF) with the cumulative distribution function (CDF) of the hypothesized distribution. Critical values for the test are specific to the chosen distribution rather...
702
Randomized Experiments
6.9K
The randomization process involves assigning study participants randomly to experimental or control groups based on their probability of being equally assigned. Randomization is meant to eliminate selection bias and balance known and unknown confounding factors so that the control group is similar to the treatment group as much as possible. A computer program and a random number generator can be used to assign participants to groups in a way that minimizes bias.
Simple randomization
Simple...
Simple randomization
Simple...
6.9K
Testing a Claim about Population Proportion
3.3K
A complete procedure for testing a claim about a population proportion is provided here.
There are two methods of testing a claim about a population proportion: (1) Using the sample proportion from the data where a binomial distribution is approximated to the normal distribution and (2) Using the binomial probabilities calculated from the data.
The first method uses normal distribution as an approximation to the binomial distribution. The requirements are as follows: sample size is large...
There are two methods of testing a claim about a population proportion: (1) Using the sample proportion from the data where a binomial distribution is approximated to the normal distribution and (2) Using the binomial probabilities calculated from the data.
The first method uses normal distribution as an approximation to the binomial distribution. The requirements are as follows: sample size is large...
3.3K
Significance Testing: Overview
3.4K
Significance testing is a set of statistical methods used to test whether a claim about a parameter is valid. In analytical chemistry, significance testing is used primarily to determine whether the difference between two values comes from determinate or random errors. The effect of a particular change in the measurement protocol, analyst, or sample itself can cause a deviation from the expected result. In the case of a suspected deviation/outlier, we need to be able to confirm mathematically...
3.4K


