A Random Variable as a Function of Outcomes
A random variable assigns a number to each underlying outcome. Different outcomes can map to one result.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Group the tosses
Two fair independent tosses give HH, HT, TH, and TT. Mapping the outcome to the count of heads assigns 2, 1, 1, and 0 respectively. The resulting probabilities are one quarter, one half, and one quarter. Discrete mappings describe that assignment.
Choose another measurement
Mapping the same outcomes to whether the first toss was heads gives values zero and one with equal probability. See equally likely outcomes for why the raw sequences can be counted before mapping.[1]
Group elementary outcomes that produce the same value
Toss two fair independent coins and let \(X\) count heads. The outcomes HT and TH are distinct elementary outcomes with the same value one. The count distribution therefore puts twice as much probability at one as at zero. See equally likely outcomes.
HH → 2
HT → 1
TH → 1
TT → 0
P(X=0,1,2) by value: 1/4, 1/2, 1/4
Keep the underlying outcome available for other questions
The variable \(X\) cannot tell you whether the first toss was heads when the count is one. Another random variable can record that fact on the same sample space. Two variables defined on one space can be dependent even if they have the same marginal distribution.