Cody

Problem 1212. Mann-Kendall Correlation

Write a function that returns the Mann-Kendall correlation between two variables x and y

Example

 mk([1 2 3],[4 5 6])
 ans = 1
 mk([1 2 3 4 5],[1 2 4 3 5])
 ans = 0.8

Solution Stats

58.97% Correct | 41.03% Incorrect
Last solution submitted on Jun 25, 2018

Recent Solvers15

Suggested Problems

More from this Author11