Introduction

Previously, we learned to calculate relative frequency — the proportion of trials in which an event occurred — and use it as a practical estimate of probability. Now we turn to the natural follow-up question: how much should we actually trust that estimate?

As it turns out, the answer depends heavily on one thing: the number of trials. In this lesson, we will see why an estimate based on a small number of trials can be surprisingly unreliable, and what that means for how we interpret data.

Relative Frequency and the Question of Trust
The Same Experiment, Different Results
Why Each Trial Carries So Much Weight
Small Samples and Unreliable Conclusions
Conclusion and Next Steps

In this lesson, we saw that relative frequency can vary substantially from one small data set to another, making it an unreliable estimate of the true probability when the number of trials is low. The root cause is mathematical: with few trials, each individual observation carries a large share of the total, leaving the estimate exposed to the random ups and downs of chance.

The practice exercises ahead will let you explore this firsthand. You will compute relative frequencies from small data sets, compare results across different samples, and practice explaining why those results differ. Keep the key idea close as you work: a small sample is not wrong — it is simply not enough, and recognizing that distinction is an important step in thinking clearly about probability.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal