Overview of pyMannKendall test functions
masterThe pyMannKendall package provides a suite of non-parametric trend analysis tools implemented in pure Python using a vectorization approach for performance. It includes 11 different Mann-Kendall (MK) tests to handle various data characteristics like serial correlation, seasonality, and multivariate parameters, as well as 2 Sen's slope estimators for magnitude calculation.
Mann-Kendall Trend Tests
original_test: The standard non-parametric test; does not account for serial correlation or seasonality.hamed_rao_modification_test: Addresses serial autocorrelation via a variance correction approach. Users can specify the number of significant lags to consider.yue_wang_modification_test: Another variance correction method for serial autocorrelation; allows setting a specific number of significant lags.pre_whitening_modification_test: Applies the Pre-Whitening method to the time series before testing.trend_free_pre_whitening_modification_test: Removes trend components and then applies Pre-Whitening before testing.multivariate_test: Designed for multiple parameters (e.g., seasonal MK tests where each month is a parameter).seasonal_test: Calculates trends specifically for seasonal time series data.regional_test: Calculates the overall trend on a regional scale based on seasonal MK principles.correlated_multivariate_test: A multivariate test used when parameters are correlated.correlated_seasonal_test: Used when time series significantly correlate with preceding months or seasons.partial_test: Used to remove bias from independent parameters that affect the response parameter.