Lecture 3 – Probability, Discrete RVs & Binomial Distribution (MATH1041)
Course & Chapter Context
Course: MATH1041 – Statistics for Life and Social Sciences (Term 2, 2025)
Chapter 3 focus: “Probability, Discrete Random Variables & the Binomial Distribution”
Four lecture blocks covered in the transcript:
• Lecture 1 – Probability
• Lecture 2 – Discrete Random Variables
• Lecture 3 – Means & Variances for Discrete Random Variables
• Lecture 4 – The Binomial Distribution & Other Probability Models
Quick Regression Recap (link-back to previous week)
Least-squares regression line: used to predict from ; evaluate with residual plots.
= correlation coefficient (strength & direction); = % of variation in explained by .
Example: ⇒ 61 % of ’s variability explained by .
Residual ; want random scatter (homoscedasticity). Heteroscedasticity (“trumpet” shape) violates assumptions.
Why Study Probability?
Random assignment & random sampling ⇒ data viewed as outcomes of random phenomena.
Probability rules are the language for interpreting data produced by chance (forms basis for CI’s, hypothesis tests, ML, AI, etc.).
Fundamental Concepts & Vocabulary
Random Phenomenon / Experiment: individual outcome unpredictable, but long-run pattern exists.
Outcome (): single possible result.
Sample Space (S): set of all theoretical outcomes (e.g. for one coin).
Event (A): any subset of . Occurs if outcome A.
Probability of outcome/event: long-run relative frequency.
Random vs Deterministic vs Haphazard
Deterministic: outcome known in advance (e.g. sunrise).
Random: unpredictable trial-by-trial, but regular long-run distribution.
Haphazard: too irregular to model (no stable pattern).
Assigning Probabilities
Long-run empirical frequency (repeat experiment many times).
Physical symmetry / equally-likely outcomes ().
Subjective / expert judgement.
Five Core Probability Rules
Boundedness: .
Covering Rule: .
Additive (General): .
• If A,B disjoint ⇒ .
Complement: .
Multiplication (Independence): A B iff .
Conditional Probability & Independence
Definition: (requires ).
Think “A becomes the new sample space”.
Tree-diagram helps: .
Independent Mutually Exclusive. Exclusive events cannot co-occur (intersection = 0), whereas independent events can but probability factorises.
Example (Student Enrolments):
Table: 87 % full-time, 15 % international, 14 % both.
vs ⇒ not equal ⇒ dependence.
Random Variables (RV)
Formal: function assigning a numerical value to each outcome.
Upper-case letter = RV; lower-case = realisation (observed value).
Discrete: countable list (often counts).
Continuous: takes any value in an interval (measurements).
Probability Distribution of Discrete RV
Table/pmf satisfying & .
Graph: probability mass plot (vertical spikes).
Examples
Spinner game payouts: .
Two dice sum : pmf with 11 possible sums (2–12).
Key Specialized Discrete Distributions
Uniform (discrete): for .
Binomial .
Poisson (rare events / rate).
Hypergeometric (sampling without replacement).
Geometric (failures before 1st success with prob. p).
Mean (Expectation) & Variance of Discrete RV
Mean (expected value): .
Variance: .
Std-dev .
Linear Combination Rules (always hold)
• For constants a,b: . • For two RVs: .
Variance Rules (need independence except scaling)
Scaling: .
Add/Sub independent: (note “+” in both cases).
Std-dev does not add linearly.
Law of Large Numbers (LLN)
For i.i.d. with mean : sample mean converges to as .
Justifies interpreting probability & expectation as long-run averages.
The Binomial Distribution
Conditions (Bernoulli trials):
Fixed number n of trials.
Each trial results in Success/Failure.
Trials independent.
Constant success probability p.
Probability mass function:
Key moments:
Counting Tool
= number of unordered subsets of size r.
Practical Examples
True/False test (n=5, p=0.5): .
Inspector weighing 10 cereal boxes (p=0.2 defective): (used complement rule).
Other Discrete Models (Quick Reference)
Poisson(): count of rare independent events in fixed interval.
• pmf ; mean = var = .
Hypergeometric: without-replacement sampling; parameters (white m, black b, draws n).
• .
Geometric(p): # failures before 1st success.
• pmf ; .
Worked-Example Gallery
Left-handed lunch group (n=3, p=0.12):
• .
• P(X\le2)=1-P(3)=1-0.12^{3}\approx0.998$.
Social-media dual users (n=5, p=0.6):
• E[X]=3,\;\sigma^{2}=1.2,\;\sigma\approx1.10\sigma=10\,\text{mg}\sigma_{\bar X}=7.07\,\text{mg}Var=2.916Var=5.832n,p.
Compute desires via pmf / complement / cumulative functions.
Interpret in context (units, risk, practical meaning).
Common Pitfalls & Ethical Notes
Multiplying probabilities requires independence (Sally Clark SIDS case – tragic mis-use).
“Mean” could denote population mean (\mu\bar X\;\ne\; expected profit; variance matters in decisions.
Always plot data before fitting models (Anscombe’s, Greta’s regression caution).
Study & Exam Tips
Re-derive formulas once without notes – embeds memory.
Practise tree diagrams and calculator/R functions (
dbinom,pbinom,choose,rnorm, etc.).Build small simulations to verify analytical answers (R
replicateloops).Prepare a personal glossary (keywords slides pp 219-220).
Use “Seeing Theory” interactive site for visual intuition.
Key Equations (Quick Sheet)
P(A\cup B)=P(A)+P(B)-P(A\cap B)P(A^c)=1-P(A)P(B|A)=\frac{P(A\cap B)}{P(A)}E[X]=\sum xk pkVar(X)=E[(X-\mu)^2]\binom{n}{r}=\frac{n!}{r!(n-r)!}P_{\text{Bin}}(X=x)=\binom{n}{x}p^{x}(1-p)^{n-x}E{\text{Bin}}=np,\;Var{\text{Bin}}=np(1-p)P_{\text{Pois}}(X=k)=e^{-\lambda}\,\lambda^{k}/k!$$
Reflective Questions
Can I explain (without symbols) the difference between independent & mutually exclusive?
Given a problem, what clues signal a binomial vs hypergeometric vs Poisson model?
How does the Law of Large Numbers justify quality-control sampling?
In what way do variance rules change when RVs are dependent?
End of consolidated notes.