﻿# How can zero and tied differences change a Wilcoxon comparison?

A practical investigation of how can zero and tied differences change a Wilcoxon comparison?, with explicit observations, control cases and evidence limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-bench-wilcoxon-zero-tied-paired-differences/
Language: en

## The comparison being tested

A paired benchmark has many unchanged outcomes and a few improvements. Its Wilcoxon result changes after the evaluator switches zero handling or computes differences at another precision. The model outputs need not have changed. The analysis depends on how zero differences and equal absolute differences enter ranking, so those conventions belong to the benchmark contract rather than an invisible library default.

## The confounding mechanism

SciPy documents separate wilcox, pratt and zsplit zero conventions. It also warns that subtracting floating-point inputs can make mathematically tied differences appear distinct. The signed-rank hypothesis concerns the distribution of paired differences and its symmetry about zero. Zeros and ties change the null distribution; choosing a method named exact does not guarantee an exact p-value under every such input condition.

## Fix the experimental contract

Define stable pair identities, difference direction, measurement resolution and zero policy before evaluation. Preserve unmatched or failed pairs outside the valid paired calculation with their own outcomes. If rounding is justified to recover the intended measurement resolution, choose that rule from the data contract rather than to obtain significance. Record library release and the effective calculation method, because automatic selection can change across versions.

## A step-by-step comparison

First form within-pair differences and inspect zeros, repeated absolute magnitudes and missing values. Verify the intended resolution against raw observations. Then execute the declared signed-rank analysis and retain its statistic and assumptions. Include controls containing known identical pairs and numerically represented equal differences. Confirm that zero conventions and any justified rounding produce the expected analysis population before interpreting the candidate’s result.

## Evidence required for the result

Provide pair counts before filtering, zero counts, excluded reasons, difference summaries and all evaluator options. Report effect magnitude separately from the p-value and show sensitivity to justified alternative conventions without selecting the most favorable one afterward. An all-zero or otherwise degenerate input must remain explicitly classified under the selected method, not silently replaced by a successful comparison or an invented small p-value.

## Interpretation and limits

The signed-rank procedure does not eliminate session dependence or prove every request improves. Its symmetry and sampling assumptions require attention even when the API returns a finite number. This proposed audit does not run a statistical experiment. It makes the comparison reconstructible by retaining the paired observations and numerical conventions that determine which differences contribute to the reported inference.

## Primary references and related reading

A paired signed-rank analysis must preserve zero handling, numerical tie policy and the actual inference method. [SciPy Wilcoxon paired-difference policies](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.wilcoxon.html); [NIST paired and unpaired mean comparisons](https://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm).

The proposed investigation of wilcoxon zero tied paired differences is not an executed deployment benchmark. Related reading: [GPU benchmark confidence intervals: what counts as an observation](/journal/gpu-benchmark-confidence-interval/); [lm-evaluation-harness task identity: YAML, plugins, filters and code revisions](/journal/data-guide-lm-eval-task-config-revisions/).
