Skip to content
BIASED

Outcomes, events and counting

Block 1 of 8~2 min

What can happen

The topic What probability is counted outcomes informally: three even faces out of six, nine sick patients among 98 positive tests. It promised to make that counting precise. First we need an exact answer to a simpler question: what exactly receives a probability?

Start with an experiment: anything whose result we cannot predict in advance. Rolling two dice, shuffling a training set, testing a classifier. An outcome ω\omega is one complete result of the experiment, recorded in full. The sample space Ω\Omega is the set of all outcomes.

For two dice, an outcome is an ordered pair: what the first die shows and what the second shows. So

Ω={(1,1),(1,2),…,(6,6)},∣Ω∣=36,\Omega = \{(1,1), (1,2), \dots, (6,6)\}, \qquad |\Omega| = 36,

where ∣⋅∣|\cdot| counts the elements of a set.

An event is a set of outcomes, A⊆ΩA \subseteq \Omega. The event "the sum is 7" is

A={(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}.A = \{(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)\}.

The experiment produces one outcome ω\omega. The event AA occurs if ω∈A\omega \in A.

The same language fits machine learning. Run a classifier on three test examples and write 11 for an error and 00 for a correct answer. An outcome is the error pattern, a string like 010010, and Ω\Omega holds the 88 strings from 000000 to 111111. "Exactly one error" is the event {100,010,001}\{100, 010, 001\}. Any statement you can check from the outcome alone defines an event.

Answers are saved on the server and tied to this browser until you sign in.