15.4 Normal Distribution, Statistical Sampling, Correlation, and Regression
Key Takeaways
- Organize raw samples with frequency tables, histograms, or stem-and-leaf plots before estimating a population.
- Compute sample mean, variance/standard deviation, median, and quartiles from ordered data; the IQR summarizes spread resistant to extremes.
- Simple random, stratified, and systematic sampling each control bias differently when estimating population parameters.
- The Normal model $N(\mu,\sigma^2)$ approximates many measurement distributions; standardize with $Z=(X-\mu)/\sigma$ for probability lookups.
- Scatter plots, correlation, and least-squares regression quantify linear association between paired variables.
15.4 Normal Distribution, Statistical Sampling, Correlation, and Regression
0. Descriptive Statistics from Raw Sample Data
Before Normal models and regression, Gaokao statistics questions often ask you to organize a raw sample and compute its basic features. Treat this as the mandatory descriptive layer of 统计.
Frequency tables, histograms, and stem-and-leaf plots
Given a sample of size $n$, group values into class intervals and record frequencies $f_i$ (counts) and relative frequencies $f_i/n$.
| Display | What it shows | Gaokao use |
|---|---|---|
| Frequency distribution table | Class intervals with counts $f_i$ | Organize raw scores before estimating a population |
| Frequency histogram | Adjacent bars whose heights are frequencies (or densities) | Compare shape: unimodal, skewed, roughly Normal |
| Stem-and-leaf plot | Stems (leading digits) with leaves (trailing digits) | Preserve original data while showing distribution shape |
Worked Example (raw sample). Scores: $72, 85, 78, 90, 66, 85, 73, 88, 79, 84$.
Stem-and-leaf (tens | ones):
6 | 6
7 | 2 3 8 9
8 | 4 5 5 8
9 | 0
The sample is unimodal and slightly left-concentrated in the 70s–80s; a histogram with width-10 classes would show the same pattern.
Sample mean, variance, and quartiles
For raw data $x_1,\dots,x_n$:
- Sample mean: $\bar{x} = \dfrac{1}{n}\sum_{i=1}^n x_i$
- Sample variance (population-style form often used in high-school contexts): $s^2 = \dfrac{1}{n}\sum_{i=1}^n (x_i-\bar{x})^2$ (some problems use $n-1$; follow the formula stated in the question)
- Sample standard deviation: $s = \sqrt{s^2}$
- Ordered sample $x_{(1)} \le \cdots \le x_{(n)}$; median is the middle value (or average of two middle values). Quartiles $Q_1,Q_3$ split the lower/upper halves; the interquartile range is $IQR = Q_3 - Q_1$. A box plot marks min, $Q_1$, median, $Q_3$, max.
Worked Example (continued). For the ten scores above, $\sum x_i = 800$, so $\bar{x} = 80$. Using the $1/n$ variance form: Ordered list: $66,72,73,78,79,84,85,85,88,90$. Median $= \frac{79+84}{2} = 81.5$. Lower half median $Q_1 = 73$, upper half median $Q_3 = 85$, so $IQR = 12$.
These descriptive summaries are what sampling later estimates for a population, and they feed the correlation/regression displays that follow.
1. Normal Distribution
The Normal Distribution (or Gaussian distribution) is the most fundamental continuous probability distribution in statistics, describing phenomena affected by numerous small, independent random forces.
1.1 Probability Density Function
A continuous random variable $X$ follows a Normal Distribution with mean $\mu$ and standard deviation $\sigma > 0$, denoted $X \sim N(\mu, \sigma^2)$, if its probability density function (PDF) is:
1.2 Key Geometric Properties of the Normal Curve
- Symmetry: The curve is bell-shaped and symmetric about the vertical line $x = \mu$.
- Maximum Value: The maximum value occurs at $x = \mu$, where $f(\mu) = \frac{1}{\sqrt{2\pi}\sigma}$. As $\sigma$ decreases, the peak becomes taller and narrower; as $\sigma$ increases, the curve flattens.
- Asymptotes: The x-axis ($y = 0$) is a horizontal asymptote as $x \to \pm\infty$.
- Inflection Points: The curve has inflection points at $x = \mu - \sigma$ and $x = \mu + \sigma$.
- Standard Normal Distribution: When $\mu = 0$ and $\sigma = 1$, $Z \sim N(0, 1)$ is the Standard Normal Distribution. Any $X \sim N(\mu, \sigma^2)$ can be standardized via $Z = \frac{X - \mu}{\sigma}$.
1.3 The $3\sigma$ Empirical Rule
For $X \sim N(\mu, \sigma^2)$, the area under the PDF curve yields standard probabilities:
- $P(\mu - \sigma \le X \le \mu + \sigma) \approx 0.6827$
- $P(\mu - 2\sigma \le X \le \mu + 2\sigma) \approx 0.9545$
- $P(\mu - 3\sigma \le X \le \mu + 3\sigma) \approx 0.9973$
Due to symmetry about $x = \mu$:
2. Statistical Sampling Methods
Statistical inference relies on selecting representative samples from a target population of size $N$.
2.1 Simple Random Sampling
Every combination of $n$ units has an equal probability of selection.
- Lottery Method: Draw numbered tokens from an urn (suitable for small $N$).
- Random Number Table: Select units matching pseudo-random digits.
2.2 Stratified Random Sampling
When the population consists of distinct sub-groups (strata) with high between-stratum variability and low within-stratum variability:
- Divide population $N$ into $k$ mutually exclusive strata of sizes $N_1, N_2, \dots, N_k$ ($\sum N_i = N$).
- Sample $n_i$ items from stratum $i$ proportionally to its size:
- Sample Mean Formula: where $\bar{x}_i$ is the sample mean of stratum $i$.
3. Bivariate Correlation and Linear Regression Analysis
3.1 Scatter Plots and Pearson Correlation Coefficient $r$
For paired sample data $(x_1, y_1), (x_2, y_2), \dots, (x_n, y_n)$, the sample correlation coefficient $r$ measures the strength and direction of linear association:
- $-1 \le r \le 1$.
- $r > 0$: Positive linear correlation; $r < 0$: Negative linear correlation.
- $|r| \to 1$: Strong linear relationship; $|r| \to 0$: Weak linear relationship.
3.2 Least Squares Linear Regression
When a strong linear relationship exists, we fit the linear model $\hat{y} = \hat{b}x + \hat{a}$ by minimizing the sum of squared residual errors $\sum_{i=1}^n (y_i - \hat{y}_i)^2$.
Estimation Formulas:
Critical Property of Linear Regression:
The regression line always passes through the sample centroid $(\bar{x}, \bar{y})$, satisfying $\bar{y} = \hat{b} \bar{x} + \hat{a}$.
4. $2 \times 2$ Contingency Table and $\chi^2$ Independence Test
To test whether two categorical variables $A$ and $B$ are statistically independent, we construct a $2 \times 2$ contingency table:
| Variable | $B$ | $\overline{B}$ | Total |
|---|---|---|---|
| $A$ | $a$ | $b$ | $a + b$ |
| $\overline{A}$ | $c$ | $d$ | $c + d$ |
| Total | $a + c$ | $b + d$ | $n = a + b + c + d$ |
4.1 Test Statistic $K^2$ ($\chi^2$) Formula
4.2 Decision Rule Table (Critical Values)
Compare calculated $K^2$ against standard critical thresholds $x_\alpha$:
| $P(K^2 \ge x_\alpha)$ | $0.10$ | $0.05$ | $0.010$ | $0.001$ |
|---|---|---|---|---|
| Critical Value $x_\alpha$ | $2.706$ | $3.841$ | $6.635$ | $10.828$ |
| Confidence Level | $90%$ | $95%$ | $99%$ | $99.9%$ |
- If $K^2 \ge 3.841$, we have at least $95%$ confidence ($p < 0.05$) to reject independence and conclude $A$ and $B$ are associated.
- If $K^2 < 3.841$, there is insufficient evidence at the $5%$ significance level to claim association.
5. Worked Gaokao Exam Examples
Example 1: Normal Distribution Probability Calculation
Problem: The weight $X$ of apples produced by an orchard follows a normal distribution $N(200, 100)$ (in grams, so $\mu = 200$, $\sigma^2 = 100 \implies \sigma = 10$).
- Find $P(190 \le X \le 220)$.
- If 10,000 apples are harvested, estimate the number of apples weighing more than $220\text{ g}$.
Detailed Solution:
-
Express intervals in terms of $\mu$ and $\sigma$:
- $\mu - \sigma = 200 - 10 = 190$
- $\mu + \sigma = 200 + 10 = 210$
- $\mu + 2\sigma = 200 + 20 = 220$
We know from the empirical rule:
- $P(190 \le X \le 210) = P(\mu-\sigma \le X \le \mu+\sigma) \approx 0.6827$
- $P(180 \le X \le 220) = P(\mu-2\sigma \le X \le \mu+2\sigma) \approx 0.9545$
By symmetry:
- $P(X \ge 220) = \frac{1 - P(180 \le X \le 220)}{2} \approx \frac{1 - 0.9545}{2} = \frac{0.0455}{2} = 0.02275$
- $P(X \le 190) = \frac{1 - P(190 \le X \le 210)}{2} \approx \frac{1 - 0.6827}{2} = \frac{0.3173}{2} = 0.15865$
Therefore:
-
Expected count weighing $> 220\text{ g}$:
Example 2: Comprehensive Statistics (Regression + $\chi^2$ Test)
Problem: A study investigated the relationship between weekly study hours ($x$) and exam score ($y$) for 5 students:
| Student | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Study Hours $x_i$ | 2 | 4 | 5 | 6 | 8 |
| Exam Score $y_i$ | 60 | 70 | 75 | 80 | 90 |
- Calculate the linear regression equation $\hat{y} = \hat{b}x + \hat{a}$.
- Predict the score of a student who studies 7 hours per week.
- In a survey of 100 students on whether studying $> 5$ hours improves passing rates, a $2 \times 2$ table gave $a=40, b=10, c=20, d=30$. Test if studying $>5$ hours is associated with passing at the $99%$ confidence level ($x_{0.01} = 6.635$).
Detailed Solution:
-
Regression Calculations:
- $\bar{x} = \frac{2 + 4 + 5 + 6 + 8}{5} = \frac{25}{5} = 5$
- $\bar{y} = \frac{60 + 70 + 75 + 80 + 90}{5} = \frac{375}{5} = 75$
- $\sum x_i^2 = 2^2 + 4^2 + 5^2 + 6^2 + 8^2 = 4 + 16 + 25 + 36 + 64 = 145$
- $\sum x_i y_i = (2 \times 60) + (4 \times 70) + (5 \times 75) + (6 \times 80) + (8 \times 90) = 120 + 280 + 375 + 480 + 720 = 1975$
Now compute slope $\hat{b}$:
Compute intercept $\hat{a}$:
Thus, the regression equation is:
-
Prediction for $x = 7$:
-
$\chi^2$ Independence Test: $n = 40 + 10 + 20 + 30 = 100$. $ad - bc = (40 \times 30) - (10 \times 20) = 1200 - 200 = 1000$. $(ad - bc)^2 = 1000^2 = 1,000,000$. Row totals: $a+b = 50$, $c+d = 50$. Column totals: $a+c = 60$, $b+d = 40$.
Since $K^2 \approx 16.667 > 6.635 = x_{0.01}$ (and even $> 10.828 = x_{0.001}$), we have over $99.9%$ confidence to reject independence and conclude that studying $>5$ hours per week is significantly associated with passing.
Given a normal distribution X ~ N(10, σ^2), if P(X > 14) = 0.15, what is P(6 ≤ X ≤ 14)?
In a simple linear regression analysis with 10 pairs of data (x_i, y_i), the sample means are x̄ = 4 and ȳ = 15. The calculated regression slope is b̂ = 2.5. What is the linear regression equation?
In a 2 x 2 contingency table with total sample size n = 100, the calculated test statistic is K^2 = 5.20. Given critical values x_0.05 = 3.841 and x_0.01 = 6.635, which conclusion is correct?