13 research outputs found

    Sum-discrepancy test on pseudorandom number generators

    Get PDF
    We introduce a non-empirical test on pseudorandom number generators (prng), named sum-discrepancy test. We compute the distribution of the sum of consecutive m outputs of a prng to be tested, under the assumption that the initial state is uniformly randomly chosen. We measure its discrepancy from the ideal distribution, and then estimate the sample size which is necessary to reject the generator. These tests are effective to detect the structure of the outputs of multiple recursive generators with small coefficients, in particular that of lagged Fibonacci generators such as random() in BSD-C library, as well as add-with-carry and subtract-with-borrow generators like RCARRY. The tests show that these generators will be rejected if the sample size is of order 106. We tailor the test to generators with a discarding procedure, such as ran_array and RANLUX, and exhibit empirical results. It is shown that ran_array with half of the output discarded is rejected if the sample size is of the order of 4×1010. RANLUX with luxury level 1 (i.e. half of the output discarded) is rejected if the sample size is of the order of 2×108, and RANLUX with luxury level 2 (i.e. roughly 3/4 is discarded) will be rejected for the sample size of the order of 2.4×1018. In our previous work, we have dealt with the distribution of the Hamming weight function using discrete Fourier analysis. In this work, we replace the Hamming weight with the continuous sum, using a classical Fourier analysis, i.e. Poisson's summation formula and Levy's inversion formula

    Randomness, Determinism and Undecidability in the Economic Cycle Theory

    Get PDF
    AbstractThe scientific literature that studies the Business cycles contains a historical debate between random and deterministic models. On the one hand, models built with explanatory variables follow a stochastic trajectory and produce, through transmission mechanisms, the studied cycles. Its rationale: the so-called Slutsky-Yule effect. In addition, models in which the system phase at time T fixes, applying the “ceteris paribus condition”, the phase at time t + 1. The cycle would be the product of variables, making it possible to predict and enabling economic policies to combat recessions. The thesis of this work is as follows. The application of the theorems of Chaitin of undecidability shows that it is not possible to conclude such debate. It is impossible to determine with absolute certainty whether the observed cycles follow a deterministic or stochastic model. To reach this result, I outline the fundamental theories of the business cycle, providing a classification and examples of mathematical models. I review the definition of randomness, and I consider the demonstration of Chaitin about the impossibility of deciding whether a data set is stochastic or not. A consequence, he says, of Gödel incompleteness theorems. I conclude considering a string of economic data, aggregated or not, as random or deterministic, depends on the theory. This applies to all cyclical phenomena of any nature. Specific mathematical models have observable consequences. But probabilism and determinism are only heuristic programs that guide the knowledge progress. Key words: Randomness, Business cycle theories, Undecidability, Heuristic.JEL: B40, D50, E32

    A Search for Good Pseudo-random Number Generators : Survey and Empirical Studies

    Full text link
    In today's world, several applications demand numbers which appear random but are generated by a background algorithm; that is, pseudo-random numbers. Since late 19th19^{th} century, researchers have been working on pseudo-random number generators (PRNGs). Several PRNGs continue to develop, each one demanding to be better than the previous ones. In this scenario, this paper targets to verify the claim of so-called good generators and rank the existing generators based on strong empirical tests in same platforms. To do this, the genre of PRNGs developed so far has been explored and classified into three groups -- linear congruential generator based, linear feedback shift register based and cellular automata based. From each group, well-known generators have been chosen for empirical testing. Two types of empirical testing has been done on each PRNG -- blind statistical tests with Diehard battery of tests, TestU01 library and NIST statistical test-suite and graphical tests (lattice test and space-time diagram test). Finally, the selected 2929 PRNGs are divided into 2424 groups and are ranked according to their overall performance in all empirical tests

    Randomness, Determinism and Undecidability in the Economic cycle Theory

    Get PDF
    The scientific literature that studies the Business cycles contains a historical debate between random and deterministic models. On the one hand, models built with explanatory variables follow a stochastic trajectory and produce, through transmission mechanisms, the studied cycles. Its rationale: the so-called Slutsky-Yule effect. In addition, models in which the system phase at time T fixes, applying the “ceteris paribus condition”, the phase at time t + 1. The cycle would be the product of variables, making it possible to predict and enabling economic policies to combat recessions. The thesis of this work is as follows. The application of the theorems of Chaitin of undecidability shows that it is not possible to conclude such debate. It is impossible to determine with absolute certainty whether the observed cycles follow a deterministic or stochastic model. To reach this result, I outline the fundamental theories of the business cycle, providing a classification and examples of mathematical models. I review the definition of randomness, and I consider the demonstration of Chaitin about the impossibility of deciding whether a data set is stochastic or not. A consequence, he says, of Gödel incompleteness theorems. I conclude considering a string of economic data, aggregated or not, as random or deterministic, depends on the theory. This applies to all cyclical phenomena of any nature. Specific mathematical models have observable consequences. But probabilism and determinism are only heuristic programs that guide the knowledge progress

    Randomness, Determinism and Undecidability in the Economic cycle Theory

    Get PDF
    The scientific literature that studies the Business cycles contains a historical debate between random and deterministic models. On the one hand, models built with explanatory variables follow a stochastic trajectory and produce, through transmission mechanisms, the studied cycles. Its rationale: the so-called Slutsky-Yule effect. In addition, models in which the system phase at time T fixes, applying the “ceteris paribus condition”, the phase at time t + 1. The cycle would be the product of variables, making it possible to predict and enabling economic policies to combat recessions. The thesis of this work is as follows. The application of the theorems of Chaitin of undecidability shows that it is not possible to conclude such debate. It is impossible to determine with absolute certainty whether the observed cycles follow a deterministic or stochastic model. To reach this result, I outline the fundamental theories of the business cycle, providing a classification and examples of mathematical models. I review the definition of randomness, and I consider the demonstration of Chaitin about the impossibility of deciding whether a data set is stochastic or not. A consequence, he says, of Gödel incompleteness theorems. I conclude considering a string of economic data, aggregated or not, as random or deterministic, depends on the theory. This applies to all cyclical phenomena of any nature. Specific mathematical models have observable consequences. But probabilism and determinism are only heuristic programs that guide the knowledge progress

    Azar, Determinismo e Indecidibilidad en la Teoría del Ciclo Económico.

    Get PDF
    The scientific literature that studies the economic cycles contains a historical debate between random and deterministic models. On the one hand, models with explanatory variables that follow a stochastic trajectory and produce, through transmission mechanisms, the observed cycles. Its rationale: the so-called Slutsky-Yule effect. In addition, models in which the system state at time t fixes, ceteris paribus condition applying, the state at time t + 1. The cycle would be the product of variables, making it possible to predict and enabling economic policies to combat recessions. The thesis of this paper is as follows. The application of the theorems of Chaitin of undecidability shows that it is not possible to conclude that debate. It is impossible to determine with absolute certainty whether the observed cycles follow a deterministic or stochastic model. To reach this result, I outline the fundamental theories of the business cycle, providing a classification and examples of mathematical models. I review the definition of randomness, and I consider the demonstration of Chaitin about the impossibility of deciding whether a data set is stochastic or not. A consequence, he says, of Gödel incompleteness theorems. I conclude that to consider a series of economic data, aggregated or not, as random or deterministic, depends on the theory. This applies to all cyclical phenomena of any kind. Specific mathematical models have observable consequences. But probabilism and determinism are only heuristic programs that guide the advancement of knowledge
    corecore