Statistical Methods

The Mann-Kendall Trend Test, Explained for Remote Sensing

6 min read · Updated

Fit a straight line through ten years of NDVI values and you'll get a slope — positive, negative, or flat. But a slope alone doesn't tell you whether that trend is real or just the kind of up-and-down wobble you'd see in any noisy time series, even one with no underlying trend at all. That's the specific gap the Mann-Kendall test fills.

The problem with slope alone

Imagine ten years of NDVI values for a single pixel. A linear regression will always produce some slope — it's a mathematical guarantee, not a finding. If the values happened to drift upward in years 1–4 purely by chance, then downward in years 5–10, the regression line might still show a mild positive or negative slope depending on the exact numbers, without there being any real underlying process driving the change.

This matters a lot in remote sensing specifically, because year-to-year satellite measurements carry real noise — from atmospheric conditions, sensor calibration drift, slightly different acquisition dates or angles, and genuine short-term weather variation. A slope computed from ten data points, several of which are noisy, needs a way to say: is this pattern distinguishable from randomness, or not?

What Mann-Kendall actually tests

The Mann-Kendall test is a non-parametric method — it doesn't assume the data follows a normal distribution, which matters for satellite time series that often don't. Instead of fitting a line, it looks at every pair of values in the sequence and asks a simple question for each pair: is the later value higher or lower than the earlier one?

S = ΣΣ sign(xj − xi)   for all i < j

Each pair contributes +1 if the later value is higher, −1 if lower, and 0 if tied. Sum these up across all pairs to get the statistic S. If the data has a genuine upward trend, most pairs will show later-higher-than-earlier, and S will be strongly positive. If there's no trend, positive and negative pairs roughly cancel out, and S stays close to zero.

The test then compares S to what you'd expect from pure chance, using the known statistical distribution of S for a dataset of that size, producing a Z-score. A common threshold is |Z| ≥ 1.96, corresponding to the standard 95% confidence level (p < 0.05) — if the Z-score clears that bar, the trend is considered statistically significant, not just a slope that happened to come out non-zero.

Why this matters for a map, not just a single pixel

In a spatial trend map — showing, say, vegetation trend across an entire district over 15 years — every pixel gets its own trend line and its own Mann-Kendall test. This produces two layers of information that are easy to conflate but need to stay separate:

A pixel can show a large slope that is not statistically significant (common with short time series or highly variable land cover, like cropland with irregular irrigation), and a pixel can show a small but statistically significant slope (common with a long, consistent time series and low year-to-year noise, like stable forest).

A common reporting mistake: presenting a trend map by color (magnitude) alone, without any significance masking, silently implies every colored pixel represents a real, defensible trend. In practice, a meaningful fraction of pixels in a typical study area — sometimes a majority, for short time series — won't clear a 95% significance threshold. Reporting "X% of the study area shows a statistically significant trend" alongside the map is a stronger, more defensible claim than the map alone.

Practical thresholds

Mann-Kendall's statistical power depends heavily on how many time points you feed it. As a rough guide:

References

  1. Mann, H.B. (1945). Nonparametric tests against trend. Econometrica, 13(3), 245–259.
  2. Kendall, M.G. (1975). Rank Correlation Methods (4th ed.). Griffin, London.
  3. Gilbert, R.O. (1987). Statistical Methods for Environmental Pollution Monitoring. Van Nostrand Reinhold, New York.
  4. Hamed, K.H., & Rao, A.R. (1998). A modified Mann-Kendall trend test for autocorrelated data. Journal of Hydrology, 204(1–4), 182–196.

Run a Mann-Kendall trend map on your own boundary

Spatial Research Suite computes per-pixel trend slope and Mann-Kendall significance together, across any date range from 1984 onward, with the percentage of statistically significant area reported alongside the map.

Launch the app →