apaCorrel.Spearman(Returns1, Returns2)
Excel
=apaCorrel.Spearman(Returns1, Returns2)Result
Calculates Spearman’s rank correlation coefficient.
Syntax
Returns1: r x 1 vector of returns
Returns2: r x 1 vector of returns
Remarks
The coefficient is the Pearson correlation of the ranks. Tied observations receive their average rank.
