SpearmanRankTest
SpearmanRankTest[v1, v2] tests whether the vectors v1 and v2 are independent.
SpearmanRankTest[m1, m2]tests whether the matrices m1 and m2 are independent.SpearmanRankTest[…, "property"]returns the value of "property".
Examples
v1 = {1, 2, 3, 4, 5};
v2 = {5, 6, 7, 8, 7};
SpearmanRankTest[v1, v2]Please visit the official Wolfram Language Reference for more details.