Randomness

From Wikipedia, the free encyclopedia
  (Redirected from Non-random)
Jump to: navigation, search
"Random" redirects here. For other uses, see Random (disambiguation).
For a random Wikipedia article, see Special:Random. For information about Wikipedia's random article feature, see Wikipedia:Random.

Randomness means lack of pattern or predictability in events.[1] Randomness suggests a non-order or non-coherence in a sequence of symbols or steps, such that there is no intelligible pattern or combination.

Applied usage in science, mathematics and statistics recognizes a lack of predictability when referring to randomness, but admits regularities in the occurrences of events whose outcomes are not certain. For example, when throwing two dice and counting the total, we can say that a sum of 7 will randomly occur twice as often as 4. This view, where randomness simply refers to situations where the certainty of the outcome is at issue, applies to concepts of chance, probability, and information entropy. In these situations, randomness implies a measure of uncertainty, and notions of haphazardness are irrelevant.

The fields of mathematics, probability, and statistics use formal definitions of randomness. In statistics, a random variable is an assignment of a numerical value to each possible outcome of an event space. This association facilitates the identification and the calculation of probabilities of the events. A random process is a sequence of random variables describing a process whose outcomes do not follow a deterministic pattern, but follow an evolution described by probability distributions. These and other constructs are extremely useful in probability theory.

Randomness is often used in statistics to signify well-defined statistical properties. Monte Carlo methods, which rely on random input, are important techniques in science, as, for instance, in computational science.[2]

Random selection 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, if we have a bowl of 100 marbles with 10 red (and any red marble is indistinguishable from any other red marble) and 90 blue (and any blue marble is indistinguishable from any other blue marble), a random selection mechanism would choose a red marble with probability 1/10. Note that 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, of say research subjects, has the same probability of being chosen then we can say the selection process is random.

History

Main article: History of randomness
Ancient fresco of dice players in Pompei.

In ancient history, the concepts of chance and randomness were intertwined with that of fate. Many ancient peoples threw dice to determine fate, and this later evolved into games of chance. Most ancient cultures used various methods of divination to attempt to circumvent randomness and fate.[3][4]

The Chinese were perhaps the earliest people to formalize odds and chance 3,000 years ago. The Greek philosophers discussed randomness at length, but only in non-quantitative forms. It was only in the sixteenth century that Italian mathematicians began to formalize the odds associated with various games of chance. The invention of the calculus had a positive impact on the formal study of randomness. In the 1888 edition of his book The Logic of Chance John Venn wrote a chapter on The conception of randomness that included his view of the randomness of the digits of the number Pi by using them to construct a random walk in two dimensions.[5]

The early part of the twentieth 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-twentieth 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 twentieth 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 outperform the best deterministic methods.

Randomness in science

Many scientific fields are concerned with randomness:

In the physical sciences

In the 19th century, scientists used the idea of random motions of molecules in the development of statistical mechanics to explain phenomena in thermodynamics and the properties of gases.

According to several standard interpretations of quantum mechanics, microscopic phenomena are objectively random.[6] That is, in an experiment that controls all causally relevant parameters, some aspects of the outcome still vary randomly. For example, if you place a single unstable atom in a controlled environment, you cannot predict how long it will take for the atom to decay—only the probability of decay in a given time.[7] Thus, quantum mechanics does not specify the outcome of individual experiments but only the probabilities. Hidden variable theories 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 natural selection, in which some random genetic mutations are retained in the gene pool due to the systematically improved chance for survival and reproduction that those mutated genes confer on individuals who possess them.

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.[8]

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 arose from attempts to formulate mathematical descriptions of chance events, originally in the context of gambling, but later in connection with physics. Statistics is used to infer the underlying probability distribution of a collection of empirical observations. For the purposes of simulation, 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 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)—this means that random strings are those that cannot be compressed. Pioneers of this field include Andrey Kolmogorov and his student Per Martin-Löf, Ray Solomonoff, and Gregory Chaitin.

In mathematics, there must be an infinite expansion of information for randomness to exist. This can best be seen with an example. Given a random sequence of three-bit numbers, each number can have one of only eight possible values:

000, 001, 010, 011, 100, 101, 110, 111

Therefore, as the random sequence progresses, it must recycle previous values. To increase the information space, another bit may be added to each possible number, giving 16 possible values from which to pick a random number. It could be said that the random four-bit number sequence is more random than the three-bit one. This suggests that true randomness requires an infinite expansion of the information space.

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, which means their digits are random in a certain statistical sense.

Pi certainly seems to behave this way. In the first six billion decimal places of pi, each of the digits from 0 through 9 shows up about six hundred million times. Yet such results, conceivably accidental, do not prove normality even in base 10, much less normality in other number bases.[9]

In statistics

In statistics, randomness is commonly used to create simple random samples. This lets surveys of completely random groups of people provide realistic data. Common methods of doing this include drawing names out of a hat or using a random digit chart. A random digit chart is simply a large table of random digits.

In information science

In information science, irrelevant or meaningless data is considered noise. Noise consists of a large number of transient disturbances with a statistically randomized time distribution.

In communication theory, 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 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.[clarification needed][10]

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.

Randomness versus unpredictability

Randomness, as opposed to unpredictability, is an objective property. Determinists believe it is an objective fact that randomness does not in fact exist. Also, what appears random to one observer may not appear random to another. Consider two observers of a sequence of bits, when only one of whom has the cryptographic key needed to turn the sequence of bits into a readable message. For that observer the message is not random, but it is unpredictable for the other.

One of the intriguing aspects of random processes is that it is hard to know whether a process is truly random. An observer may suspect that there is some "key" that unlocks the message. This is one of the foundations of superstition, but also a motivation for discovery in science and mathematics.

Under the cosmological hypothesis of determinism, there is no randomness in the universe, only unpredictability, since there is only one possible outcome to all events in the universe. A follower of the narrow frequency interpretation of probability could assert that no event can be said to have probability, since there is only one universal outcome. Under the rival Bayesian interpretation of probability, there is no objection to using probabilities to represent a lack of complete knowledge of outcomes.

Some mathematically defined sequences, such as the decimals of pi mentioned above, exhibit some of the same characteristics as random sequences, but because they are generated by a describable mechanism, they are called pseudorandom. To an observer who does not know the mechanism, a pseudorandom sequence is unpredictable.

Chaotic systems are unpredictable in practice due to their extreme sensitivity to initial conditions. Whether or not they are unpredictable in terms of computability theory is a subject of current research. At least in some disciplines of computability theory, the notion of randomness is identified with computational unpredictability.

Individual events that are random may still be precisely described en masse, usually in terms of probability or expected value. For instance, quantum mechanics allows a very precise calculation of the half-lives of atoms even though the process of atomic decay is random. More simply, although a single toss of a fair coin cannot be predicted, its general behavior can be described by saying that if a large number of tosses are made, roughly half of them will show up heads. Ohm's law and the kinetic theory of gases are non-random macroscopic phenomena that are assumed random at the microscopic level.

Randomness and politics

Random selection can be an official method to resolve tied elections in some jurisdictions.[11] Its use in politics is very old, as office holders in Ancient Athens were chosen by lot, there being no voting.

Randomness and religion

Randomness can be seen as conflicting with the deterministic 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, which states that non-random selection is applied to the results of random genetic variation.

Hindu and Buddhist philosophies state that any event is the result of previous events, as reflected in the concept of karma, and as such there is no such thing as a random event or a first event. The 20th-century Christian philosopher C. S. Lewis discussed argued that "God willed the free will of men and angels in spite of His knowledge that it could lead in some cases to sin and thence to suffering: i.e., He thought freedom worth creating even at that price."[relevant? ]

In some religious contexts, procedures that are commonly perceived as randomizers are used for divination. Cleromancy uses the casting of bones or dice to reveal what is seen as the will of the gods.

Followers of Discordianism, who venerate Eris the Greco-Roman goddess of chaos, have a strong belief in randomness and unpredictability.[clarification needed]

Applications and use of randomness

In most of its mathematical, political, social and religious use, randomness is used for its innate "fairness" and lack of bias.

Political: Athenian democracy was based on the concept of isonomia (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, such as selecting jurors and military draft lotteries.

Social: Random numbers were first investigated in the context of gambling, and many randomizing devices, such as dice, shuffling playing cards, and roulette 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 Boards. Random drawings are also used to determine lottery winners. Throughout history, randomness has been used for games of chance and to select out individuals for an unwanted task in a fair way (see drawing straws).

Sports: Some sports, including American Football, use coin tosses to randomly select starting conditions for games or seed tied teams for postseason play. The National Basketball Association uses a weighted lottery to order teams in its draft.

Mathematical: Random numbers are also used where their use is mathematically important, such as sampling for opinion polls and for statistical sampling in quality control systems. Computational solutions for some types of problems use random numbers extensively, such as in the Monte Carlo method and in genetic algorithms.

Medicine: Random allocation of a clinical intervention is used to reduce bias in controlled trials (e.g., randomized controlled trials).

Religious: Although not intended to be random, various forms of divination such as cleromancy see what appears to be a random event as a means for a divine being to communicate their will. (See also Free will and Determinism).

Generating randomness

The ball in a roulette can be used as a source of apparent randomness, because its behavior is very sensitive to the initial conditions.

It is generally accepted that there exist three mechanisms responsible for (apparently) random behavior in systems:

  1. Randomness coming from the environment (for example, Brownian motion, but also hardware random number generators)
  2. Randomness coming from the initial conditions. This aspect is studied by chaos theory and is observed in systems whose behavior is very sensitive to small variations in initial conditions (such as pachinko machines and dice).
  3. 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 or cellular automaton) to generate 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 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 generators, generating large amounts of sufficiently random numbers (important in statistics) required a lot of work. Results would sometimes be collected and distributed as random number tables.

Randomness measures and tests

There are many practical measures of randomness for a binary sequence. These include measures based on frequency, discrete transforms, and complexity, or a mixture of these. These include tests by Kak, Phillips, Yuen, Hopkins, Beth and Dai, Mund, and Marsaglia and Zaman.[12]

Misconceptions and logical fallacies

Main article: Gambler's fallacy

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

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 cards 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 number selection schemes. Truly random processes such as these do not have memory, making it impossible for past outcomes to affect future outcomes.

A number is "cursed" or "blessed"

See also: Benford's law

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 is biased, for example with a loaded die. If the die is fair, then previous rolls give no indication of future events.

In nature, events rarely occur with perfectly equal frequency, so observing outcomes to determine which events are more probable makes sense. It is fallacious to apply this logic to systems designed to make all outcomes equally likely, such as shuffled cards, dice, and roulette wheels.

Odds are never dynamic

In the beginning of a scenario, one might calculate the odds of a certain event. The fact is, as soon as one gains more information about that situation, they may need to re-calculate the odds.

When the host reveals that one door only contained a goat, this is new information.

If we are told that a woman has two children, and one of them is a girl, what are the odds that the other child is also a girl? Considering this new child independently, one might expect the odds that the other child is female are 1/2 (50%). By using mathematician Gerolamo Cardano's method of building a Probability space (illustrating all possible outcomes), we see that the odds are actually only 1/3 (33%). This is because, for starters, the possibility space illustrates 4 ways of having these two children: boy-boy, girl-boy, boy-girl, and girl-girl. But we were given more information. Once we are told that one of the children is a female, we use this new information to eliminate the boy-boy scenario. Thus the probability space reveals that there are still 3 ways to have two children where one is a female: boy-girl, girl-boy, girl-girl. Only 1/3 of these scenarios would have the other child also be a girl.[13] Using a probability space, we are less likely to miss one of the possible scenarios, or to neglect the importance of new information. For further information, see Boy or girl paradox.

This technique provides insights in other situations such as the Monty Hall problem, a game show scenario in which a car is hidden behind one of three doors, and two goats are hidden as booby prizes 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 host then asks the player whether they would like to keep the decision they made, or switch and select the other door. Intuitively, one might think the contestant is simply choosing between two doors with equal probability, and the opportunity provided by the host makes no difference. Probability spaces reveal that the contestant has received new information, and can increase their chances of winning by changing to the other door.[13]

See also

Books

References

  1. ^ The Oxford English Dictionary defines "random" as "Having no definite aim or purpose; not sent or guided in a particular direction; made, done, occurring, etc., without method or conscious choice; haphazard."
  2. ^ Third Workshop on Monte Carlo Methods, Jun Liu, Professor of Statistics, Harvard University
  3. ^ Handbook to life in ancient Rome by Lesley Adkins 1998 ISBN 0-19-512332-8 page 279
  4. ^ Religions of the ancient world by Sarah Iles Johnston 2004 ISBN 0-674-01517-7 page 370
  5. ^ Annotated readings in the history of statistics by Herbert Aron David, 2001 ISBN 0-387-98844-0 page 115. Note that the 1866 edition of Venn's book (on Google books) does not include this chapter.
  6. ^ Nature.com in Bell's aspect experiment: Nature
  7. ^ "Each nucleus decays spontaneously, at random, in accordance with the blind workings of chance." Q for Quantum, John Gribbin
  8. ^ Breathnach, A. S. (1982). "A long-term hypopigmentary effect of thorium-X on freckled skin". British Journal of Dermatology 106 (1): 19–25. doi:10.1111/j.1365-2133.1982.tb00897.x. PMID 7059501. "The distribution of freckles seems entirely random, and not associated with any other obviously punctuate anatomical or physiological feature of skin." 
  9. ^ "Are the digits of pi random? researcher may hold the key". Lbl.gov. 2001-07-23. Retrieved 2012-07-27. 
  10. ^ Laszso Barabasi, (2003), Linked, Rich Gets Richer, P81
  11. ^ Municipal Elections Act (Ontario, Canada) 1996, c. 32, Sched., s. 62 (3) : "If the recount indicates that two or more candidates who cannot both or all be declared elected to an office have received the same number of votes, the clerk shall choose the successful candidate or candidates by lot."
  12. ^ Terry Ritter, Randomness tests: a literature survey. ciphersbyritter.com
  13. ^ a b Johnson, George (8 June 2008). "Playing the Odds". The New York Times. 

External links