pyMannKendall
pyMannKendall copied to clipboard
there may be a problem with sen's slope?
Hi! Thank you for your M-K package! you define the sen's estimator by this: d[idx : idx + len(j)] = (x[j] - x[i]) / (j - I). But when I checked Sen's paper (1968), I think the denominator should be "Time", that is: (x[j] - x[i])/(t[j] - t[i]).
If someone uses annual data to calculate sen's slope, then your definition is right