BBC Data Science
Published in

BBC Data Science

image source

Efficient Learning — the BBC’s Bayesian quiz engine


Suppose you flip a coin 3 times and get heads each time. Is the coin biased?

For most people the answer will be no, but why?

image source

Binomial Distribution

The binomial distribution is a discrete probability distribution. It is used in situations where you have a repeatable experiment that has 2 outcomes: success or failure. If we know the probability of success is then the binomial distribution can tell us how likely we are to observe successes out of trials

The binomial distribution. The first term after the equals sign is called the binomial coefficient.

Beta Distributions

Beta distributions are continuous probability distributions and be thought of as the opposite of a binomial distribution. If we observe successes in trials, the beta distribution can tell us how likely different values of the success probability are.

The pdf of the beta distribution. B(α, β) is called the beta function and is simply a normalising factor to ensure the total probability is 1.
The probability density function of the success probability, p, for different values of the parameters α and β. image source

Conjugate Priors

image source

If we use a beta distribution for our then our is also a beta distribution — this is what is meant by a

Informed Priors

Distribution of student scores at end of the quiz
Distribution of scores (blue bars) against a beta distribution with parameters α = 4.71 and β = 2.75 (orange line).

Personalised Priors






Learn more about how the BBC collects, interprets, visualises and democratises data to achieve our goal of putting the audience at the heart of everything we do.

Recommended from Medium

What are the Most Useful (and Useless) Topics in High School Math?

Math News Pilot

Mathematical Genius: Youth vs Experience

The maths of COVID-19, Part 1. Real World is not normal

inverse proportion

Linear Algebra Refresher

The Improbable Answer

IMO 2021 — Results and Analysis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matt Crooks

Matt Crooks

Senior Data Scientist at the TypeForm

More from Medium

A Brief Overview of Methods to Explain AI (XAI)

Ensuring Fairness in Machine Learning to Advance Health Equity

Avoiding Data Leakage in ML

Determine the origin of wines through the machine learning algorithm