Correlation Coefficient, Regression, and Chebyshev's Theorem
Posted by Anonymous and classified in Mathematics
Written on in
English with a size of 4.73 KB
Calculating Karl Pearson Correlation Coefficient
Question 11: Calculate the coefficient of correlation from the following data:
| X | 12 | 9 | 8 | 10 | 11 | 13 | 7 |
|---|---|---|---|---|---|---|---|
| Y | 14 | 8 | 6 | 9 | 11 | 12 | 3 |
To calculate Karl Pearson's coefficient of correlation (r), we use the formula:
r = ∑dx·dy / √(∑dx2 × ∑dy2)
Where:
- dx = X - X̄
- dy = Y - Ȳ
Step 1: Find the Means
First, calculate the mean of X (X̄) and Y (Ȳ):
X̄ = (12 + 9 + 8 + 10 + 11 + 13 + 7) / 7 = 70 / 7 = 10
Ȳ = (14 + 8 + 6 + 9 + 11 + 12 + 3) / 7 = 63 / 7 = 9
Step 2: Prepare the Calculation Table
| X | Y | dx = X - 10 | dy = Y - 9 | dx2 | dy2 | dx·dy |
|---|---|---|---|---|---|---|
| 12 | 14 | 2 | 5 | 4 | 25 | 10 |
| 9 | 8 | -1 | -1 | 1 | 1 | 1 |
| 8 | 6 | -2 | -3 | 4 | 9 | 6 |
| 10 | 9 | 0 | 0 | 0 | 0 | 0 |
| 11 | 11 | 1 | 2 | 1 | 4 | 2 |
| 13 | 12 | 3 | 3 | 9 | 9 | 9 |
| 7 | 3 | -3 | -6 | 9 | 36 | 18 |
| Total | 28 | 84 | 46 |
Step 3: Substitute into the Formula
Substitute the sums from the table into the correlation formula:
r = 46 / √(28 × 84)
r = 46 / √(2352)
r = 46 / 48.50 ≈ 0.949
Answer
The coefficient of correlation is r ≈ 0.95.
Proving Regression Line Coefficients Range
Question 12: Given that x = 4y + 5 and y = kx + 4 are the regression lines of x on y and y on x respectively, show that 0 ≤ k ≤ 0.25.
Solution
The regression coefficients are:
- Regression coefficient of x on y: bxy = 4
- Regression coefficient of y on x: byx = k
The product of the two regression coefficients is equal to the square of the correlation coefficient:
bxy × byx = r2
Hence,
4k = r2
Since the correlation coefficient satisfies -1 ≤ r ≤ 1, we have:
0 ≤ r2 ≤ 1
Therefore,
0 ≤ 4k ≤ 1
Dividing throughout by 4, we get:
0 ≤ k ≤ 1/4 or 0 ≤ k ≤ 0.25.
State and Prove Chebyshev's Theorem
Question 6: State and prove Chebyshev's Theorem.
Proof
Let X be a random variable with mean μ and variance σ2.
By Markov's Inequality, for any non-negative random variable:
P((X - μ)2 ≥ k2σ2) ≤ E[(X - μ)2] / (k2σ2)
Since E[(X - μ)2] = σ2, we get:
P((X - μ)2 ≥ k2σ2) ≤ σ2 / (k2σ2) = 1 / k2
But we know that:
(X - μ)2 ≥ k2σ2 ⇔ |X - μ| ≥ kσ
Hence,
P(|X - μ| ≥ kσ) ≤ 1 / k2
Taking the complement of the probability:
P(|X - μ| < kσ) = 1 - P(|X - μ| ≥ kσ) ≥ 1 - 1 / k2
Thus,
P(|X - μ| < kσ) ≥ 1 - 1 / k2
Hence, Chebyshev's Theorem is proved.
Important Results
- Within 2 standard deviations (k = 2): 1 - 1/22 = 3/4 = 75%
- Within 3 standard deviations (k = 3): 1 - 1/32 = 8/9 ≈ 88.89%