The monotonic correlation may be described as monotonically increasing or monotonically decreasing. The relation between 2 features is presented by the monotonic increasing if the increasing of the one feature accompanies with the increasing of the other one. The relation between 2 features is presented by the monotonic decreasing if the increasing of the one feature accompanies with the decreasing of the other one.
The Spearman's rank-order correlation coefficient is used to describe the strength of monotonic relations between 2 features: and . It may be calculated on an ordinal scale or an interval one. The value of the Spearman's rank correlation coefficient should be calculated using the following formula:
This formula is modified when there are ties:
where:
This correction is used, when ties occur. If there are no ties, the correction is not calculated, because the correction is reduced to the formula describing the above equation.
Note
– the Spearman's rank correlation coefficient in a population;
– the Spearman's rank correlation coefficient in a sample.
The value of , and it should be interpreted the following way:
The Kendall's tau correlation coefficient (Kendall (1938)1)) is used to describe the strength of monotonic relations between features . It may be calculated on an ordinal scale or interval one. The value of the Kendall's correlation coefficient should be calculated using the following formula:
where:
The formula for the correlation coefficient includes the correction for ties. This correction is used, when ties occur (if there are no ties, the correction is not calculated, because of i ) .
Note
– the Kendall's correlation coefficient in a population;
– the Kendall's correlation coefficient in a sample.
The value of , and it should be interpreted the following way:
Spearman's versus Kendall's coefficient
EXAMPLE cont. (sex-height.pqs file)