(Roughly) Daily

Posts Tagged ‘Peter Bernstein

“Chance, too, which seems to rush along with slack reins, is bridled and governed by law”*…

And the history of our understanding of those laws is, as Tom Chivers explains (in an excerpt from his book, Everything is Predictable), both fascinating and illuminating…

Traditionally, the story of the study of probability begins in French gambling houses in the mid-seventeenth century. But we can start it earlier than that.

The Italian polymath Gerolamo Cardano had attempted to quantify the maths of dice gambling in the sixteenth century. What, for instance, would the odds be of rolling a six on four rolls of a die, or a double six on twenty-four rolls of a pair of dice?

His working went like this. The probability of rolling a six is one in six, or 1/6, or about 17 percent. Normally, in probability, we don’t give a figure as a percentage, but as a number between zero and one, which we call p. So the probability of rolling a six is p = 0.17. (Actually, 0.1666666… but I’m rounding it off.)

Cardano, reasonably enough, assumed that if you roll the die four times, your probability is four times as high: 4/6, or about 0.67. But if you stop and think about it for a moment, that can’t be right, because it would imply that if you rolled the die six times, your chance of getting a six would be one-sixth times six, or one: that is, certainty. But obviously it’s possible to roll six times and have none of the dice come up six.

What threw Cardano is that the average number of sixes you’ll see on four dice is 0.67. But sometimes you’ll see three, sometimes you’ll see none. The odds of seeing a six (or, separately, at least one six) are different.

In the case of the one die rolled four times, you’d get it badly wrong—the real answer is about 0.52, not 0.67—but you’d still be right to bet, at even odds, on a six coming up. If you used Cardano’s reasoning for the second question, though, about how often you’d see a double six on twenty-four rolls, it would lead you seriously astray in a gambling house. His math would suggest that, since a double six comes up one time in thirty-six (p ≈ 0.03), then rolling the dice twenty-four times would give you twenty-four times that probability, twenty-four in thirty-six or two-thirds (p ≈ 0.67, again).

This time, though, his reasonable but misguided thinking would put you on the wrong side of the bet. The probability of seeing a double six in twenty-four rolls is 0.49, slightly less than half. You’d lose money betting on it. What’s gone wrong?

A century or so later, in 1654, Antoine Gombaud, a gambler and amateur philosopher who called himself the Chevalier de Méré, was interested in the same questions, for obvious professional reasons. He had noticed exactly what we’ve just said: that betting that you’ll see at least one six in four rolls of a die will make you money, whereas betting that you’ll see at least one double six in twenty-four rolls of two dice will not. Gombaud, through simple empirical observation, had got to a much more realistic position than Cardano. But he was confused. Why were the two outcomes different? After all, six is to four as thirty-six is to twenty-four. He recruited a friend, the mathematician Pierre de Carcavi, but together they were unable to work it out. So they asked a mutual friend, the great mathematician Blaise Pascal.

The solution to this problem isn’t actually that complicated. Cardano had got it exactly backward: the idea is not to look at the chances that something would happen by the number of goes you take, but to look at the chances it wouldn’t happen…

… Pascal came up with a cheat. He wasn’t the first to use what we now call Pascal’s triangle—it was known in ancient China, where it is named after the mathematician Yang Hui, and in second-century India. But Pascal was the first to use it in problems of probability.

It starts with 1 at the top, and fills out each layer below with a simple rule: on every row, add the number above and to the left to the number above and to the right. If there is no number in one of those places, treat it as zero…

… Now, if you want to know what the possibility is of seeing exactly Y outcomes, say heads, on those seven flips:

It’s possible that you’ll see no heads at all. But it requires every single coin coming up tails. Of all the possible combinations of heads and tails that could come up, only one—tails on every single coin—gives you seven heads and zero tails.

There are seven combinations that give you one head and six tails. Of the seven coins, one needs to come up heads, but it doesn’t matter which one. There are twenty-one ways of getting two heads. (I won’t enumerate them all here; I’m afraid you’re going to have to trust me, or check.) And thirty-five of getting three.

You see the pattern? 1 7 21 35—it’s row seven of the triangle…

Pascal’s triangle is only one way of working out the probability of seeing some number of outcomes, although it’s a very neat way. In situations where there are two possible outcomes, like flipping a coin, it’s called a “binomial distribution.”

But the point is that when you’re trying to work out how likely something is, what we need to talk about is the number of outcomes— the number of outcomes that result in whatever it is you’re talking about, and the total number of possible outcomes. This was, I think it’s fair to say, the first real formalization of the idea of “probability.”..

On the historical origins of the science of probability and statistics: “Rolling the Dice: What Gambling Can Teach Us About Probability,” from @TomChivers in @lithub.

See also: Against the Gods, by Peter Bernstein.

And for a look at how related concepts shape thinking among quantum physicists, see “The S-Matrix Is the Oracle Physicists Turn to in Times of Crisis.”

* Boethius, The Consolation of Philosophy

###

As we roll the bones, we might send carefully-calculated birthday greetings to a central player in this saga, Abraham de Moivre; he was born on this date in 1667. A mathematician, he’s known for de Moivre’s formula, which links complex numbers and trigonometry, and (more relevantly to the piece above) for his work on the normal distribution and probability theory. de Moivre was the first to postulate the central limit theorem (TLDR: the probability distribution of averages of outcomes of independent observations will closely approximate a normal distribution)– a cornerstone of probability theory. And in his time, his book on probability, The Doctrine of Chances, was prized by gamblers.

source

“The urge to gamble is so universal and its practice so pleasurable that I assume it must be evil”*…

Gambling has existed since antiquity, but in the past 30 years it’s grown at a spectacular rate, turbocharged by the internet and globalisation. Problem gambling has grown accordingly, and become particularly prevalent in the teenage population. Even more troublingly, a study in 2013 reported that slightly over 90 per cent of problem gamblers don’t seek professional help. Gambling addiction is part of a suite of damaging and unhealthy behaviours that people do despite warnings, such as smoking, drinking or compulsive video gaming. It draws on a multitude of cognitive, social and psychobiological factors.

Psychological and medical studies have found that some people are more likely to develop a gambling disorder than others, depending on their social condition, age, education and experiences such as trauma, domestic violence and drug abuse. Problem gambling also involves complex brain chemistry, as gambling stimulates the release of multiple neurotransmitters including serotonin and dopamine, which in turn create feelings of pleasure and the attendant urge to maintain them. Serotonin is known as the happiness hormone, and typically follows a sense of release from stress or fear. Dopamine is associated with intense pleasure, released when we’re engaged in activities that deserve a reward, and precisely when that reward occurs – seeing the ball landing on the number we’ve bet on, or hearing the sound of the slot machine showing a winning payline.

For the most part, gambling addiction is viewed as a medical and psychological problem, though this hasn’t resulted in widely effective prevention and treatment programmes. That might be because the research has often focused on the origins and prevalence of addiction, and less on the cognitive premises and mechanisms that actually take place in the brain. It’s a controversial area, but this arguable lack of clinical effectiveness doesn’t appear to be specific to gambling; it applies to other addictions as well, and might even extend to some superstitions and irrational beliefs.

Can a proper presentation of the mathematical facts help gambling addiction? While most casino moguls simply trust the mathematics – the probability theory and applied statistics behind the games – gamblers exhibit a strange array of positions relative to the role of maths. While no study has offered an exhaustive taxonomy, what we know for sure is that some simply don’t care about it; others care about it, trust it, and try to use it in their favour by developing ‘winning strategies’; while others care about it and interpret it in making their gambling predictions.

Certain problem gambling programmes frame the distortions associated with gambling as an effect of a poor mathematical knowledge. Some clinicians argue that reducing gambling to mere mathematical models and bare numbers – without sparkling instances of success and the ‘adventurous’ atmosphere of a casino – can lead to a loss of interest in the games, a strategy known as ‘reduction’ or ‘deconstruction’. The warning messages involve statements along the lines of: ‘Be aware! There is a big problem with those irrational beliefs. Don’t think like that!’ But whether this kind of messaging really works is an open question. Beginning a couple of decades ago, several studies were conducted to test the hypothesis that teaching basic statistics and applied probability theory to problem gamblers would change their behaviour. Overall, these studies have yielded contradictory, non-conclusive results, and some found that mathematical education yielded no change in behaviour. So what’s missing?…

Catalin Barboianu, a gaming mathematician, philosopher of science, and problem-gambling researcher, asks if philosophers and mathematicians struggle with probability, can gamblers really hope to grasp their losing game? “Mathematics for Gamblers.”

For a deeper dive, see Alec Wilkinson’s fascinating New Yorker piece, “What Would Jesus Bet? A math whiz hones the optimal poker strategy.”

For cultural context (and an appreciation of the broader importance of the issue), see “How Gambling Mathematics Took Over The World.”

And for historical context, see (one of your correspondent’s all-time favorite books) Peter Bernstein’s Against the Gods: The Remarkable Story of Risk.

[image above: source]

* Heywood Hale Broun

###

As we roll the dice, we might spare a thought for Srinivasa Ramanujan; he died on this date in 1920. A largely self-taught mathematician from Madras, he initially developed his own mathematical research in isolation: according to Hans Eysenck: “He tried to interest the leading professional mathematicians in his work, but failed for the most part. What he had to show them was too novel, too unfamiliar, and additionally presented in unusual ways; they could not be bothered.” Seeking mathematicians who could better understand his work, in 1913 he began a postal partnership with the English mathematician G. H. Hardy at the University of Cambridge, England. Recognizing Ramanujan’s work as extraordinary, Hardy arranged for him to travel to Cambridge. In his notes, Hardy commented that Ramanujan had produced groundbreaking new theorems, including some that “defeated me completely; I had never seen anything in the least like them before.”

Ramanujan made substantial contributions to mathematical analysisnumber theoryinfinite series, and continued fractions, including solutions to mathematical problems then considered unsolvable. During his short life, he independently compiled nearly 3,900 results (mostly identities and equations).  Many were completely novel; his original and highly unconventional results, such as the Ramanujan prime, the Ramanujan theta functionpartition formulae, and mock theta functions, have opened entire new areas of work and inspired a vast amount of further research.  Nearly all his claims have now been proven correct.

See also: “Do not worry about your difficulties in Mathematics. I can assure you mine are still greater,” and enjoy the 2015 film on Ramanujan, “The Man Who Knew Infinity.”

source