Unit 10
Probability and statistics
Randomness made exact, and how to learn from data.
The story
Chapters
The theorem chain
Every theorem in the unit, in the order it is proved. Each one is used by the ones after it. The label says whether it is on the 375/376 exams (T), an Apostol extra (A), or beyond both (B).
10.1 Probability as measure
- Theorem · A Additivity for overlapping sets If is finitely additive on a Boolean algebra, then and for all in the algebra.
- Theorem · A Properties of a finitely additive measure For a finitely additive measure : ; if then and ; and .
- Theorem · B Vitali: no uniform probability on every subset There is no way to assign a probability to every subset of the interval [0, 1) so that probabilities add over countably many disjoint sets, the whole interval has probability 1, and sliding a set around the circle (mod 1) never changes its probability.
- Theorem · A Basic rules of probability From the three axioms: ; probability is finitely additive; ; implies ; every lies in ; and .
- Theorem · A Union bound For any events , (overlaps are counted twice, so the sum can only be too big).
- Theorem · A Continuity of probability If events grow, , then . If events shrink, , then .
- Theorem · A Conditional probability is a probability measure
- Theorem · A Law of total probability
- Theorem · A Bayes' theorem
- Theorem · A Complements of independent events If and are independent, so are and , and , and and .
- Theorem · A Properties of a distribution function is non-decreasing, tends to 0 at minus infinity and to 1 at plus infinity, is continuous from the right, satisfies , and has , the size of its jump at .
- Theorem · A The exponential distribution forgets
- Theorem · B The Gaussian integral , so the standard normal density has total area 1.
- Theorem · A Linearity of expectation For random variables on a countable sample space with finite expectation, and .
- Theorem · A Variance shortcut and scaling and .
- Theorem · A Variance of a sum of independent variables If and are independent discrete random variables with finite variance, then and .
- Theorem · A Markov's inequality
- Theorem · A Chebyshev's inequality
- Theorem · A Weak law of large numbers
Terms this unit defines
Finitely additive set functionBoolean algebra of setsFinitely additive measureSigma-algebraProbability measureConditional probabilityIndependent eventsRandom variableDistribution functionProbability mass functionProbability density functionExpectationVarianceIndependent random variables
Unit review
A mixed set of 10 quick checks drawn at random from the 10 in this unit's chapters. Each one says which chapter it comes from, so a miss tells you what to reread. Press "New set" for another mix.
from 10.1 Probability as measure
Quick checkLet S be the counting numbers and let the family be all finite sets and all sets with a finite complement. Define f(A) = 0 if A is finite and f(A) = 1 if the complement of A is finite. Is f finitely additive?
Two disjoint infinite sets cannot both have a finite complement, so at most one of two disjoint sets has f = 1. If both are finite, so is the union, and 0 = 0 + 0. If one is finite and one has a finite complement, the union has a finite complement and 1 = 0 + 1. Taking the value 1 on infinite sets is allowed.
from 10.1 Probability as measure
Quick checkWhat does the Vitali theorem say about picking a uniform random point of [0, 1)?
A uniform random point does exist (Lebesgue measure on the Borel sets). What fails is the wish to give every subset a probability. Single points have probability 0, not 1/n.
from 10.1 Probability as measure
Your answerIn the factory example, what is the chance a defective part came from machine 3?
The numerator is P(D | B3) P(B3). The denominator is 0.017.
.
from 10.1 Probability as measure
Quick checkA fair coin has landed heads 10 times in a row. What is the chance of heads on the next toss?
Independence means the earlier tosses carry no information about the next one: . If you doubt the coin is fair, that is a different model, in which the coin's bias is itself uncertain.
from 10.1 Probability as measure
Your answerX has density f(x) = (3/8)x² on [0, 2]. What is P(X > 1)?
Integrate the density from 1 to 2, or use 1 − F(1).
on , so . Equivalently .
from 10.1 Probability as measure
Quick checkIs f(x) = 2 for 0 ≤ x ≤ 1/2 (and 0 elsewhere) a valid probability density?
The rectangle has width and height , so its area is . A density is a probability per unit length. It can be large where the mass is concentrated; it is the area, not the height, that must be at most .
from 10.1 Probability as measure
Your answerA waiting time is exponential with rate 2 per minute. What is the chance the wait exceeds 1 minute? (Give e raised to a power, or a decimal.)
Use P(X > x) = e^(−λx).
.
from 10.1 Probability as measure
Your answerFor the standard normal density, the area between −1 and 1 is about 0.6827. Using symmetry, what is the area to the right of 1 (to 3 decimal places)?
Two equal tails share what is left over.
The total area is 1. The area between −1 and 1 is 0.6827. The remaining is split equally between the two tails by symmetry: .
from 10.1 Probability as measure
Your answerX is uniform on [0, 6]. What is Var(X)?
Use (b − a)²/12.
.
from 10.1 Probability as measure
Your answerBy Chebyshev's inequality, how many rolls of a fair die make P(|average − 3.5| ≥ 0.1) at most 0.1?
The variance of the average is (35/12)/n. The bound is variance / c². Then solve bound ≤ 0.1.
and , so the bound is . Setting this at most gives , so .
Where it leads
This is the last unit of the volume.