Computes the Spearman rank correlation coefficient (SCC).
The procedure gets the ranks of cectors x and y, then
calculates the Pearson correlation coefficient on these ranks.
Vectors x and y must be the same size.
Impure wrapper for f_sts_scc_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | y(:) |
y vector (assumed size array) |
Spearman correlation coefficient