Skip to content
EvalSuite
Documentation menu

Statistical tests

Wilcoxon signed-rank test

Implementedstatistics.wilcoxon

Definition

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

PythonSince v0.2.0
import evalsuite as es

es.wilcoxon_test(scores_a, scores_b)

References

  1. Wilcoxon, F. (1945). Individual comparisons by ranking methods. Biometrics Bulletin, 1(6), 80–83.

Implementation status