Actuarial Notes

Correlation Coefficient

Study guides: Exam P-1, Exam ACIA-CAPSTONE

The Correlation Coefficient \rho(X, Y) of two random variables X and Y is a measure of the strength and direction of the linear relationship between them, on a scale from -1 to 1. It is the covariance divided by the product of the standard deviations:

\rho(X, Y) = \frac{\text{Cov}(X, Y)}{\sigma_X\,\sigma_Y}

  • \sigma_X = \sqrt{\text{Var}(X)} and \sigma_Y = \sqrt{\text{Var}(Y)} are the standard deviations.
  • -1 \le \rho(X, Y) \le 1, with \rho = \pm 1 exactly when Y = a + bX for constants a and b \ne 0.

Independent random variables have covariance 0, so their correlation coefficient is 0.

A policyholder's numbers of auto claims X and home claims Y in a year have \text(X) = 0.24, \text(Y) = 0.53 and \text(X, Y) = 0.12. What is \rho(X, Y)?

  • The standard deviations are \sigma_X = \sqrt{0.24} = 0.490 and \sigma_Y = \sqrt{0.53} = 0.728.
  • \rho(X, Y) = \frac{0.12}{(0.490)(0.728)}, which is 0.336.
  • The two counts have a moderate positive linear relationship.

Covariance from the correlation coefficient

Solving the definition for the covariance gives

\text{Cov}(X, Y) = \rho(X, Y)\,\sigma_X\,\sigma_Y

Two losses have standard deviations 30 and 40 and correlation coefficient 0.25. What is the standard deviation of their total?

  • The covariance is (0.25)(30)(40) = 300.
  • By the variance of a sum, the variance of the total is 900 + 1{,}600 + 600, which is 3,100.
  • The standard deviation is \sqrt{3{,}100} = 55.68.

Variances in the denominator The denominator is the product of the standard deviations, not of the variances. For the auto and home claims, \frac{0.12}{(0.24)(0.53)} = 0.943, which overstates the relationship almost threefold.

Correlation of linear functions

For constants a, b, c and d with a and c not 0, changing the units or the origin of X or Y changes the correlation coefficient at most in sign:

\rho(aX + b,\ cY + d) = \pm\,\rho(X, Y)

  • The sign is + when a and c have the same sign, and - when they differ.

Each auto claim costs 10 and each home claim costs 5. What is the correlation coefficient of the auto cost 10X and the home cost 5Y?

  • The covariance becomes (10)(5)(0.12) = 6.
  • The standard deviations become 10(0.490) = 4.90 and 5(0.728) = 3.64.
  • \rho = \frac{6}{(4.90)(3.64)} = 0.336, the same as for the counts.

The sample correlation coefficient

For n observed pairs (x_i, y_i) with means \bar{x} and \bar{y}, the sample correlation coefficient is

r = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum (x_i - \bar{x})^2 \sum (y_i - \bar{y})^2}}

|r| is close to 1 only when the points lie close to a straight line. Points on a tight curve can still have r near 0.

The points (-1, 1), (0, 0) and (1, 1) lie exactly on y = x^2. What is their sample correlation coefficient?

  • The means are \bar{x} = 0 and \bar{y} = \frac{2}{3}.
  • The products of deviations are (-1)(\frac{1}{3}), (0)(-\frac{2}{3}) and (1)(\frac{1}{3}), which add to 0.
  • r = 0, although y is determined by x.

Practice questions

Actuarial Notes