BBMK Test - rileywheadon/ffa-framework GitHub Wiki
The BB-MK Test is used to assess whether there is a statistically significant monotonic trend in a time series.
Unlike the MK test, the BB-MK test is insensitive to autocorrelation.
- Null hypothesis: There is no monotonic trend.
- Alternative hypothesis: There is a monotonic upwards or downwards trend.
To carry out the BB-MK test, we rely on the results of the MK test and Spearman test.
- Compute the MK test statistic.
- Find the least significant lag
$k$ using the Spearman test. - Resample from the original time series in blocks of size
$k+1$ , without replacement. - Estimate the MK test statistic for each bootstrapped sample.
- Derive the empirical distribution of the MK test statistic from the bootstrapped statistics.
- Estimate the significance of the observed test statistic using the empirical distribution.