liveBook · Manning

Empirical probability

As explained in Statistics Every Programmer Needs

Empirical probability is probability estimated from the relative frequency of an event in observed trials or real-world data.

Empirical probability estimates an event’s likelihood from observed trials or real-world data. Calculate it as observed successes divided by total observations. section 2.1.1 section 2.5

Use empirical probability to:

  • Estimate an event rate from recorded observations rather than mathematical assumptions. section 2.1.1
  • Distinguish observed probability from theoretical probability and subjective probability. section 2.1.1
  • Apply observed probabilities alongside counting and distribution concepts in real-world problems. section 2.4.3 section 3.2

Rainfall in Cincinnati

Suppose rainfall records cover 365 days and show rain on 75 days. The empirical probability of rain on a given day is 75 divided by 365, based on the observed frequency. section 2.1.1

Empirical probabilities can also support cumulative distributions, where successive observed or computed probabilities are added until the cumulative value reaches 1. section 2.4.3

How Statistics Every Programmer Needs covers it

How deep it goes
Defines the observed-frequency formula and works through rainfall, but does not develop statistical validation or sampling limitations.
Examples
Uses multi-year Cincinnati rainfall records, a 365-day denominator, and 75 observed rainy days.
What it assumes
Assumes an identifiable event, observed trials, and a count of successes and total observations.
What you can do after
Evaluate observed event likelihoods by dividing observed successes by the number of observations.
How it connects
Connects empirical probability with theoretical probability, subjective probability, cumulative distribution functions, and probability distributions.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Every Programmer Needs. The section links point to the parts of the book it draws on.