Spearman's Rank Correlation Coefficient - Definition and Calculation

Definition and Calculation

The Spearman correlation coefficient is defined as the Pearson correlation coefficient between the ranked variables. For a sample of size n, the n raw scores are converted to ranks, and ρ is computed from these:

Identical values (rank ties or value duplicates) are assigned a rank equal to the average of their positions in the ascending order of the values. In the table below, notice how the rank of values that are the same is the mean of what their ranks would otherwise be:

Variable Position in the ascending order Rank
0.8 1 1
1.2 2
1.2 3
2.3 4 4
18 5 5

In applications where duplicate values (ties) are known to be absent, a simpler procedure can be used to calculate ρ. Differences between the ranks of each observation on the two variables are calculated, and ρ is given by:

Read more about this topic:  Spearman's Rank Correlation Coefficient

Famous quotes containing the words definition and/or calculation:

    “Beauty, like all other qualities presented to human experience, is relative; and the definition of it becomes unmeaning and useless in proportion to its abstractness. To define beauty not in the most abstract, but in the most concrete terms possible, not to find a universal formula for it, but the formula which expresses most adequately this or that special manifestation of it, is the aim of the true student of aesthetics.”
    —Walter Pater (1839–1894)

    “Common sense is the measure of the possible; it is composed of experience and prevision; it is calculation appled to life.”
    —Henri-Frédéric Amiel (1821–1881)