Skip to content
BIASED

Discrete distributions

Block 1 of 7~2 min

Numbers on outcomes

The topic Conditional probability and Bayes' formula worked with events: yes/no statements such as "the person is sick" or "the test is positive". We can now update their probabilities on new evidence. But the questions kept turning into numbers. How many of three test runs come back positive? How many suspicious words does a letter contain? What do two dice add up to? How many rolls until the first six?

A random variable attaches a number to every outcome. Formally it is a function

X:Ω→R.X : \Omega \to \mathbb R .

Roll two dice. The sample space Ω\Omega has 36 equally likely outcomes (a,b)(a, b), and the sum S(a,b)=a+bS(a, b) = a + b is a random variable. It sends (3,5)(3, 5) to 88, and so do four other outcomes. Statements about SS are events, that is, sets of outcomes:

{S=8}={(2,6),(3,5),(4,4),(5,3),(6,2)},P(S=8)=536.\{S = 8\} = \{(2,6), (3,5), (4,4), (5,3), (6,2)\}, \qquad P(S = 8) = \frac{5}{36}.

Nothing new is needed to compute such probabilities. Collect the outcomes where the variable takes the value, and use the rules from the earlier topics. Upper case XX is the variable; lower case xx is a value it can take.

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