...
The MannKendall algorithm first calculates several statistics on the timeseries. Missing values are ignored.
Mann-Kendall statistic S
Variance S
where
- g
is the number of groups of tied data
...
the number of multiple data in the qth time period
Z statistic
Z=
, if S > 0,
- Z = 0
...
, if S = 0
, if S < 0,
Slope
...