mmk_hr

imdlib.compute.mmk_hr(x_old, alpha=0.05, lag=None)

This function checks the Modified Mann-Kendall (MK) test using Hamed and Rao (1998) method.

Parameters

x_old: a vector (list, numpy array or pandas series) data alpha: significance level (0.05 default) lag: No. of First Significant Lags (default None,

You can use 3 for considering first 3 lags, which also proposed by Hamed and Rao(1998))

Returns

z: normalized test statistics