Numbers at random: number theory supplies a superior random-number generator.Random numbers are a precious commodity. They're widely used but difficult to conjure up or make visible, as a spirit, by magic arts; hence, to invent; as, to conjure up a story; to conjure up alarms s>. See also: Conjure . Scientists, engineers and statisticians Statisticians or people who made notable contributions to the theories of statistics, or related aspects of probability, or machine learning: A to E
Such computer simulations consume vast quantities of random numbers. As scientists turn to increasingly speedy and powerful computers, they run the risk of using up all the random numbers that a computer's standard set of instructions for generating random numbers can typically produce without starting to repeat the list. At the same time, because no deterministic 1. (probability) deterministic - Describes a system whose time evolution can be predicted exactly. Contrast probabilistic. 2. (algorithm) deterministic - Describes an algorithm in which the correct next step depends only on the current state. , computer-based process can generate a string of truly random numbers, they must watch for subtle deviations from randomness among the generated digits. "We've got a new situation in which conventional random-number generators just won't do," says George Marsaglia George Marsaglia is a mathematician and computer scientist. He is perhaps best known for establishing the lattice structure[1] of congruential random number generators in the paper "Random numbers fall mainly in the planes", often called The Marsaglia effect, , a computer scientist and statistician at Florida State University Florida State University, at Tallahassee; coeducational; chartered 1851, opened 1857. Present name was adopted in 1947. Special research facilities include those in nuclear science and oceanography. in Tallahassee. "Even on a [personal computer], you can run something for a few days and exhaust the generator." To better meet researchers' needs for lengthy strings of random numbers, Marsaglia and Florida State colleague Arif Zaman Dr. Arif Zaman was a member of the Statistics Department at Purdue University and later at Florida State University for 12 years before he joined LUMS in 1994. His current research has been in the field of pseudo-random number generation that is now widely used because of its have developed a new class of computer-based random-number generators that produce "astonishingly a·ston·ish tr.v. as·ton·ished, as·ton·ish·ing, as·ton·ish·es To fill with sudden wonder or amazement. See Synonyms at surprise. long" sequences of random numbers. These random-number generators feature longer "periods" than conventional methods, which means they generate a longer list of random numbers before the list starts repeating itself. Called "add-with-carry" and subtract-with-borrow," the novel methods show great promise, Marsaglia says. Moreover, because these methods are closely tied to a branch of mathematics known as number theory, Marsaglia and Zaman can prove mathematically that their random-number generators have long periods. The traditional procedures for generating a list of random numbers--flipping a coin, rolling dice, shuffling cards, shaking an urn filled with numbered balls -- are too cumbersome for everyday use by researches. Scientists prefer computers for generating vast stocks of random numbers quickly and efficiently. Indeed, nearly all types of computers and many computer programs have a built-in set of instructions for generating random numbers. A computer normally processes numbers as sequences of ones and zeros Ones and Zeros is the second full-length release by Canadian indie rock group Immaculate Machine. It is their first official release through Mint Records. Music videos were released for the songs "Broken Ship" and "So Cynical". , or bits. A random-number generator scrambles the bits of a given number to produce a new number in such a way that the result appears to be independent of previously generated numbers and represents a random selection from the set of all available numbers. The most commonly used bit-scrambling method involves multiplication multiplication, fundamental operation in arithmetic and algebra. Multiplication by a whole number can be interpreted as successive addition. For example, a number N multiplied by 3 is N + N + N. . A starting number of, say, 10 digits is multiplied by a given, specific number, or constant, and then the last 10 digits of the product are taken as the new random number. That number, multiplied by the constant, generates the next random number. That number, multiplied by the for "congruential" random-number generators. Such methods usually produce numbers that pass simple tests of randomness and mimic well the expected behavior of true random sequences. For example, on the average, a high number is followed by a lower one as often as a low number follows a higher one. "With a proper choice of multiplier multiplier In economics, a numerical coefficient showing the effect of a change in one economic variable on another. One macroeconomic multiplier, the autonomous expenditures multiplier, relates the impact of a change in total national investment on the nation's total . . ., such a generator produces a sequence of numbers that are difficult to distinguish from truly random numbers," Marsaglia says. "A good congruential generator could be used to run the casinos in Las Vegas Las Vegas (läs vā`gəs), city (1990 pop. 258,295), seat of Clark co., S Nev.; inc. 1911. It is the largest city in Nevada and the center of one of the fastest-growing urban areas in the United States. and Atlantic City Atlantic City, city (1990 pop. 37,986), Atlantic co., SE N.J., an Atlantic resort and convention center; settled c.1790, inc. 1854. Situated on Absecon Island, a barrier island 10 mi (16. and all the state lotteries A game of chance operated by a state government. Generally a lottery offers a person the chance to win a prize in exchange for something of lesser value. Most lotteries offer a large cash prize, and the chance to win the cash prize is typically available for one dollar. with no one the wiser." But the constraints imposed by handling numbers of only a certain length limit these generastors to sequences of a few billion or so random numbers. That's not enough for many applications. "Modern computer speeds and exotic architectures make possible massive Monte Carlo simulations Monte Carlo Simulation A problem solving technique used to approximate the probability of certain outcomes by running multiple trial runs, called simulations, using random variables. for which standard generators may not be suitable," Marsaglia says. Monte Carlo simulations use random numbers to replicate a system's behavior, whether the motion of a molecule or fluctuations in the stock market. Furthermore, if too many random numbers come from a relatively small pool, the selected numbers as a group may no longer pass some of the more stringent tests of randomness. "People have run into such problems already," says Andrew M. Odlyzko, a mathematician at AT&T Bell Laboratories in Murray Hill Murray Hill may refer to one of the following places:
Marsaglia and Zaman's new class of random-number generators hinges on the use of what are called Fibonacci sequences (mathematics) Fibonacci sequence - The infinite sequence of numbers beginning 1, 1, 2, 3, 5, 8, 13, ... in which each term is the sum of the two terms preceding it. The ratio of successive Fibonacci terms tends to the golden ratio, namely (1 + sqrt 5)/2. . The classic example of a Fibonacci sequence consists of the numbers 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, and so on. Except for the first two, each number in this sequence equals the sum of the previous two numbers. For example, 89 = 34 + 55. The next number in the sequence would be 55 + 89, or 144. Taking only the last digit of each number in the sequence produces the "random" number 0, 1, 1, 2, 3, 5, 8, 3, 1, 4, 5, 9, 4,. . . When applied to seeds, or starting numbers, about 1,800 bits long, such a procedure forms the basis of "lagged-Fibonacci" random-number generators. To extend this generator's period, Marsaglia and Zaman make a simple but crucial modification. They introduce a "carry bit," which may have an initial value of either 0 or 1. Such an "add-with-carry" generator then has some of the features associated with "long addition," an operation familar to students who learned their arithmetic in the days before calculators. For example, suppose the two initial values are 0 and 1, and the initial carry bit is 0. Each new digit in the sequence equals the sum of the previous two digits plus the carry bit. If the result is larger than 10, only the last digit is saved, and the carry bit used in computing the next digit in the sequence becomes 1 (see table). This procedure generates the "random" sequence 0, 1, 1, 2, 3, 5, 8, 3, 2, 6, 8,. . . . By selecting appropriate starting values and slightly altering the arithmetic, computer programmers can create a whole class of "add-with-carry" generators with periods considerably longer than those of generators now in use. A similar approach underlies the "subtract-with-borrow" generators. "In a way, you can view this type of generator as a randomness amplifier," Marsaglia says. "You start with random seeds thousands of bits long and generate these long strings of random numbers." To prove that the new methods have long periods, Marsaglia and Zaman delve into aspects of number theory concerning prime numbers There are infinitely many prime numbers. The first 500 are listed below, followed by lists of the first prime numbers of various types in alphabetical order. The first 500 prime numbers 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 and the mathematical characteristics of fractions expressed as decimals. "This elementary material has been known for hundreds of year," Marsaglia notes, "but it is seldom mentioned in modern books." These number-theoretic proofs, which involve factoring large numbers, show that "subtract-with-borrow" generators have period of [10.sup.250] or more. The simplest congruential random-nbumber generators, which are commonly installed in personal computers, have periods of only a few billion ([10.sup.9]) numbers. "We get tremendously long periods with very simple arithmetic," Marsaglia says. But a long period by itself isn't enough. As sophisticated tests of randomness demonstrate, no string of numbers generated by a simple computer process can be truly random. In fact, nearly every scheme now in use for generating random numbers by computer has some flaw. Often, the flaws are difficult to detect and analysts require sensitive techniques to discern the subtle numerical patterns that may lie hidden in vast arrays of digits. "Many people use random-number generators blindly," Odlyzko says. "But among people who are aware of what happens, thereis a lot of concern about the quality of random-number generators. This is quite an active area of research, and there are concerns that many simulations may not be valid because people have been using [random-number generators] incorrectly." "For any generator, there are situations for which it gives bad results," Marsaglia says. "What we want is enough experience so that we can provide guidelines about when not to use a particular random-number generator." The new Marsaglia-Zaman random-number generators, described earlier this year in ANNALS an·nals pl.n. 1. A chronological record of the events of successive years. 2. A descriptive account or record; a history: "the short and simple annals of the poor" OF APPLIED PROBABILITY Much research involving probability is done under the auspices of applied probability, the application of probability theory to other scientific and engineering domains. However, while such research is motivated (to some degree) by applied problems, it is usually the mathematical (Vol.1, No.3), have already attracted the attention of scientists interested in high-quality, long-period sources of random numbers. These generators have passed a variety of the most stringent tests of randomness available. They are also remarkably efficient, and they don't take up inordinate amounts of a computer's memory. "We've written a program for the subtract-with-borrow generator for personal computers, and we've had hundreds of requests for copies," Marsaglia says. "Physicists seem to be among the biggest users." |
|
||||||||||||||||

Printer friendly
Cite/link
Email
Feedback
Reader Opinion