The Mann-Kendall Test is used to determine whether a time series has a monotonic upward or downward trend. In MATLAB, Excel, and R there is a calculation command for this. I can’t find any command in Mathematica for MK test. I tried to write a small code in Mathematica, but I got some errors.
Any help would be appreciated.
β is the slope of n pairs of data points. If a significant trend is found, the rate of change can be calculated using the Sen slope estimator (β). In other words, computing the slope for all pairs of data that were used to compute S.