Brunner-Munzel Comparisons: Pair Ordering and Uncertainty
2026-11-18

Brunner-Munzel Comparisons: Pair Ordering and Uncertainty

Brunner-Munzel comparisons ask whether one of two independent groups tends to produce larger values than the other without requiring the two underlying distributions to be identical. That question differs from asking whether their means agree or whether their entire distributions match. For an offline robotics-data exercise, beginning with pairwise ordering makes the effect being discussed easier to interpret before a standardized statistic and a reference distribution are introduced.

Define an ordering score and name its direction

The SciPy 1.16 brunnermunzel documentation describes a null of equal probabilities of obtaining larger values when drawing from each group. It specifies independent samples that may differ in size and does not assume the distributions are the same. Identifying the group orientation is essential because switching the labels reverses which tendency is called larger.

For a teaching score, compare an X value with a Y value. Give one point when X is smaller, half a point for a tie and zero when X is larger. The average over all cross-group pairs estimates the ordering tendency toward Y being larger. A value of one half expresses balance for this ordering question; it does not require identical histograms or equal variability.

Nine cross-group cells score one when X is smaller, one half for ties, and zero otherwise.
Six smaller comparisons and two ties give seven ninths; this table is teaching arithmetic, not an inferential result. Source: Zhilianhai editorial desk, original AI-assisted conceptual illustration.

Count a small synthetic example without calling it a test result

Use invented X values one, two and three, and Y values two, three and four. There are nine cross-group pairs. X equal to one is smaller than all three Y values. X equal to two is smaller twice and tied once. X equal to three is smaller once, tied once and larger once. The total is six smaller comparisons, two ties and one larger comparison.

The score is consequently six plus half of two, divided by nine: seven ninths, approximately 0.7778. Reversing the groups produces two ninths. These fractions summarize the invented pair table. They are not a p-value, a standardized Brunner-Munzel statistic or evidence that a real robot configuration performs better. Three observations per group are deliberately chosen for readable arithmetic rather than a defensible inference exercise.

Separate the ordering effect from its estimated uncertainty

The original SciPy 1.16 implementation obtains ranks for the combined observations and ranks separately within each group. It uses the relationship between those ranks to estimate group-specific variability and standardize the difference. This goes beyond counting the matched direction of individual pairs.

Two data sets can have a similar ordering tendency but different uncertainty because their sample sizes and variability differ. Reporting only the effect score would omit this part of the inferential problem. Conversely, reporting only a standardized statistic would hide the direct ordering interpretation. A useful analysis record keeps the chosen effect direction, the sample sizes and the test configuration together.

Ordering scores seven ninths and two ninths sum to one when the fictional group order is reversed.
A descriptive pair score must retain its group orientation and must not be labeled a Brunner-Munzel standardized statistic. Source: Zhilianhai editorial desk, original AI-assisted conceptual illustration.

The reference distribution is an explicit choice

The interface permits a t reference or a normal reference, with t selected by default in the cited version. The t calculation uses an estimated degrees-of-freedom expression. The documentation discusses small-sample considerations and points to a studentized permutation approach for very small samples. It does not turn a tiny illustrative pair table into a reliable significance claim merely because a function can be called on it.

Keep the alternative direction separate from the reference-distribution selection. A two-sided alternative asks about departure in either ordering direction. A one-sided alternative names a direction in advance. Choosing the direction after seeing which group happened to be larger changes the interpretation and should not be disguised as the originally planned comparison.

Balance of ordering does not imply identical shapes

Imagine two symmetric distributions sharing the same center, with one more spread out than the other. Their chances of producing the larger value can balance even though their shapes differ. That conceptual example explains why the ordering null is narrower than equality of all distributional features. It also explains why a test of variances answers a different question from this comparison.

Real records still require attention to how observations were obtained. Repeated readings from the same run may not provide the independent samples assumed by this interface. Treating every logged line as a new independent unit can change the analysis without collecting more independent evidence. That sampling question needs a description of the experiment or data-collection design, not a different label for the same array.

For a transparent report, show the ordering definition and identify which group is first in the call. Preserve the treatment of ties alongside that definition so that another reader can reproduce the descriptive fraction. Label a small pair table as teaching arithmetic and reserve inferential claims for an appropriate design. Related explanations appear in the robotics data methods and technical article collections.

18028484626 CONTACT US

公司:智联海(惠州)科技有限公司

地址:惠州仲恺高新区陈江街道白云山工业大道 5 号六楼 601

Q Q:18028484626

Copyright © 2002-2026

粤xxx

咨询 在线留言 电话:18028484626
微信 微信扫码添加我