Correlation – Proofs

On this webpage, we provide proofs for the properties described in Basic Concepts of Correlation.

Property 4: For constant a and random variables x, y, and z, the following are true both for the sample and population definitions of covariance

  1. cov(x, y) = cov(y, x)
  2. cov(x, x) = var(x)
  3. cov(a, y) = 0
  4. cov(ax, y) = a · cov(x, y)
  5. cov(x+z, y) = cov(x, y) + cov(z, y)

Proof: We give the proofs for the population version of covariance. The proofs for the sample versions are similar.

a)      Clear from the definition of covariance

b)      Clear from the definitions of covariance and variance

c)      Follows from

image3414

d)      Follows from

image3415

image3416

e)      Follows from

Proof of 4d

Property A: If x and y are random variables and z = ax + b where a and b are constants then the correlation coefficient between x and y is the same as the correlation coefficient between z and y.

Proof: By Property 4

image5077

By Property 3 of Expectation

image5078

and so stdev(z) = a · stdev(x). Thus

image5079

Property 1

image1514

Proof: Let

image7165

image7166Thus

image7167Now

image7168

Collecting identical terms, together with a change in summation indices, we find:

image7170Thus

image7169

and so

image7171

from which the result follows.

Property 2:

image1518

Proof: The proof is similar to the proof of Property 1.

Property 3:

image1519

Proof: The proof is similar to that of Property 2 of Expectation.

Property 5: The following is true for both the sample and population definitions of covariance:

If x and y are independent then cov(x, y) = 0

Proof: The proof follows from Property 1d of Expectation and Property 3.

Property 6: The following are true both for samples and populations:

image1521

image1522

Proof: We give the proof of the first property for the population. The proof of the sample case is similar, as is the proof of the second property. By Property 2 of Expectation and Property 3

image1523

image5046

image5047

image1525

4 thoughts on “Correlation – Proofs”

  1. Dear Charles,
    I believe there is an error in proof of Property A.d). After the second equality sign it should read:
    E[((x-\mu_x) + (z-\mu_z))(y-\mu_y)]
    otherwise the result will not follow.

    Regards
    Marc

    Reply
    • Marc,
      Thanks for catching this error. I have now corrected the formulas on the webpage.
      I appreciate your help in improving the quality of the Real Statistics website.
      Charles

      Reply
    • Natalie,
      I don’t see this term on the webpage that you are referencing. Are you referring to a term that I use on the website or is a term you found somewhere else? Generally this is a term used with Factor Analysis.
      Charles

      Reply

Leave a Comment