Exploring Measures of Association

Using Alt-Click, add additional data points to the scatter plot above or drag the existing data points. The least-squares linear fit to the data changes as you add additional data points or drag them. Additionally, three sample measures of dependence between the and coordinates of the data are summarized (viewing the coordinate projections as realizations from a pair of random variables).


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Pearson's correlation coefficient is a popular measurement of association between two random variables. It characterizes the extent to which a pair of random variables can be written as , where and are real-valued constants. Unfortunately, the Pearson correlation coefficient completely characterizes the dependence structure between two random variables only when the joint distribution of those random variables is elliptical. In general, elliptical distributions are those distributions with constant curves in that are ellipsoids. Additionally, the Pearson correlation coefficient only captures the first-order, or linear, association between two random variables.
There are numerous additional nonlinear measures of association. Some are finite dimensional and others are infinite dimensional. Two additional finite-dimensional measures of association are Spearman's rho and Kendall's tau.
Spearman's rho is similar to Pearson's rho, but is computed on the ranks of the original data. Kendall's tau is equal to , where is the number of concordant pairs. If and are a pair of bivariate observations of a random vector , then this pair is concordant if . So if we have observations of the random vector , we must determine if up to pairs are concordant.
Infinite-dimensional measures of dependence include copulas and the local correlation function developed by Bjerve and Doksum (1993).
For more information on Spearman's rho and Kendall's tau, see the Wikipedia entries.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.