Skip to content

Distance Correlation

A correlation coefficient that is zero only when two variables are independent, so it also detects non-linear (e.g. U-shaped) relationships that Pearson’s r misses.

  • To screen for any kind of dependence between pairs of scale variables.
  • To check independence where a relationship may not be monotonic.
  • Independent cases; scale (or ordinal) variables. The permutation test makes no distributional assumptions.
  • Computation uses n × n distance matrices, so it is limited to 5,000 cases.
  • Distance correlation ranges from 0 (independence) to 1; compare it with Pearson’s r to see whether the relation is linear.
  • The permutation Sig. tests independence.

Dose and response were dependent, distance correlation = .45, permutation p = .001 (999 permutations), although the Pearson correlation was near zero (r = .02) because of the inverted-U shape.

Syntax: DCOR dose response /PERMUTATIONS=999.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.