KERRY TECH
← Back
MATHEMATICAL BEAUTY

Probability

The mathematics of uncertainty - from a simple coin toss to random sampling, expected value and the foundations of statistical modelling.

01 - THE IDEA

What is probability?

Probability gives us a mathematical way of describing how likely an event is to occur. It ranges from 0, meaning impossible, to 1, meaning certain.

P(A) = favourable outcomes ÷ total possible outcomes

For a fair six-sided die, each number has an equal probability of appearing.

P(rolling a 6) = 1 ÷ 6 ≈ 16.67%

Probability becomes especially interesting when we repeat an experiment many times. Individual outcomes may look unpredictable, but patterns begin to emerge across large numbers of observations.

02 - FLIPPING A COIN

Probability in action

A fair coin has two equally likely outcomes: heads or tails. The theoretical probability of heads is therefore 50%.

Interactive Coin Experiment
?
Press the buttons to flip the coin.
Heads
0
Tails
0
Heads Probability
0%
03 - THE LAW OF LARGE NUMBERS

Order emerges from randomness

If we repeatedly flip a fair coin, the proportion of heads tends to move towards 50%.

The individual flips remain random. What changes is our confidence in the long-run proportion.

Experimental Probability
1,000 flips
As n → ∞, experimental probability → theoretical probability
04 - EXPECTED VALUE

The average outcome we expect

Expected value is one of the most useful ideas in probability. It represents the long-run average outcome of a random process.

E(X) = Σ x × P(x)

Consider a fair six-sided die. Each outcome has probability 1/6, so the expected value is:

E(X) = (1 × 1/6) + (2 × 1/6) + (3 × 1/6) + (4 × 1/6) + (5 × 1/6) + (6 × 1/6) = 3.5
Roll the Dice
Experimental Mean
0.000
Theoretical Mean
3.500
Difference
0.000
05 - RANDOM SAMPLING

From probability to statistics

Suppose we have a population of thousands of observations. Instead of analysing every observation, we can take a random sample.

The sample will not perfectly reproduce the population, but probability tells us something about how reliable that sample is likely to be.

Population

The complete set of observations we are interested in. For example, every transaction, borrower or investment return in a dataset.

Sample

A subset selected from the population. Repeated random samples allow us to understand the distribution of possible outcomes.

Sample → Estimate → Uncertainty
06 - THE MATHEMATICAL CONNECTION

Probability becomes modelling

Probability is the foundation beneath much of modern statistics and quantitative modelling.

Normal Distribution

Many naturally occurring measurements can be modelled using the bell-shaped normal distribution.

μ ± σ

Standard Deviation

Standard deviation measures how widely observations are distributed around their mean.

z = (x − μ) ÷ σ

Monte Carlo Simulation

Once we can generate random observations from a probability distribution, we can simulate thousands or millions of possible futures.

This is the basic idea behind Monte Carlo simulation. Instead of asking:

"What will happen?"

we ask:

"What could happen, and how often?"

That simple shift in perspective connects probability to finance, risk management, forecasting, portfolio modelling and many of the quantitative tools used elsewhere on KerryTech.

07 - WHY PROBABILITY MATTERS

Uncertainty can be measured

Probability does not allow us to predict every individual event. A fair coin can still produce ten heads in a row.

Its power comes from describing the structure of uncertainty across many possible outcomes.

A single event can be unpredictable. A large collection of random events can be remarkably predictable.

That idea sits at the heart of statistics, financial modelling, insurance, economics, science and machine learning.

Randomness + Repetition + Mathematics = Insight