Statistics 6: Standard Deviation & Correlation
Variance, SD formulas, Z-score, empirical rule, types of correlation, Pearson's r, Spearman's rank — solved examples and exam tricks
Part A: Standard Deviation
1. Variance and Standard Deviation
Why? Two classes both with Mean=50: Class A (48,49,50,51,52) vs Class B (10,30,50,70,90) — same mean, very different spread. SD quantifies this spread.
| Measure | Definition | Relationship |
|---|---|---|
| Variance | Average of squared deviations from mean | Variance = (SD)² |
| Standard Deviation | Square root of variance | SD = √Variance |
Variance measures spread in squared units. SD brings it back to original units — that's why SD is more practical.
2. Population Variance & SD
Population Variance: σ² = Σ(x − μ)² / N
Population SD: σ = √[Σ(x − μ)² / N]
Where: σ² = population variance | μ = population mean | N = population size
3. Sample Variance
Sample Variance: s² = Σ(x − x̄)² / (n − 1)
Notice n−1 instead of n — this is called Bessel's Correction.
| Data Type | Denominator |
|---|---|
| Population | N |
| Sample | n − 1 |
4. Step-by-Step Calculation
Example 1 — Data: 2, 4, 6
Step 1: Mean x̄ = (2+4+6)/3 = 4
| x | x − 4 | (x − 4)² |
|---|---|---|
| 2 | −2 | 4 |
| 4 | 0 | 0 |
| 6 | +2 | 4 |
| — | — | Σ = 8 |
Population Variance = 8/3 = 2.67 | SD = √2.67 ≈ 1.63 ✅
5. Computational Formula (Fast Method)
Variance = (Σx²/N) − (Σx/N)²
Example 2 — Data: 1, 2, 3
Σx = 6 | Σx² = 1+4+9 = 14 | N = 3
Variance = 14/3 − (6/3)² = 4.67 − 4 = 0.67 | SD = √0.67 = 0.82
Exam Trick: Small datasets → deviation method | Large datasets → computational formula
6. Properties of Variance and SD
| Property | Detail |
|---|---|
| Variance ≥ 0 | Never negative (squares can't be negative) |
| SD ≥ 0 | Never negative |
| All observations equal | Variance = 0, SD = 0. Example: 10,10,10 → SD = 0 |
7. Effect of Change of Origin and Scale
| Operation | Mean | SD | Variance |
|---|---|---|---|
| Add/Subtract constant k | Changes (x̄ ± k) | Unchanged | Unchanged |
| Multiply by constant k | Changes (kx̄) | SD' = k×SD | Variance' = k²×Variance |
Examples: Mean=20, add 5 → New Mean=25, SD unchanged | Mean=15, multiply by 3 → New Mean=45, New SD = 3×old SD | Variance multiplied by k² = 9
8. Standard Score (Z-Score)
Extremely important for probability topics.
Formula: z = (x − μ) / σ
Example: Mean=50, SD=10, x=70 → z = (70−50)/10 = 2
Interpretation: 70 is 2 standard deviations above the mean.
9. Empirical Rule (68–95–99.7 Rule)
For Normal Distribution:
| Range | % of Data |
|---|---|
| Mean ± 1 SD | 68% |
| Mean ± 2 SD | 95% |
| Mean ± 3 SD | 99.7% |
Example: Mean=100, SD=10 → 95% of observations lie between 100±20 = 80 to 120
Part B: Correlation
1. What is Correlation?
Correlation measures the degree and direction of relationship between two variables.
| Variable X | Variable Y | Relationship |
|---|---|---|
| Study Hours | Marks | Positive |
| Price | Demand | Negative |
| Shoe Size | Intelligence | No Relation |
2. Types of Correlation
| Type | Meaning | Example |
|---|---|---|
| Positive Correlation | Both variables move in same direction (X↑ → Y↑) | Study hours & marks | Income & expenditure |
| Negative Correlation | Variables move in opposite directions (X↑ → Y↓) | Price & demand | Speed & travel time |
| Zero Correlation | No relationship | Shoe size & IQ |
3. Degree of Correlation
Correlation coefficient r lies between: −1 ≤ r ≤ +1
| r Value | Interpretation |
|---|---|
| +1 | Perfect Positive |
| +0.8 to +1 | Strong Positive |
| +0.5 to +0.8 | Moderate Positive |
| 0 | No Correlation |
| −0.5 to −0.8 | Moderate Negative |
| −0.8 to −1 | Strong Negative |
| −1 | Perfect Negative |
Important Exam Fact — Correlation ≠ Causation: Ice cream sales and drowning cases both increase in summer — they're correlated, but ice cream doesn't cause drowning. Summer affects both.
4. Karl Pearson's Correlation Coefficient
Formula: r = Σ(x−x̄)(y−ȳ) / √[Σ(x−x̄)² × Σ(y−ȳ)²]
Short Formula (for calculations):
r = [nΣxy − ΣxΣy] / √{ [nΣx² − (Σx)²] × [nΣy² − (Σy)²] }
If r = +1 → Perfect positive | If r = 0 → No relationship | If r = −1 → Perfect negative
5. Rank Correlation (Spearman's)
Used when data are ranks instead of actual values.
Formula: rₛ = 1 − [6Σd² / n(n²−1)]
Where d = difference in ranks | n = number of observations
Example:
| Student | Rank in Math | Rank in Science | d | d² |
|---|---|---|---|---|
| A | 1 | 2 | −1 | 1 |
| B | 2 | 1 | +1 | 1 |
| C | 3 | 3 | 0 | 0 |
| — | — | — | — | Σd² = 2 |
rₛ = 1 − [6×2 / 3(9−1)] = 1 − [12/24] = 1 − 0.5 = 0.5
6. Properties of Correlation Coefficient
- −1 ≤ r ≤ +1 (never exceeds these limits)
- Unit-free measure (r is same regardless of units)
- Unaffected by change of origin and scale
Correlation vs Regression
| Correlation | Regression |
|---|---|
| Measures relationship | Predicts value |
| Symmetrical | Not symmetrical |
| Uses r | Uses regression equation |
| No dependent variable | Has dependent variable |
Exam MCQs
Standard Deviation:
- Variance can never be? → Negative
- If all observations are equal, SD is? → Zero
- If each observation increased by 10, SD? → Unchanged
- If all observations multiplied by 2, Variance becomes? → 4 times
- Mean=40, SD=8. Find CV. → (8/40)×100 = 20%
Correlation:
- r always lies between? → −1 and +1
- If r = +1? → Perfect Positive Correlation
- Price and demand show? → Negative Correlation
- Correlation implies causation? → False
- If r = 0? → No linear correlation
Common Exam Traps: Variance ≠ SD (SD = √Variance) | Adding constant does NOT change SD | Multiplying by k makes Variance k² times | r cannot exceed 1 | Strong correlation ≠ causation
Quick Revision Sheet
| Formula | Use |
|---|---|
| σ² = Σ(x−μ)² / N | Population Variance |
| s² = Σ(x−x̄)² / (n−1) | Sample Variance |
| SD = √Variance | Standard Deviation |
| Variance = Σx²/N − (Σx/N)² | Computational Formula |
| CV = (SD/Mean) × 100 | Coefficient of Variation |
| z = (x − μ) / σ | Z-Score |
| r = Σ(x−x̄)(y−ȳ) / √[Σ(x−x̄)²Σ(y−ȳ)²] | Karl Pearson's r |
| rₛ = 1 − 6Σd² / n(n²−1) | Spearman Rank Correlation |