Compute Spearman rank correlation between columns 2 and 4
The spearson operation computes the Spearman rank correlation between two columns named as a colon pair, here columns 2 and 4. The result ranges from -1 (perfect inverse relationship) to 1 (perfect direct relationship), with 0 meaning no monotonic association. Spearman works on ranks, so it tolerates outliers better than Pearson. For covariance instead of correlation, use the pcov operation with the same syntax.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.