Lottomatikailottomatikai
Hidden Secrets: How Information Changes Our Chances in Gambling

Statistics & Probability

Hidden Secrets: How Information Changes Our Chances in Gambling

The world of gambling is often perceived as a realm of pure luck, where chance dictates everything. But beneath the surface, fascinating mathematical concepts hide, which can help us better understand how luck works, and above all, how the information we have can modify our expectations. Today we will explore two powerful ideas: conditional probability and Bayes' theorem, concepts that show us how the occurrence of one event can alter the probability of another event occurring.

🎲 When Information Makes a Difference: Conditional Probability

Illustrazione editoriale cinematografica su probabilità e statistica, luce gold su fondo scuro

Imagine rolling a six-sided die. The probability of rolling a "6" is 1 out of 6, right? But what happens if someone tells you: "An even number came up"? Suddenly, the situation changes. You are no longer interested in all six possible outcomes (1, 2, 3, 4, 5, 6), but only in the even ones (2, 4, 6).

In this new scenario, only 3 outcomes are possible, and one of them is "6". The probability of having rolled a "6", knowing that an even number came up, becomes 1 out of 3. This is conditional probability: the probability that an event occurs, given that another event has already occurred.

In simpler terms, it's like saying: "What is the probability of A, knowing that B has already happened?". It is denoted as: P(A∣B)P(A|B). In the die example, P(rolls 6 ∣ rolls even)P(\text{rolls 6 } | \text{ rolls even}) is 1/3.

🧠 Updating Beliefs: Bayes' Theorem

Scena 3D cinematografica che illustra il caso e la distribuzione, toni oro su near-black

Conditional probability is the basis for an even deeper and more intuitive concept: Bayes' theorem. This theorem is like a machine that allows us to update our initial "beliefs" or probabilities as we gain new information.

Think about how our minds work. If we are in a casino and a croupier says that "today red has come up many, many times", our perception of the probability that red will come up again might change, even if it shouldn't (but we'll talk about that another time!). Bayes' theorem offers us a mathematical and correct way to make this update.

Let's imagine a simple game: there are two urns.

  • Urn 1: contains 90 red balls and 10 black balls.
  • Urn 2: contains 10 red balls and 90 black balls.

Without knowing which urn we are choosing, the initial probability of drawing a red ball is 50% (we select an urn at random and then draw). But if we pull out a ball and it is red, our probability of having chosen Urn 1 (the one with many more red balls) should go up, right? Bayes' theorem tells us exactly by how much.

Bayes' theorem formula is as follows:

P(A∣B)=P(B∣A)⋅P(A)P(B)P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B)}

Where:

  • P(A∣B)P(A|B) is the posterior probability: the probability of A given that B has occurred. This is what we want to find out, which is our updated probability.
  • P(B∣A)P(B|A) is the likelihood: the probability of B given that A has occurred. How probable was it that we would see the evidence (B) if our hypothesis (A) were true?
  • P(A)P(A) is the prior probability: the initial probability of A, before having new information.
  • P(B)P(B) is the evidence probability: the probability that B occurs, in general.

Returning to our urn example:

  • A = "We chose Urn 1"
  • B = "We drew a red ball"

Initially, P(A)P(A) (probability of having chosen Urn 1) is 0.5 (50%), given that there are two urns and the choice is random.

  • P(B∣A)P(B|A): If we chose Urn 1, the probability of drawing a red ball is 90/100=0.990/100 = 0.9.
  • P(B)P(B): This is the overall probability of drawing a red ball. We select Urn 1 (with probability 0.5) and draw red (0.9), OR we select Urn 2 (with probability 0.5) and draw red (10/100=0.110/100 = 0.1). So, P(B)=(0.5⋅0.9)+(0.5⋅0.1)=0.45+0.05=0.5P(B) = (0.5 \cdot 0.9) + (0.5 \cdot 0.1) = 0.45 + 0.05 = 0.5.

Now we apply Bayes:

P(Urn 1 ∣ Red)=P(Red ∣ Urn 1)⋅P(Urn 1)P(Red)=0.9⋅0.50.5=0.9P(\text{Urn 1 } | \text{ Red}) = \frac{P(\text{Red } | \text{ Urn 1}) \cdot P(\text{Urn 1})}{P(\text{Red})} = \frac{0.9 \cdot 0.5}{0.5} = 0.9

This means that, after drawing a red ball, the probability that we had chosen Urn 1 has increased from 50% to 90%! Bayes' theorem allowed us to rationally update our belief.

⚠ What to Remember: The Importance of Information

Bayes' theorem and conditional probability are powerful tools for anyone who wants to better understand the world, including gambling. They teach us that:

  • Information is precious: Every new piece of information can (and often should) modify our probability estimates.
  • Bayesian logic is at the heart of many artificial intelligence systems and even our way of learning.
  • Do not confuse prior probability with posterior probability: they are two different things, and the latter is our goal after acquiring new evidence.

In gambling, where events are often random and independent, the direct application of Bayes to "predict" future outcomes is limited, especially in games where each draw or spin is a new event disconnected from the previous one (like roulette or lotteries). However, Bayesian logic is fundamental to understanding how real information (such as identifying a defect in a die or an unbalanced roulette wheel, which fortunately we don't find in regulated games) can potentially alter probabilities.

Draws are independent random events. Historical statistical analysis does not influence future results. Gambling can cause pathological addiction. Play responsibly. Gambling is prohibited for minors under 18 years of age. Source: adm.gov.it.

Le performance passate non garantiscono risultati futuri · EV negativo per definizione · 18+ · adm.gov.it

Responsible gaming — ADM: Gambling is prohibited for minors under 18. Gambling can cause pathological addiction. The data and statistics shown are for informational purposes only and do not constitute predictions, guarantees of winning or an inducement to gamble. National toll-free gambling helpline (ISS) 800 558 822. adm.gov.it

Hidden Secrets: How Information Changes Our Chances in Gambling