Random Walker Algorithm
   HOME

TheInfoList



OR:

In common usage, randomness is the apparent or actual lack of definite
pattern A pattern is a regularity in the world, in human-made design, or in abstract ideas. As such, the elements of a pattern repeat in a predictable manner. A geometric pattern is a kind of pattern formed of geometric shapes and typically repeated l ...
or
predictability Predictability is the degree to which a correct prediction or forecast of a system's state can be made, either qualitatively or quantitatively. Predictability and causality Causal determinism has a strong relationship with predictability. Perfec ...
in information. A random sequence of events,
symbol A symbol is a mark, Sign (semiotics), sign, or word that indicates, signifies, or is understood as representing an idea, physical object, object, or wikt:relationship, relationship. Symbols allow people to go beyond what is known or seen by cr ...
s or steps often has no order and does not follow an intelligible pattern or combination. Individual random events are, by definition, unpredictable, but if there is a known
probability distribution In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
, the frequency of different outcomes over repeated events (or "trials") is predictable.Strictly speaking, the frequency of an outcome will converge
almost surely In probability theory, an event is said to happen almost surely (sometimes abbreviated as a.s.) if it happens with probability 1 (with respect to the probability measure). In other words, the set of outcomes on which the event does not occur ha ...
to a predictable value as the number of trials becomes arbitrarily large. Non-convergence or convergence to a different value is possible, but has
probability Probability is a branch of mathematics and statistics concerning events and numerical descriptions of how likely they are to occur. The probability of an event is a number between 0 and 1; the larger the probability, the more likely an e ...
zero. Consistent non-convergence is thus evidence of the lack of a fixed probability distribution, as in many evolutionary processes.
For example, when throwing two
dice A die (: dice, sometimes also used as ) is a small, throwable object with marked sides that can rest in multiple positions. Dice are used for generating random values, commonly as part of tabletop games, including dice games, board games, ro ...
, the outcome of any particular roll is unpredictable, but a sum of 7 will tend to occur twice as often as 4. In this view, randomness is not haphazardness; it is a measure of uncertainty of an outcome. Randomness applies to concepts of chance,
probability Probability is a branch of mathematics and statistics concerning events and numerical descriptions of how likely they are to occur. The probability of an event is a number between 0 and 1; the larger the probability, the more likely an e ...
, and
information entropy In information theory, the entropy of a random variable quantifies the average level of uncertainty or information associated with the variable's potential states or possible outcomes. This measures the expected amount of information needed ...
. The fields of mathematics, probability, and statistics use formal definitions of randomness, typically assuming that there is some 'objective' probability distribution. In statistics, a
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a Mathematics, mathematical formalization of a quantity or object which depends on randomness, random events. The term 'random variable' in its mathema ...
is an assignment of a numerical value to each possible outcome of an
event space Event may refer to: Gatherings of people * Ceremony, an event of ritual significance, performed on a special occasion * Convention (meeting), a gathering of individuals engaged in some common interest * Event management, the organization of e ...
. This association facilitates the identification and the calculation of probabilities of the events. Random variables can appear in
random sequence The concept of a random sequence is essential in probability theory and statistics. The concept generally relies on the notion of a sequence of random variables and many statistical discussions begin with the words "let ''X''1,...,''Xn'' be independ ...
s. A
random process In probability theory and related fields, a stochastic () or random process is a mathematical object usually defined as a family of random variables in a probability space, where the index of the family often has the interpretation of time. Stoc ...
is a sequence of random variables whose outcomes do not follow a
deterministic Determinism is the metaphysical view that all events within the universe (or multiverse) can occur only in one possible way. Deterministic theories throughout the history of philosophy have developed from diverse and sometimes overlapping mo ...
pattern, but follow an evolution described by
probability distribution In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
s. These and other constructs are extremely useful in
probability theory Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
and the various
applications of randomness Randomness has multiple uses in science, art, statistics, cryptography, gaming, gambling, and other fields. For example, random assignment in randomized controlled trials helps scientists to test hypotheses, and random numbers or pseudorand ...
. Randomness is most often used in
statistics Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
to signify well-defined statistical properties.
Monte Carlo method Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be ...
s, which rely on random input (such as from random number generators or
pseudorandom number generator A pseudorandom number generator (PRNG), also known as a deterministic random bit generator (DRBG), is an algorithm for generating a sequence of numbers whose properties approximate the properties of sequences of random number generation, random n ...
s), are important techniques in science, particularly in the field of
computational science Computational science, also known as scientific computing, technical computing or scientific computation (SC), is a division of science, and more specifically the Computer Sciences, which uses advanced computing capabilities to understand and s ...
. By analogy,
quasi-Monte Carlo method In numerical analysis, the quasi-Monte Carlo method is a method for numerical integration and solving some other problems using low-discrepancy sequences (also called quasi-random sequences or sub-random sequences) to achieve variance reduction. ...
s use quasi-random number generators. Random selection, when narrowly associated with a
simple random sample In statistics, a simple random sample (or SRS) is a subset of individuals (a sample) chosen from a larger set (a population) in which a subset of individuals are chosen randomly, all with the same probability. It is a process of selecting a sa ...
, is a method of selecting items (often called units) from a population where the probability of choosing a specific item is the proportion of those items in the population. For example, with a bowl containing just 10 red marbles and 90 blue marbles, a random selection mechanism would choose a red marble with probability 1/10. A random selection mechanism that selected 10 marbles from this bowl would not necessarily result in 1 red and 9 blue. In situations where a population consists of items that are distinguishable, a random selection mechanism requires equal probabilities for any item to be chosen. That is, if the selection process is such that each member of a population, say research subjects, has the same probability of being chosen, then we can say the selection process is random. According to
Ramsey theory Ramsey theory, named after the British mathematician and philosopher Frank P. Ramsey, is a branch of the mathematical field of combinatorics that focuses on the appearance of order in a substructure given a structure of a known size. Problems in R ...
, pure randomness (in the sense of there being no discernible pattern) is impossible, especially for large structures. Mathematician
Theodore Motzkin Theodore Samuel Motzkin (; 26 March 1908 – 15 December 1970) was an Israeli- American mathematician. Biography Motzkin's father Leo Motzkin, a Ukrainian Jew, went to Berlin at the age of thirteen to study mathematics. He pursued university ...
suggested that "while disorder is more probable in general, complete disorder is impossible". Misunderstanding this can lead to numerous
conspiracy theories A conspiracy theory is an explanation for an event or situation that asserts the existence of a conspiracy (generally by powerful sinister groups, often political in motivation), when other explanations are more probable.Additional sources: * ...
. Cristian S. Calude stated that "given the impossibility of true randomness, the effort is directed towards studying degrees of randomness". Cristian S. Calude, (2017)
"Quantum Randomness: From Practice to Theory and Back"
in "The Incomputable Journeys Beyond the Turing Barrier" Editors: S. Barry Cooper, Mariya I. Soskova, 169–181, doi:10.1007/978-3-319-43669-2_11.
It can be proven that there is infinite hierarchy (in terms of quality or strength) of forms of randomness.


History

In ancient history, the concepts of chance and randomness were intertwined with that of fate. Many ancient peoples threw
dice A die (: dice, sometimes also used as ) is a small, throwable object with marked sides that can rest in multiple positions. Dice are used for generating random values, commonly as part of tabletop games, including dice games, board games, ro ...
to determine fate, and this later evolved into games of chance. Most ancient cultures used various methods of
divination Divination () is the attempt to gain insight into a question or situation by way of an occultic ritual or practice. Using various methods throughout history, diviners ascertain their interpretations of how a should proceed by reading signs, ...
to attempt to circumvent randomness and fate. Beyond
religion Religion is a range of social system, social-cultural systems, including designated religious behaviour, behaviors and practices, morals, beliefs, worldviews, religious text, texts, sanctified places, prophecies, ethics in religion, ethics, or ...
and
games of chance A game of chance is in contrast with a game of skill. It is a game whose outcome is strongly influenced by some randomizing device. Common devices used include dice, spinning tops, playing cards, roulette wheels, numbered balls, or in the case ...
, randomness has been attested for
sortition In governance, sortition is the selection of public officer, officials or jurors at random, i.e. by Lottery (probability), lottery, in order to obtain a representative sample. In ancient Athenian democracy, sortition was the traditional and pr ...
since at least ancient
Athenian democracy Athenian democracy developed around the 6th century BC in the Ancient Greece, Greek city-state (known as a polis) of Classical Athens, Athens, comprising the city of Athens and the surrounding territory of Attica, and focusing on supporting lib ...
in the form of a kleroterion. The formalization of odds and chance was perhaps earliest done by the Chinese of 3,000 years ago. The Greek philosophers discussed randomness at length, but only in non-quantitative forms. It was only in the 16th century that Italian mathematicians began to formalize the odds associated with various games of chance. The invention of
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
had a positive impact on the formal study of randomness. In the 1888 edition of his book ''The Logic of Chance'',
John Venn John Venn, Fellow of the Royal Society, FRS, Fellow of the Society of Antiquaries of London, FSA (4 August 1834 – 4 April 1923) was an English mathematician, logician and philosopher noted for introducing Venn diagrams, which are used in l ...
wrote a chapter on ''The conception of randomness'' that included his view of the randomness of the digits of pi (π), by using them to construct a
random walk In mathematics, a random walk, sometimes known as a drunkard's walk, is a stochastic process that describes a path that consists of a succession of random steps on some Space (mathematics), mathematical space. An elementary example of a rand ...
in two dimensions. The early part of the 20th century saw a rapid growth in the formal analysis of randomness, as various approaches to the mathematical foundations of probability were introduced. In the mid-to-late-20th century, ideas of algorithmic information theory introduced new dimensions to the field via the concept of algorithmic randomness. Although randomness had often been viewed as an obstacle and a nuisance for many centuries, in the 20th century computer scientists began to realize that the ''deliberate'' introduction of randomness into computations can be an effective tool for designing better algorithms. In some cases, such
randomized algorithms A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses Uniform distribution (discrete), uniformly random bits as an auxiliary input to guide its behavior, in the ...
even outperform the best deterministic methods.


In science

Many scientific fields are concerned with randomness: * Algorithmic probability *
Chaos theory Chaos theory is an interdisciplinary area of Scientific method, scientific study and branch of mathematics. It focuses on underlying patterns and Deterministic system, deterministic Scientific law, laws of dynamical systems that are highly sens ...
*
Cryptography Cryptography, or cryptology (from "hidden, secret"; and ''graphein'', "to write", or ''-logy, -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of Adversary (cryptography), ...
*
Game theory Game theory is the study of mathematical models of strategic interactions. It has applications in many fields of social science, and is used extensively in economics, logic, systems science and computer science. Initially, game theory addressed ...
*
Information theory Information theory is the mathematical study of the quantification (science), quantification, Data storage, storage, and telecommunications, communication of information. The field was established and formalized by Claude Shannon in the 1940s, ...
*
Pattern recognition Pattern recognition is the task of assigning a class to an observation based on patterns extracted from data. While similar, pattern recognition (PR) is not to be confused with pattern machines (PM) which may possess PR capabilities but their p ...
*
Percolation theory In statistical physics and mathematics, percolation theory describes the behavior of a network when nodes or links are added. This is a geometric type of phase transition, since at a critical fraction of addition the network of small, disconnected ...
*
Probability theory Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
*
Quantum mechanics Quantum mechanics is the fundamental physical Scientific theory, theory that describes the behavior of matter and of light; its unusual characteristics typically occur at and below the scale of atoms. Reprinted, Addison-Wesley, 1989, It is ...
*
Random walk In mathematics, a random walk, sometimes known as a drunkard's walk, is a stochastic process that describes a path that consists of a succession of random steps on some Space (mathematics), mathematical space. An elementary example of a rand ...
*
Statistical mechanics In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...
*
Statistics Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...


In the physical sciences

In the 19th century, scientists used the idea of random motions of molecules in the development of
statistical mechanics In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...
to explain phenomena in
thermodynamics Thermodynamics is a branch of physics that deals with heat, Work (thermodynamics), work, and temperature, and their relation to energy, entropy, and the physical properties of matter and radiation. The behavior of these quantities is governed b ...
and the properties of gases. According to several standard interpretations of
quantum mechanics Quantum mechanics is the fundamental physical Scientific theory, theory that describes the behavior of matter and of light; its unusual characteristics typically occur at and below the scale of atoms. Reprinted, Addison-Wesley, 1989, It is ...
, microscopic phenomena are objectively random. That is, in an experiment that controls all causally relevant parameters, some aspects of the outcome still vary randomly. For example, if a single unstable
atom Atoms are the basic particles of the chemical elements. An atom consists of a atomic nucleus, nucleus of protons and generally neutrons, surrounded by an electromagnetically bound swarm of electrons. The chemical elements are distinguished fr ...
is placed in a controlled environment, it cannot be predicted how long it will take for the atom to decay—only the probability of decay in a given time. Thus, quantum mechanics does not specify the outcome of individual experiments, but only the probabilities.
Hidden variable theories In physics, a hidden-variable theory is a deterministic model which seeks to explain the probabilistic nature of quantum mechanics by introducing additional, possibly inaccessible, variables. The mathematical formulation of quantum mechanics as ...
reject the view that nature contains irreducible randomness: such theories posit that in the processes that appear random, properties with a certain statistical distribution are at work behind the scenes, determining the outcome in each case.


In biology

The modern evolutionary synthesis ascribes the observed diversity of life to random genetic
mutation In biology, a mutation is an alteration in the nucleic acid sequence of the genome of an organism, virus, or extrachromosomal DNA. Viral genomes contain either DNA or RNA. Mutations result from errors during DNA or viral replication, ...
s followed by
natural selection Natural selection is the differential survival and reproduction of individuals due to differences in phenotype. It is a key mechanism of evolution, the change in the Heredity, heritable traits characteristic of a population over generation ...
. The latter retains some random mutations in the
gene pool The gene pool is the set of all genes, or genetic information, in any population, usually of a particular species. Description A large gene pool indicates extensive genetic diversity, which is associated with robust populations that can survi ...
due to the systematically improved chance for survival and reproduction that those mutated genes confer on individuals who possess them. The location of the mutation is not entirely random however as e.g. biologically important regions may be more protected from mutations. Several authors also claim that evolution (and sometimes development) requires a specific form of randomness, namely the introduction of qualitatively new behaviors. Instead of the choice of one possibility among several pre-given ones, this randomness corresponds to the formation of new possibilities. The characteristics of an organism arise to some extent deterministically (e.g., under the influence of genes and the environment), and to some extent randomly. For example, the ''density'' of freckles that appear on a person's skin is controlled by genes and exposure to light; whereas the exact location of ''individual'' freckles seems random. As far as behavior is concerned, randomness is important if an animal is to behave in a way that is unpredictable to others. For instance, insects in flight tend to move about with random changes in direction, making it difficult for pursuing predators to predict their trajectories.


In mathematics

The mathematical theory of
probability Probability is a branch of mathematics and statistics concerning events and numerical descriptions of how likely they are to occur. The probability of an event is a number between 0 and 1; the larger the probability, the more likely an e ...
arose from attempts to formulate mathematical descriptions of chance events, originally in the context of
gambling Gambling (also known as betting or gaming) is the wagering of something of Value (economics), value ("the stakes") on a Event (probability theory), random event with the intent of winning something else of value, where instances of strategy (ga ...
, but later in connection with physics.
Statistics Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
is used to infer an underlying
probability distribution In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
of a collection of empirical observations. For the purposes of
simulation A simulation is an imitative representation of a process or system that could exist in the real world. In this broad sense, simulation can often be used interchangeably with model. Sometimes a clear distinction between the two terms is made, in ...
, it is necessary to have a large supply of random numbers—or means to generate them on demand. Algorithmic information theory studies, among other topics, what constitutes a
random sequence The concept of a random sequence is essential in probability theory and statistics. The concept generally relies on the notion of a sequence of random variables and many statistical discussions begin with the words "let ''X''1,...,''Xn'' be independ ...
. The central idea is that a string of bits is random if and only if it is shorter than any computer program that can produce that string ( Kolmogorov randomness), which means that random strings are those that cannot be compressed. Pioneers of this field include
Andrey Kolmogorov Andrey Nikolaevich Kolmogorov ( rus, Андре́й Никола́евич Колмого́ров, p=ɐnˈdrʲej nʲɪkɐˈlajɪvʲɪtɕ kəlmɐˈɡorəf, a=Ru-Andrey Nikolaevich Kolmogorov.ogg, 25 April 1903 – 20 October 1987) was a Soviet ...
and his student
Per Martin-Löf Per Erik Rutger Martin-Löf (; ; born 8 May 1942) is a Sweden, Swedish logician, philosopher, and mathematical statistics, mathematical statistician. He is internationally renowned for his work on the foundations of probability, statistics, mathe ...
, Ray Solomonoff, and
Gregory Chaitin Gregory John Chaitin ( ; born 25 June 1947) is an Argentina, Argentine-United States, American mathematician and computer scientist. Beginning in the late 1960s, Chaitin made contributions to algorithmic information theory and metamathematics, ...
. For the notion of infinite sequence, mathematicians generally accept
Per Martin-Löf Per Erik Rutger Martin-Löf (; ; born 8 May 1942) is a Sweden, Swedish logician, philosopher, and mathematical statistics, mathematical statistician. He is internationally renowned for his work on the foundations of probability, statistics, mathe ...
's semi-eponymous definition: An infinite sequence is random if and only if it withstands all recursively enumerable null sets. The other notions of random sequences include, among others, recursive randomness and Schnorr randomness, which are based on recursively computable martingales. It was shown by Yongge Wang that these randomness notions are generally different. Randomness occurs in numbers such as log(2) and pi. The decimal digits of pi constitute an infinite sequence and "never repeat in a cyclical fashion." Numbers like pi are also considered likely to be normal:


In statistics

In statistics, randomness is commonly used to create simple random samples. This allows surveys of completely random groups of people to provide realistic data that is reflective of the population. Common methods of doing this include drawing names out of a hat or using a random digit chart (a large table of random digits).


In information science

In information science, irrelevant or meaningless data is considered noise. Noise consists of numerous transient disturbances, with a statistically randomized time distribution. In
communication theory Communication theory is a proposed description of communication phenomena, the relationships among them, a storyline describing these relationships, and an argument for these three elements. Communication theory provides a way of talking about a ...
, randomness in a signal is called "noise", and is opposed to that component of its variation that is causally attributable to the source, the signal. In terms of the development of random networks, for communication randomness rests on the two simple assumptions of
Paul Erdős Paul Erdős ( ; 26March 191320September 1996) was a Hungarian mathematician. He was one of the most prolific mathematicians and producers of mathematical conjectures of the 20th century. pursued and proposed problems in discrete mathematics, g ...
and Alfréd Rényi, who said that there were a fixed number of nodes and this number remained fixed for the life of the network, and that all nodes were equal and linked randomly to each other.


In finance

The random walk hypothesis considers that asset prices in an organized market evolve at random, in the sense that the expected value of their change is zero but the actual value may turn out to be positive or negative. More generally, asset prices are influenced by a variety of unpredictable events in the general economic environment.


In politics

Random selection can be an official method to resolve tied elections in some jurisdictions. Its use in politics originates long ago. Many offices in
ancient Athens Athens is one of the List of oldest continuously inhabited cities, oldest named cities in the world, having been continuously inhabited for perhaps 5,000 years. Situated in southern Europe, Athens became the leading city of ancient Greece in t ...
were chosen by lot instead of modern voting.


Randomness and religion

Randomness can be seen as conflicting with the
deterministic Determinism is the metaphysical view that all events within the universe (or multiverse) can occur only in one possible way. Deterministic theories throughout the history of philosophy have developed from diverse and sometimes overlapping mo ...
ideas of some religions, such as those where the universe is created by an omniscient deity who is aware of all past and future events. If the universe is regarded to have a purpose, then randomness can be seen as impossible. This is one of the rationales for religious opposition to
evolution Evolution is the change in the heritable Phenotypic trait, characteristics of biological populations over successive generations. It occurs when evolutionary processes such as natural selection and genetic drift act on genetic variation, re ...
, which states that non-random selection is applied to the results of random genetic variation.
Hindu Hindus (; ; also known as Sanātanīs) are people who religiously adhere to Hinduism, also known by its endonym Sanātana Dharma. Jeffery D. Long (2007), A Vision for Hinduism, IB Tauris, , pp. 35–37 Historically, the term has also be ...
and
Buddhist Buddhism, also known as Buddhadharma and Dharmavinaya, is an Indian religion and List of philosophies, philosophical tradition based on Pre-sectarian Buddhism, teachings attributed to the Buddha, a wandering teacher who lived in the 6th or ...
philosophies state that any event is the result of previous events, as is reflected in the concept of
karma Karma (, from , ; ) is an ancient Indian concept that refers to an action, work, or deed, and its effect or consequences. In Indian religions, the term more specifically refers to a principle of cause and effect, often descriptively called ...
. As such, this conception is at odds with the idea of randomness, and any reconciliation between both of them would require an explanation. In some religious contexts, procedures that are commonly perceived as randomizers are used for divination.
Cleromancy Cleromancy is a form of sortition (casting of lots) in which an outcome is determined by means that normally would be considered random, such as the rolling of dice ( astragalomancy), but that are sometimes believed to reveal the will of a deit ...
uses the casting of bones or dice to reveal what is seen as the will of the gods.


Applications

In most of its mathematical, political, social and religious uses, randomness is used for its innate "fairness" and lack of bias. Politics:
Athenian democracy Athenian democracy developed around the 6th century BC in the Ancient Greece, Greek city-state (known as a polis) of Classical Athens, Athens, comprising the city of Athens and the surrounding territory of Attica, and focusing on supporting lib ...
was based on the concept of
isonomia ''Isonomia'' (ἰσονομία "equality of political rights,"Henry George Liddell, Robert Scott, A Greek-English LexiconThe Athenian Democracy in the Age of Demosthenes", Mogens Herman Hansen, , p. 81-84 from the Greek ἴσος ''isos'' ...
(equality of political rights), and used complex allotment machines to ensure that the positions on the ruling committees that ran Athens were fairly allocated. Allotment is now restricted to selecting jurors in Anglo-Saxon legal systems, and in situations where "fairness" is approximated by
randomization Randomization is a statistical process in which a random mechanism is employed to select a sample from a population or assign subjects to different groups.Oxford English Dictionary "randomization" The process is crucial in ensuring the random alloc ...
, such as selecting
juror A jury is a sworn body of people (jurors) convened to hear evidence, make Question of fact, findings of fact, and render an impartiality, impartial verdict officially submitted to them by a court, or to set a sentence (law), penalty or Judgmen ...
s and military
draft Draft, the draft, or draught may refer to: Watercraft dimensions * Draft (hull), the distance from waterline to keel of a vessel * Draft (sail), degree of curvature in a sail * Air draft, distance from waterline to the highest point on a v ...
lotteries. Games: Random numbers were first investigated in the context of
gambling Gambling (also known as betting or gaming) is the wagering of something of Value (economics), value ("the stakes") on a Event (probability theory), random event with the intent of winning something else of value, where instances of strategy (ga ...
, and many randomizing devices, such as
dice A die (: dice, sometimes also used as ) is a small, throwable object with marked sides that can rest in multiple positions. Dice are used for generating random values, commonly as part of tabletop games, including dice games, board games, ro ...
,
shuffling playing cards Shuffling is a technique used to randomization, randomize a deck of playing cards, introducing an element of chance into card games. Various shuffling methods exist, each with its own characteristics and potential for manipulation. One of the ...
, and
roulette Roulette (named after the French language, French word meaning "little wheel") is a casino game which was likely developed from the Italy, Italian game Biribi. In the game, a player may choose to place a bet on a single number, various grouping ...
wheels, were first developed for use in gambling. The ability to produce random numbers fairly is vital to electronic gambling, and, as such, the methods used to create them are usually regulated by government
Gaming Control Board A gaming control board (GCB), also called by various names including gambling control board, casino control board, gambling board, and gaming commission, is a government agency charged with Regulation, regulating casino and other types of gaming i ...
s. Random drawings are also used to determine
lottery A lottery (or lotto) is a form of gambling that involves the drawing of numbers at random for a prize. Some governments outlaw lotteries, while others endorse it to the extent of organizing a national or state lottery. It is common to find som ...
winners. In fact, randomness has been used for games of chance throughout history, and to select out individuals for an unwanted task in a fair way (see drawing straws). Sports: Some sports, including
American football American football, referred to simply as football in the United States and Canada and also known as gridiron football, is a team sport played by two teams of eleven players on a rectangular American football field, field with goalposts at e ...
, use coin tosses to randomly select starting conditions for games or
seed In botany, a seed is a plant structure containing an embryo and stored nutrients in a protective coat called a ''testa''. More generally, the term "seed" means anything that can be Sowing, sown, which may include seed and husk or tuber. Seeds ...
tied teams for postseason play. The
National Basketball Association The National Basketball Association (NBA) is a professional basketball league in North America composed of 30 teams (29 in the United States and 1 in Canada). The NBA is one of the major professional sports leagues in the United States and Ca ...
uses a weighted
lottery A lottery (or lotto) is a form of gambling that involves the drawing of numbers at random for a prize. Some governments outlaw lotteries, while others endorse it to the extent of organizing a national or state lottery. It is common to find som ...
to order teams in its draft. Mathematics: Random numbers are also employed where their use is mathematically important, such as sampling for
opinion poll An opinion poll, often simply referred to as a survey or a poll, is a human research survey of public opinion from a particular sample. Opinion polls are usually designed to represent the opinions of a population by conducting a series of qu ...
s and for statistical sampling in
quality control Quality control (QC) is a process by which entities review the quality of all factors involved in production. ISO 9000 defines quality control as "a part of quality management focused on fulfilling quality requirements". This approach plac ...
systems. Computational solutions for some types of problems use random numbers extensively, such as in the
Monte Carlo method Monte Carlo methods, or Monte Carlo experiments, are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results. The underlying concept is to use randomness to solve problems that might be ...
and in
genetic algorithm In computer science and operations research, a genetic algorithm (GA) is a metaheuristic inspired by the process of natural selection that belongs to the larger class of evolutionary algorithms (EA). Genetic algorithms are commonly used to g ...
s. Medicine: Random allocation of a clinical intervention is used to reduce bias in controlled trials (e.g.,
randomized controlled trials A randomized controlled trial (or randomized control trial; RCT) is a form of scientific experiment used to control factors not under direct experimental control. Examples of RCTs are clinical trials that compare the effects of drugs, surgical ...
). Religion: Although not intended to be random, various forms of
divination Divination () is the attempt to gain insight into a question or situation by way of an occultic ritual or practice. Using various methods throughout history, diviners ascertain their interpretations of how a should proceed by reading signs, ...
such as
cleromancy Cleromancy is a form of sortition (casting of lots) in which an outcome is determined by means that normally would be considered random, such as the rolling of dice ( astragalomancy), but that are sometimes believed to reveal the will of a deit ...
see what appears to be a random event as a means for a divine being to communicate their will (see also
Free will Free will is generally understood as the capacity or ability of people to (a) choice, choose between different possible courses of Action (philosophy), action, (b) exercise control over their actions in a way that is necessary for moral respon ...
and
Determinism Determinism is the Metaphysics, metaphysical view that all events within the universe (or multiverse) can occur only in one possible way. Deterministic theories throughout the history of philosophy have developed from diverse and sometimes ov ...
for more).


Generation

It is generally accepted that there exist three mechanisms responsible for (apparently) random behavior in systems: # ''Randomness'' coming from the environment (for example,
Brownian motion Brownian motion is the random motion of particles suspended in a medium (a liquid or a gas). The traditional mathematical formulation of Brownian motion is that of the Wiener process, which is often called Brownian motion, even in mathematical ...
, but also
hardware random number generator In computing, a hardware random number generator (HRNG), true random number generator (TRNG), non-deterministic random bit generator (NRBG), or physical random number generator is a device that generates random numbers from a physical process c ...
s). # ''Randomness'' coming from the initial conditions. This aspect is studied by
chaos theory Chaos theory is an interdisciplinary area of Scientific method, scientific study and branch of mathematics. It focuses on underlying patterns and Deterministic system, deterministic Scientific law, laws of dynamical systems that are highly sens ...
, and is observed in systems whose behavior is very sensitive to small variations in initial conditions (such as
pachinko is a mechanical game originating in Japan that is used as an arcade game, and much more frequently for gambling. Pachinko fills a niche in Gambling in Japan, Japanese gambling comparable to that of the slot machine in the West as a form of l ...
machines and
dice A die (: dice, sometimes also used as ) is a small, throwable object with marked sides that can rest in multiple positions. Dice are used for generating random values, commonly as part of tabletop games, including dice games, board games, ro ...
). # ''Randomness'' intrinsically generated by the system. This is also called pseudorandomness, and is the kind used in pseudo-random number generators. There are many algorithms (based on
arithmetics Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and Division (mathematics), division. In a wider sense, it also includes exponentiation, extraction of nth root, ...
or
cellular automaton A cellular automaton (pl. cellular automata, abbrev. CA) is a discrete model of computation studied in automata theory. Cellular automata are also called cellular spaces, tessellation automata, homogeneous structures, cellular structures, tessel ...
) for generating pseudorandom numbers. The behavior of the system can be determined by knowing the seed state and the algorithm used. These methods are often quicker than getting "true" randomness from the environment. The many
applications of randomness Randomness has multiple uses in science, art, statistics, cryptography, gaming, gambling, and other fields. For example, random assignment in randomized controlled trials helps scientists to test hypotheses, and random numbers or pseudorand ...
have led to many different methods for generating random data. These methods may vary as to how unpredictable or statistically random they are, and how quickly they can generate random numbers. Before the advent of computational
random number generator Random number generation is a process by which, often by means of a random number generator (RNG), a sequence of numbers or symbols is generated that cannot be reasonably predicted better than by random chance. This means that the particular ou ...
s, generating large amounts of sufficiently random numbers (which is important in statistics) required a lot of work. Results would sometimes be collected and distributed as random number tables.


Measures and tests

There are many practical measures of randomness for a binary sequence. These include measures based on frequency, discrete transforms,
complexity Complexity characterizes the behavior of a system or model whose components interact in multiple ways and follow local rules, leading to non-linearity, randomness, collective dynamics, hierarchy, and emergence. The term is generally used to c ...
, or a mixture of these, such as the tests by Kak, Phillips, Yuen, Hopkins, Beth and Dai, Mund, and Marsaglia and Zaman. Quantum nonlocality has been used to certify the presence of genuine or strong form of randomness in a given string of numbers.


Misconceptions and logical fallacies

Popular perceptions of randomness are frequently mistaken, and are often based on fallacious reasoning or intuitions.


Fallacy: a number is "due"

This argument is, "In a random selection of numbers, since all numbers eventually appear, those that have not come up yet are 'due', and thus more likely to come up soon." This logic is only correct if applied to a system where numbers that come up are removed from the system, such as when
playing card A playing card is a piece of specially prepared card stock, heavy paper, thin cardboard, plastic-coated paper, cotton-paper blend, or thin plastic that is marked with distinguishing motifs. Often the front (face) and back of each card has a f ...
s are drawn and not returned to the deck. In this case, once a jack is removed from the deck, the next draw is less likely to be a jack and more likely to be some other card. However, if the jack is returned to the deck, and the deck is thoroughly reshuffled, a jack is as likely to be drawn as any other card. The same applies in any other process where objects are selected independently, and none are removed after each event, such as the roll of a die, a coin toss, or most
lottery A lottery (or lotto) is a form of gambling that involves the drawing of numbers at random for a prize. Some governments outlaw lotteries, while others endorse it to the extent of organizing a national or state lottery. It is common to find som ...
number selection schemes. Truly random processes such as these do not have memory, which makes it impossible for past outcomes to affect future outcomes. In fact, there is no finite number of trials that can guarantee a success.


Fallacy: a number is "cursed" or "blessed"

In a random sequence of numbers, a number may be said to be cursed because it has come up less often in the past, and so it is thought that it will occur less often in the future. A number may be assumed to be blessed because it has occurred more often than others in the past, and so it is thought likely to come up more often in the future. This logic is valid only if the randomisation might be biased, for example if a die is suspected to be loaded then its failure to roll enough sixes would be evidence of that loading. If the die is known to be fair, then previous rolls can give no indication of future events. In nature, events rarely occur with a frequency that is known ''
a priori ('from the earlier') and ('from the later') are Latin phrases used in philosophy to distinguish types of knowledge, Justification (epistemology), justification, or argument by their reliance on experience. knowledge is independent from any ...
'', so observing outcomes to determine which events are more probable makes sense. However, it is fallacious to apply this logic to systems designed and known to make all outcomes equally likely, such as shuffled cards, dice, and roulette wheels.


Fallacy: odds are never dynamic

In the beginning of a scenario, one might calculate the probability of a certain event. However, as soon as one gains more information about the scenario, one may need to re-calculate the probability accordingly. For example, when being told that a woman has two children, one might be interested in knowing if either of them is a girl, and if yes, the probability that the other child is also a girl. Considering the two events independently, one might expect that the probability that the other child is female is ½ (50%), but by building a
probability space In probability theory, a probability space or a probability triple (\Omega, \mathcal, P) is a mathematical construct that provides a formal model of a random process or "experiment". For example, one can define a probability space which models ...
illustrating all possible outcomes, one would notice that the probability is actually only ⅓ (33%). To be sure, the probability space does illustrate four ways of having these two children: boy-boy, girl-boy, boy-girl, and girl-girl. But once it is known that at least one of the children is female, this rules out the boy-boy scenario, leaving only three ways of having the two children: boy-girl, girl-boy, girl-girl. From this, it can be seen only ⅓ of these scenarios would have the other child also be a girl (see Boy or girl paradox for more). In general, by using a probability space, one is less likely to miss out on possible scenarios, or to neglect the importance of new information. This technique can be used to provide insights in other situations such as the
Monty Hall problem The Monty Hall problem is a brain teaser, in the form of a probability puzzle, based nominally on the American television game show ''Let's Make a Deal'' and named after its original host, Monty Hall. The problem was originally posed (and solved ...
, a game show scenario in which a car is hidden behind one of three doors, and two goats are hidden as
booby prize A booby prize is a joke prize usually given in recognition of a terrible performance or a last-place finish. Booby prizes are typically worthless, but are sometimes jokingly coveted as an object of pride. Notable examples of booby prizes include t ...
s behind the others. Once the contestant has chosen a door, the host opens one of the remaining doors to reveal a goat, eliminating that door as an option. With only two doors left (one with the car, the other with another goat), the player must decide to either keep their decision, or to switch and select the other door. Intuitively, one might think the player is choosing between two doors with equal probability, and that the opportunity to choose another door makes no difference. However, an analysis of the probability spaces would reveal that the contestant has received new information, and that changing to the other door would increase their chances of winning.


See also

* Chaitin's constant *
Chance (disambiguation) Chance may refer to: Mathematics * In mathematics, likelihood of something (by way of the likelihood function or probability density function) * ''Chance'' (statistics magazine) Places * Chance, Kentucky, US * Chance, Maryland, US * Cha ...
*
Frequentist probability Frequentist probability or frequentism is an interpretation of probability; it defines an event's probability (the ''long-run probability'') as the limit of its relative frequency in infinitely many trials. Probabilities can be found (in pr ...
*
Indeterminism Indeterminism is the idea that events (or certain events, or events of certain types) are not caused, or are not caused deterministically. It is the opposite of determinism and related to chance. It is highly relevant to the philosophical pr ...
*
Nonlinear system In mathematics and science, a nonlinear system (or a non-linear system) is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathem ...
*
Probability interpretations The word "probability" has been used in a variety of ways since it was first applied to the mathematical study of games of chance. Does probability measure the real, physical, tendency of something to occur, or is it a measure of how strongly on ...
*
Probability theory Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
* Pseudorandomness * Random.org—generates random numbers using atmospheric noise *
Sortition In governance, sortition is the selection of public officer, officials or jurors at random, i.e. by Lottery (probability), lottery, in order to obtain a representative sample. In ancient Athenian democracy, sortition was the traditional and pr ...


Notes


References


Further reading

* ''Randomness'' by Deborah J. Bennett. Harvard University Press, 1998. . * ''Random Measures, 4th ed.'' by Olav Kallenberg. Academic Press, New York, London; Akademie-Verlag, Berlin, 1986. . * ''The Art of Computer Programming. Vol. 2: Seminumerical Algorithms, 3rd ed.'' by Donald E. Knuth. Reading, MA: Addison-Wesley, 1997. . * '' Fooled by Randomness, 2nd ed.'' by Nassim Nicholas Taleb. Thomson Texere, 2004. . * ''Exploring Randomness'' by
Gregory Chaitin Gregory John Chaitin ( ; born 25 June 1947) is an Argentina, Argentine-United States, American mathematician and computer scientist. Beginning in the late 1960s, Chaitin made contributions to algorithmic information theory and metamathematics, ...
. Springer-Verlag London, 2001. . * ''Random'' by Kenneth Chan includes a "Random Scale" for grading the level of randomness. * ''The Drunkard’s Walk: How Randomness Rules our Lives'' by Leonard Mlodinow. Pantheon Books, New York, 2008. .


External links


QuantumLab
Quantum random number generator with single photons as interactive experiment.
HotBits
generates random numbers from radioactive decay.
QRBG
Quantum Random Bit Generator
QRNG
Fast Quantum Random Bit Generator
A Pseudorandom Number Sequence Test Program (Public Domain)''Dictionary of the History of Ideas'':
Chance
Chance versus Randomness
from the
Stanford Encyclopedia of Philosophy The ''Stanford Encyclopedia of Philosophy'' (''SEP'') is a freely available online philosophy resource published and maintained by Stanford University, encompassing both an online encyclopedia of philosophy and peer-reviewed original publication ...
{{Authority control Cryptography Statistical randomness