Statistical tests
Wilcoxon signed-rank test
Implemented
statistics.wilcoxonDefinition
Rank-based test for paired samples.
Formula
W = Σ rank(|dᵢ|) over positive dᵢ
Inputs and outputs
- paired sample a
- paired sample b
Returns: StatisticalTestResult
Assumptions
- Differences are symmetric about the median.
Limitations
No metric-specific limitations are documented yet. Interpret the value alongside the task, data, and other metrics.
Python API
import evalsuite as es
es.wilcoxon_test(scores_a, scores_b)References
- Wilcoxon, F. (1945). Individual comparisons by ranking methods. Biometrics Bulletin, 1(6), 80–83.