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:

X12981011137
Y1486911123

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 (Ȳ):

= (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

XYdx = X - 10dy = Y - 9dx2dy2dx·dy
12142542510
98-1-1111
86-2-3496
10900000
111112142
131233999
73-3-693618
Total288446

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 &approx; 88.89%

Related entries: