10182

# 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).

### DETAILS

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.

### PERMANENT CITATION

 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 » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

#### Related Topics

 RELATED RESOURCES
 The #1 tool for creating Demonstrations and anything technical. Explore anything with the first computational knowledge engine. The web's most extensive mathematics resource. An app for every course—right in the palm of your hand. Read our views on math,science, and technology. The format that makes Demonstrations (and any information) easy to share and interact with. Programs & resources for educators, schools & students. Join the initiative for modernizing math education. Walk through homework problems one step at a time, with hints to help along the way. Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet. Knowledge-based programming for everyone.