Unit 2
Probability, Random Variables, and Probability Distributions
Notes
Two categorical variables
A two-way table shows counts for two variables. Marginal relative frequencies use row or column totals; conditional relative frequencies look within one row or column. If conditional distributions differ, the variables are associated.
Probability rules
- $0 \le P(A) \le 1$, and $P(A^c) = 1 - P(A)$.
- Addition: $P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)$. Mutually exclusive events have $P(A \text{ and } B) = 0$.
- Conditional: $\displaystyle P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)}$.
- Independent events: $P(A \mid B) = P(A)$, which means $P(A \text{ and } B) = P(A)P(B)$.
- Simulation: use random numbers to model a chance process and estimate probabilities.
Discrete random variables
- Mean (expected value): $\displaystyle \mu_X = \sum x_i p_i$. Standard deviation: $\displaystyle \sigma_X = \sqrt{\sum (x_i - \mu_X)^2 p_i}$.
- Binomial setting: fixed number of trials $n$, two outcomes, independent trials, same probability $p$. $P(X = k) = \binom{n}{k}p^k(1 - p)^{n-k}$, $\mu = np$, $\displaystyle \sigma = \sqrt{np(1 - p)}$.
Normal distributions
- The empirical rule: about 68%, 95% and 99.7% of values fall within 1, 2 and 3 standard deviations of the mean.
- Use $\displaystyle z = \frac{x - \mu}{\sigma}$ and the standard normal distribution for probabilities and percentiles.
Sampling distributions
A sampling distribution is the distribution of a statistic over all possible samples.
- $\hat p$: mean $p$, standard deviation $\displaystyle \sqrt{\frac{p(1 - p)}{n}}$, approximately normal when $np \ge 10$ and $n(1 - p) \ge 10$.
- $\bar x$: mean $\mu$, standard deviation $\displaystyle \frac{\sigma}{\sqrt n}$. The central limit theorem says $\bar x$ is approximately normal when $n$ is large (often $n \ge 30$), whatever the population shape.
- A statistic is unbiased if its sampling distribution is centered at the parameter. Bigger samples mean less variability.
Topics in this unit
Each topic has its own short notes and practice.
- 2.1Tabular and Graphical Representations for the Distributions of Two Categorical Variables
- 2.2Summary Statistics for Two Categorical Variables
- 2.3Estimating Probabilities Using Simulation
- 2.4Introduction to Probability
- 2.5Mutually Exclusive Events
- 2.6Conditional Probability
- 2.7Independent Events and Unions of Events
- 2.8Introduction to Random Variables and Probability Distributions
- 2.9Parameters of Random Variables
- 2.10The Binomial Distribution
- 2.11The Normal Distribution
- 2.12Sampling Distributions and the Central Limit Theorem
Practice
$0.4 + 0.5 - 0.2 = 0.7$.
$0.4 \times 0.5 = 0.2$, which matches.
$0(0.5) + 1(0.3) + 2(0.2) = 0.7$.
Binomial mean $np = 15(0.8) = 12$.
60 and 72 are 2 standard deviations from the mean.
$\displaystyle \sqrt{\frac{0.3(0.7)}{100}} = \sqrt{0.0021} \approx 0.046$.
The central limit theorem applies with a large sample, and $\bar x$ is centered at $\mu$.
The conditional proportions differ, so the variables are associated. 20 of the 50 players are seniors (40%).
Free response
Write your answer first, then open the scoring guide.
Free-response question
A carnival game costs $2 to play. You win $10 with probability 0.1, win $3 with probability 0.2, and win nothing otherwise.
(a) Find the expected value of your net gain per play.
Show the answer and scoring guide
Net gains: $8$ with probability 0.1, $1$ with probability 0.2, $-2$ with probability 0.7. $E = 0.8 + 0.2 - 1.4 = -0.4$. On average you lose 40 cents per play.
Check off the points you earned:
(b) You play 20 times. Let $W$ be the number of $10 wins. Explain why $W$ is binomial and find $P(W \ge 1)$.
Show the answer and scoring guide
Fixed 20 trials, win or not, independent plays, same $p = 0.1$. $P(W \ge 1) = 1 - 0.9^{20} \approx 1 - 0.122 = 0.878$.
Check off the points you earned: