This Page

stac.nonparametric_tests.shaffer_multitest

stac.nonparametric_tests.shaffer_multitest(ranks)[source]

Performs a Shaffer post-hoc test using the pivot quantities obtained by a ranking test. Tests the hypothesis that the ranking of each pair of groups are different.

Parameters:

pivots : dictionary_like

A dictionary with format ‘groupname’:’pivotal quantity’

Returns:

Comparions : array-like

Strings identifier of each comparison with format ‘group_i vs group_j’

Z-values : array-like

The computed Z-value statistic for each comparison.

p-values : array-like

The associated p-value from the Z-distribution wich depends on the index of the comparison

Adjusted p-values : array-like

The associated adjusted p-values wich can be compared with a significance level

References

  1. Li, A two-step rejection procedure for testing multiple hypotheses, Journal of Statistical Planning and Inference 138 (2008) 1521–1527.