<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3-mathml3.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" dtd-version="1.3" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Appl. Math. Stat.</journal-id>
<journal-title-group>
<journal-title>Frontiers in Applied Mathematics and Statistics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Appl. Math. Stat.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2297-4687</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fams.2025.1640488</article-id>
<article-version article-version-type="Version of Record" vocab="NISO-RP-8-2008"/>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Node-crossing vectors (&#x0201C;NXV&#x0201D;) feasibly extends Mann Whitney U to handle ties and small samples for clinical rating scales</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Reid</surname> <given-names>Keith</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x02020;</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &#x00026; editing</role>
<uri xlink:href="https://loop.frontiersin.org/people/1466155"/>
</contrib>
</contrib-group>
<aff id="aff1"><label>1</label><institution>Positive and Safe Care, Cumbria Northumberland Tyne and Wear NHS Foundation Trust</institution>, <city>Newcastle upon Tyne</city>, <country country="gb">United Kingdom</country></aff>
<aff id="aff2"><label>2</label><institution>Health and Life Sciences, Northumbria University at Newcastle</institution>, <city>Newcastle upon Tyne</city>, <country country="gb">United Kingdom</country></aff>
<author-notes>
<corresp id="c001"><label>&#x0002A;</label>Correspondence: Keith Reid, <email xlink:href="mailto:keith.reid@cntw.nhs.uk">keith.reid@cntw.nhs.uk</email></corresp>
<fn fn-type="other" id="fn002"><label>&#x02020;</label><p>ORCID: Keith Reid <uri xlink:href="https://orcid.org/0000-0002-0280-9183">orcid.org/0000-0002-0280-9183</uri></p></fn></author-notes>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2026-01-12">
<day>12</day>
<month>01</month>
<year>2026</year>
</pub-date>
<pub-date publication-format="electronic" date-type="collection">
<year>2025</year>
</pub-date>
<volume>11</volume>
<elocation-id>1640488</elocation-id>
<history>
<date date-type="received">
<day>04</day>
<month>06</month>
<year>2025</year>
</date>
<date date-type="rev-recd">
<day>09</day>
<month>11</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>28</day>
<month>11</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2026 Reid.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>Reid</copyright-holder>
<license>
<ali:license_ref start_date="2026-01-12">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
<license-p>This is an open-access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License (CC BY)</ext-link>. The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</license-p>
</license>
</permissions>
<abstract>
<p>The Mann-Whitney U test (&#x0201C;MWU&#x0201D;) is a canonical test of order used to compare two groups. A longstanding gap is that MWU handles ties and small samples incorrectly. In the present author&#x00027;s clinical field, this impairs analyses of ward incident counts, or &#x0201C;small&#x0201D; rating scales used for comparing clinical populations such as Clinical Global Impression (&#x0201C;CGI&#x0201D;) and Br&#x000F8;set Violence Checklist (&#x0201C;BVC&#x0201D;). This paper introduces Node-Crossing Vectors (&#x0201C;NXV&#x0201D;), an extension of MWU that solves those problems. While MWU uses sample size and <italic>U</italic>-scores of order to calculate probability, NXV furthermore proceeds from first principles to handle expectations of ties combinatorially. MWU is briefly outlined in NXV&#x00027;s terms, then proven to be inexact for small clinical rating scales. Hitherto, ties were sometimes ignored due to computational difficulty. No settled method had been extant. Here, NXV was applied <italic>a priori</italic> to real CGI scores in a real <italic>n</italic> &#x0003D; 13 problem which featured seven tied elements. Ties were decisive: the population parameter &#x003BB; (expected &#x003C4; tied elements per individual sample of size <italic>n</italic>) critically affects power. NXV with a grounded expectation of seven tied elements gives <italic>p</italic><sub>&#x003BB;7</sub> &#x0003D; 0.0280(3<italic>sf</italic>), above two-tailed &#x003B1; &#x0003D; 0.025, suggesting no difference. Alternatively expecting six tied elements gives <italic>p</italic><sub>&#x003BB;6</sub> &#x0003D; 0.0241(3<italic>sf</italic>), changing the result. NXV is more exact than MWU, has viable code, and improves the analysis of two small samples. The explanation is visually accessible, and simulation data are shown. NXV arose during analyses aiming to protect the rights of restrained persons with protected characteristics and other small samples, but it is generalizable.</p></abstract>
<kwd-group>
<kwd>algorithm</kwd>
<kwd>combinatorics</kwd>
<kwd>exact</kwd>
<kwd>Mann-Whitney U</kwd>
<kwd>ordinal</kwd>
<kwd>rating scales</kwd>
<kwd>non-parametric</kwd>
<kwd>Wilcoxon</kwd>
</kwd-group>
<funding-group>
<funding-statement>The author(s) declared that financial support was received for this work and/or its publication. This work was done during a self funded part-time doctorate while working as a psychiatrist.</funding-statement>
</funding-group>
<counts>
<fig-count count="5"/>
<table-count count="1"/>
<equation-count count="5"/>
<ref-count count="20"/>
<page-count count="10"/>
<word-count count="6565"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Statistics and Probability</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec sec-type="introduction" id="s1">
<label>1</label>
<title>Introduction</title>
<sec>
<label>1.1</label>
<title>Aim</title>
<p>Node-Crossing Vectors (&#x0201C;NXV&#x0201D;) was developed by the present author during research to reduce restraint in psychiatry [<xref ref-type="bibr" rid="B1">1</xref>]. This monograph was written for a special issue on the restraint of women, and allocated to the present applied statistical journal. The present manuscript aims to improve the evaluation of two samples, for ward-sized counts of events and small rating scales, in a novel way, to address long-standing problems regarding measures of order.</p></sec>
<sec>
<label>1.2</label>
<title>MWU and the new test NXV</title>
<sec>
<label>1.2.1</label>
<title>Canonical nature of MWU</title>
<p>MWU is over 75 years old. It may be used when an approximately normal distribution of sample scores cannot be relied upon. A literature search for MWU for the present article gave over 50,000 articles on PubMed [<xref ref-type="bibr" rid="B2">2</xref>].</p></sec>
<sec>
<label>1.2.2</label>
<title>MWU problems with ties</title>
<p>MWU was not designed for ties but for continuous data [<xref ref-type="bibr" rid="B3">3</xref>]. Continuous data can have any value and expects no ties [<xref ref-type="bibr" rid="B4">4</xref>]. Small or tied samples may occur while analyzing restraint or other clinical problems on wards, which may feature &#x0201C;small&#x0201D; population sizes less than twenty and/or rating scales smaller than that. Indeed, as proven below, ties must occur when the sample size exceeds the scoring options, see theorem at 1.3. It is problematic and motivating that a canonical test is provably inexact.</p></sec>
<sec>
<label>1.2.3</label>
<title>Debate over how to respond to MWU difficulty with ties</title>
<p>The literature discusses how to adapt MWU to handle ties. Options (ignore ties, jitter ties) were compared in mental health care by McGee, who concluded empirically that it is least bad to ignore ties [<xref ref-type="bibr" rid="B5">5</xref>]. In response, Neuh&#x000E4;user and Ruxton, while also using empirical approaches, raised concerns that ignoring ties can violate test assumptions. They particularly recommend exact combinatorial methods [<xref ref-type="bibr" rid="B6">6</xref>].</p></sec>
<sec>
<label>1.2.4</label>
<title>Node Crossing Vectors</title>
<p>The present manuscript aims to support such debate at least for small samples. This new test is called &#x0201C;Node-Crossing Vectors,&#x0201D; or NXV, due to its mechanism and visual appearance of lines crossing dots across a lattice. NXV is contrived to spell MWU shifted forward, one letter alphabetically: (M &#x02192; N; W &#x02192; X; U &#x02192; V).</p></sec>
<sec>
<label>1.2.5</label>
<title>Outline of approach</title>
<p>NXV defines a &#x0201C;tied element.&#x0201D; NXV creates a &#x0201C;local&#x0201D; distribution for all of the mutually exclusive predicates regarding how many tied elements there are per sample. The range of such predicates is constrained by sample size. Each mutually exclusive predicate is a statement, &#x0201C;the sample has &#x003C4; tied elements.&#x0201D; NXV proves a distribution of each &#x003C4;-predicate called <italic>E</italic> which turns out to be a truncated Poisson distribution, see proof at 1.4.5.</p>
<p>NXV then uses combinatorics derived from further proofs to &#x0201C;solve&#x0201D; each local distribution. There are three such novel combinatorial algorithms. They agree with each other and with the MWU statistical tables for small values, which were predicated on &#x003C4;<sub>0</sub>. They are Napkin-shifting (see below), bitstring partition, and constrained Stern-Brocot path generation (see Sections 2.4.1&#x02013;2). They are open source. These make sense in a visually accessible lattice paradigm, and all paths with any &#x003C4; cross a lattice of size <italic>s</italic>&#x000D7;<italic>t</italic> as will be seen. The local combinatorics are tightly constrained by &#x003C4;, because &#x003C4; affects path length, see discussion at Sections 1.4.1&#x02013;1.4.4.</p>
<p>To bridge the longstanding gap, this manuscript describes MWU concepts in NXV terms. These include: <italic>U</italic><sub><italic>N</italic></sub>, the &#x0201C;order score&#x0201D; of a path <italic>N</italic>; and &#x1D54C;<sub><italic>s, t</italic></sub>, the &#x0201C;null distribution&#x0201D; of the order score for a given pair of sample sizes <italic>s</italic> and <italic>t</italic>. A real <italic>a priori</italic> problem is analyzed, and ties are shown to be decisive. This is placed in the context of simulation data.</p></sec></sec>
<sec>
<label>1.3</label>
<title>Theorem: MWU is always inexact for small scales</title>
<p>The founding MWU paper showed, employing the notation <italic>U</italic><sub><italic>m, n</italic></sub>, that the distribution of orders &#x1D54C;<sub><italic>s, t</italic></sub> approaches the binomial, then the normal distributions [<xref ref-type="bibr" rid="B3">3</xref>]. NXV uses <italic>s</italic> and <italic>t</italic> from combinatorial literature, allowing the notation <italic>n</italic> &#x0003D; <italic>s</italic>&#x0002B;<italic>t</italic>. While for large <italic>n</italic> the normal approximation is acceptable, for smaller numbers, conversely, it is unacceptable. With relevance to the restraint of women, comparisons involving minorities may tend to be smaller, arguably systematizing biases. One cut-off for acceptability is <italic>n</italic><sub>10</sub>, ten cases, reflected in the design decision by an MWU online engine to not allow less than <italic>n</italic><sub>10</sub> [<xref ref-type="bibr" rid="B7">7</xref>]. Denote the cut-off <italic>d</italic> (for De Moivre-Laplace), and set it at <italic>d</italic> &#x0003D; 10 denoted <italic>d</italic><sub>10</sub>. Let proofs proceed, as if MWU for <italic>n</italic> below <italic>d</italic><sub>10</sub> were inexact.</p>
<p>Set <italic>d</italic><sub>10</sub> below which the MWU-normal approximation fails. Allow the Pigeonhole Principle, modeled on mail-sorting. It states that if there are more cards than pigeonholes, some cards must share a pigeonhole [<xref ref-type="bibr" rid="B8">8</xref>]. Denote the range size of any clinical rating scale using <italic>r</italic>. Define &#x0201C;small&#x0201D; <italic>r</italic> as less than <italic>d</italic>. Some scales used in psychiatry have small <italic>r</italic>&#x0003C;<italic>d</italic><sub>10</sub>. Br&#x000F8;set Violence Checklist (&#x0201C;BVC&#x0201D;) has <italic>r</italic><sub>6</sub> being the sum of six binary sub-scores [<xref ref-type="bibr" rid="B9">9</xref>]. The Clinical Global Impression (&#x0201C;CGI&#x0201D;) or the Bristol Stool Chart has <italic>r</italic><sub>7</sub> possible scores [<xref ref-type="bibr" rid="B10">10</xref>, <xref ref-type="bibr" rid="B11">11</xref>]. Generally, any sample using these scales with <italic>n</italic> greater than <italic>r</italic> has at least <italic>n</italic>&#x02212;<italic>r</italic> tied elements.</p>
<p>The proposition is that, &#x0201C;any measurement scale with <italic>r</italic>&#x0003C;<italic>d</italic> always suffers inexact MWU.&#x0201D; Clearly, <italic>n</italic> is either bigger than <italic>r</italic> (Case A) or not (Case B).</p>
<list list-type="bullet">
<list-item><p>Case A: If <italic>n</italic> is bigger than <italic>r</italic> there must be ties due to the Pigeonhole Principle. MWU is not exact with ties, so in Case A, MWU is inexact.</p></list-item>
<list-item><p>Case B: We know that <italic>r</italic>&#x0003C;<italic>d</italic> in &#x0201C;small&#x0201D; scales by definition. Then, if <italic>n</italic> is not bigger than <italic>r</italic>, <italic>n</italic> must be smaller than <italic>d</italic>. This situation is denoted <italic>n</italic> &#x02264; <italic>r</italic>&#x0003C;<italic>d</italic>. In Case B, MWU is inexact because <italic>n</italic>&#x0003C;<italic>d</italic> due to the approximation breaking down.</p></list-item>
</list>
<p>Any measurement scale with <italic>r</italic>&#x0003C;<italic>d</italic> suffers from inexact MWU &#x025A1;.</p></sec>
<sec>
<label>1.4</label>
<title>Proposed method for tied elements</title>
<sec>
<label>1.4.1</label>
<title>Each untied MWU order maps to a Manhattan path</title>
<p>Imagine truly continuous data, or pragmatically accept methods of jittering, or ignoring ties. Hence, confidently expect &#x003C4;<sub>0</sub>. Certainty in &#x003C4;<sub>0</sub> implies 100% weight to &#x003C4;<sub>0</sub>, 0% to &#x003C4;<sub>1</sub>, ..., until the options for &#x003C4; run out. Denote such expectation (with foreshadowing) as &#x003BB;<sub>0</sub>. This predicate &#x003BB;<sub>0</sub> allows acceptable use of MWU if MWU does not handle ties.</p>
<p>There is a visually accessible way to consider orders of two samples given &#x003BB;<sub>0</sub> see <xref ref-type="fig" rid="F1">Figure 1</xref>. It has been discussed by authorities such as Bucchianico [<xref ref-type="bibr" rid="B12">12</xref>], Knuth [<xref ref-type="bibr" rid="B13">13</xref>], and Stanley [<xref ref-type="bibr" rid="B14">14</xref>]. NXV calls the smaller sample <italic>S</italic> with <italic>s</italic> elements and the other <italic>T</italic> with <italic>t</italic> elements. Call the total sample <italic>N</italic> with <italic>n</italic> &#x0003D; <italic>s</italic>&#x0002B;<italic>t</italic> elements. Any order has its order score. Denote the order score <italic>U</italic> of a total sample <italic>N</italic> using <italic>U</italic><sub><italic>N</italic></sub>. <italic>U</italic><sub><italic>N</italic></sub> tends toward <italic>s</italic>&#x000D7;<italic>t</italic> as <italic>S</italic> comes first in order stochastically.</p>
<fig position="float" id="F1">
<label>Figure 1</label>
<caption><p>&#x1D54C;<sub>3, 4</sub>&#x003BB;<sub>0</sub> null distribution; of 35 possible orders, two in the dashed box have <italic>U</italic> &#x02264; <italic>U</italic>1.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-11-1640488-g0001.tif">
</graphic>
</fig>
<p>On a lattice of width <italic>s</italic> and height <italic>t</italic>, paths encoding all distinct orders with regard to <italic>U</italic> may be comprised by vectors going right for <italic>s</italic> and up for <italic>t</italic>. The ordered set of all possible paths across this lattice encodes &#x1D54C;<sub><italic>st</italic></sub>. Paths must always go from the Cartesian origin (0, 0) to the terminus (<italic>s, t</italic>). For each path, the size of the area around (0, <italic>t</italic>), cut off by the path, is <italic>U</italic><sub><italic>N</italic></sub>. The number of possible untied paths is calculable using the binomial. That is simpler than generating paths, see <xref ref-type="supplementary-material" rid="SM1">Technical Appendix A</xref>. The binomial works for the same reason Pascal&#x00027;s triangle relates to the binomial: each node enjoys the sum of its parent nodes as paths to the terminus, see <xref ref-type="supplementary-material" rid="SM1">Technical Appendix B</xref>.</p>
<p>To illustrate, take a small non-trivial stochastic order of two samples over a &#x1D54C;<sub><italic>s</italic><sub>3</sub><italic>t</italic><sub>4</sub>&#x003BB;<sub>0</sub></sub> lattice, <italic>N</italic> &#x0003D; [<italic>t, t, t, s, t, s, s</italic>] . As encoded in <xref ref-type="fig" rid="F1">Figure 1</xref>, it has an order score <italic>U</italic><sub><italic>N</italic></sub> &#x0003D; 1. See that |&#x1D54C; &#x02264; <italic>U</italic><sub><italic>N</italic></sub>| &#x0003D; 2 in the dotted box. See that |&#x1D54C;| &#x0003D; 35. The exact probability of this local <italic>s</italic><sub>3</sub><italic>t</italic><sub>4</sub>&#x003BB;<sub>0</sub><italic>U</italic><sub>1</sub> problem is hence <inline-formula><mml:math id="M1"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mn>35</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>0571</mml:mn><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mi>s</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
<p>Now, only the tail needs to be generated to give |&#x1D54C; &#x02264; <italic>U</italic><sub><italic>N</italic></sub>|. The present author wrote a simple algorithm for any <italic>s, t, U</italic>, &#x003BB;<sub>0</sub> situation, see <xref ref-type="supplementary-material" rid="SM1">Technical Appendix C</xref>. The algorithm is called Napkin-shifting. Iterating from <italic>U</italic><sub>0</sub> to <italic>U</italic><sub><italic>N</italic></sub> gives the numerator of the probability equation. If the tail is small, i.e., near &#x003B1;, this is efficient. Napkin-shifts resemble napkins on a table being moved while remaining pushed into the corner of a table. The intent was to reduce the need for approximation, especially for small probabilities, but it is a lemma to the tied problem.</p></sec>
<sec>
<label>1.4.2</label>
<title>Definition of tied elements</title>
<p>By NXV&#x00027;s novel definition, any &#x0201C;tied element&#x0201D; is directionally tied to one, and only one, other measure. In graph-theory terms, NXV considers elements, the <italic>nodes</italic> of tying rather than &#x0201C;ties&#x0201D; which are the <italic>edges</italic>. A tied element is never tied to two or more. There are obvious base cases that neither an empty sample <italic>s</italic><sub>0</sub><italic>t</italic><sub>0</sub><italic>n</italic><sub>0</sub>, nor a single measure <italic>s</italic><sub>0</sub><italic>t</italic><sub>1</sub><italic>n</italic><sub>1</sub>, have tied elements. Iff a second element is tied, it is tied to the first, and so on by induction. The stochastic mapping of tied elements to the elements they are tied to, amongst a shared value, is injective; but the distribution does not &#x0201C;need to know&#x0201D; the specific mapping, which would not affect <italic>U</italic> or <italic>U</italic>. Each measure is either tied or not, so &#x003C4; is a whole number. Because each tied measure exhausts one element to be &#x0201C;tied to,&#x0201D; by induction, there cannot be more than <italic>n</italic>&#x02212;1 tied measures. Hence, in NXV, &#x003C4; &#x0003C; <italic>n</italic> and 0 &#x02264; &#x003C4; &#x02264; <italic>n</italic>&#x02212;1 also denoted &#x003C4;&#x02208;[0:<italic>n</italic>&#x02212;1], i.e. tau is in the range zero to <italic>n</italic>&#x02212;1.</p></sec>
<sec>
<label>1.4.3</label>
<title>Tied elements between <italic>S</italic> and <italic>T</italic> lead to slopes</title>
<p>In &#x003BB;<sub>0</sub>, each element encoded a step which, for <italic>s</italic>, is a vector going right in the <italic>U</italic>-lattices in <xref ref-type="fig" rid="F1">Figure 1</xref>; and the <italic>t</italic> is a vector going up. Under non-&#x003BB;<sub>0</sub>, in NXV, the vector sum of <italic>st</italic>-tied steps gives an angled vector. Where there could be <italic>st</italic>-tied elements, but there happen not to be, in a given step, due to either no <italic>s</italic> or no <italic>t</italic>, the step is still a vector; but simply a vector wth a zero value for the relevant axis. This gives MWU-style vertical or horizontal steps as in <xref ref-type="fig" rid="F1">Figure 1</xref>.</p>
<p>Sloping steps have a number of consequences. Any possible combination of steps will still cross the lattice, even a complete tie, which will be a long diagonal line, due to the associative nature of addition. These include null distributions with half-scores for <italic>U</italic><sub><italic>N</italic></sub>, not just whole numbers. The number of possible paths grows. For example, <italic>s</italic><sub>1</sub> and <italic>t</italic><sub>1</sub> can have three orders: [<italic>s, t</italic>], [<italic>t, s</italic>] and <inline-formula><mml:math id="M2"><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, rather than two. This 3 is the same three near the top of <xref ref-type="fig" rid="F2">Figure 2</xref>: it has 3 paths home to the top.</p>
<fig position="float" id="F2">
<label>Figure 2</label>
<caption><p>McMeekin Hill: each number counts paths home via any visible node, not just two parents.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-11-1640488-g0002.tif">
</graphic>
</fig>
<p>The present author contributed a peer-reviewed method to compute all paths across a lattice if tied elements and sloped steps are allowed [<xref ref-type="bibr" rid="B15">15</xref>]. This creates McMeekin Hill, an elaboration of Pascal&#x00027;s Triangle named for his doctoral supervisors, <xref ref-type="fig" rid="F2">Figure 2</xref> [<xref ref-type="bibr" rid="B16">16</xref>]. This gives a visual proof that the total number of paths across an <italic>s</italic><sub>3</sub><italic>t</italic><sub>4</sub> lattice is 266 if the lattice can allow slopes to model ties. Each number in that triangular structure is the sum of all visible nodes, not just the two parents. For example, see the path below in <xref ref-type="fig" rid="F3">Figure 3</xref>. This use of slopes to manage the complexity of tied elements is the core innovation of NXV.</p>
<fig position="float" id="F3">
<label>Figure 3</label>
<caption><p>Sam and Terri&#x00027;s <italic>N</italic> &#x0003D; [<italic>t&#x02191;, t&#x02191;</italic>, (<italic>ttt&#x02191;&#x02191;&#x02191;</italic>), (<italic>ssttt</italic>&#x02197;), (<italic>st</italic>&#x02197;), <italic>s</italic> &#x02192; ] is a <italic>s</italic><sub>4</sub><italic>t</italic><sub>9</sub><italic>q</italic><sub>6</sub> path with <italic>U</italic><sub>5.5</sub>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-11-1640488-g0003.tif">
</graphic>
</fig>
</sec>
<sec>
<label>1.4.4</label>
<title>Consequences and constraints on <italic>r, n, q</italic>, and &#x003C4;</title>
<p>Any MWU or NXV path encoding an order of measures has steps. Each step encodes the presence of one or more measures from <italic>S</italic> or <italic>T</italic>. Denote the number of steps <italic>q</italic>. <italic>q</italic> has limits derivable from <italic>s</italic> and <italic>t</italic> as follows.</p>
<p>The lower limit of <italic>q</italic> is 1, because any path has steps/measures. One upper limit of <italic>q</italic> is <italic>n</italic>, because steps encode elements in <italic>n</italic>. When there are no ties, all paths can be made from <italic>n</italic> steps as in <xref ref-type="fig" rid="F1">Figure 1</xref>. This <italic>q</italic> &#x0003D; <italic>n</italic> attribute is true of all paths with no tied elements and hence all orders handled by MWU.</p>
<p>Tied elements shorten paths, reducing the steps. The pigeonhole principle implies <italic>n</italic> &#x0003D; <italic>q</italic>&#x0002B;&#x003C4; or, from <italic>q</italic>&#x00027;s point of view, <italic>q</italic> &#x0003D; <italic>n</italic>&#x02212;&#x003C4;. This is consistent with &#x003BB;<sub>0</sub> having paths of length <italic>n</italic>.</p>
<p>Furthermore, if a rating scale has a countable number of possible scores <italic>r</italic>, as in CGI <italic>r</italic><sub>7</sub>, the path cannot have more steps than <italic>r</italic>. So there have to be at least as many tied elements as the difference between <italic>n</italic> and <italic>r</italic>. This limit is denoted &#x003C4;&#x02265;<italic>r</italic>&#x02212;<italic>n</italic>. NXV needs a new null <italic>U</italic><sub><italic>st</italic></sub>, or family of them, that handles &#x003BB;<sub>&#x0003E;0</sub>. It must correctly weigh the expectation of each mutually exclusive predicate regarding &#x003C4;. These are [&#x003C4;<sub>0</sub>, &#x003C4;<sub>1</sub>...&#x003C4;<sub><italic>n</italic>&#x02212;1</sub>] if <italic>r</italic>&#x02265;<italic>n</italic>; or [&#x003C4;<sub>0&#x0002B;<italic>n</italic>&#x02212;<italic>r</italic></sub>, &#x003C4;<sub>1&#x0002B;<italic>n</italic>&#x02212;<italic>r</italic></sub>...&#x003C4;<sub><italic>n</italic>&#x02212;1</sub>] if <italic>r</italic>&#x0003C;<italic>n</italic>.</p></sec>
<sec>
<label>1.4.5</label>
<title>Theorem: devising a correct null distribution for tied elements</title>
<p>Two useful axioms seem fair in the context of constructing this null.</p>
<list list-type="bullet">
<list-item><p>If tied elements occur in samples from a population with consistent &#x0201C;tiedness&#x0201D; between samples, the expected rate of tied elements may be denoted &#x003BB;. &#x003BB; may be any non-negative real number, but is subject to the same upper and lower limits as &#x003C4; because &#x003BB; is a count of tied elements. While &#x003C4; must be a whole number, &#x003BB; may be any real number in the possible range of &#x003C4;. NXV calls this first condition &#x0201C;constancy of &#x003BB;.&#x0201D;</p></list-item>
<list-item><p>Secondly, the null distribution for a test of order must not make assumptions about order. Patterns in tied elements are an aspect of order. There may be patterns in the actual population and in the samples; that is a different question from constructing a fair null. Each tied element in the null must be assumed to occur independently, albeit it at a certain overall rate per <italic>N</italic>, which is &#x003BB;. NXV calls this condition, &#x0201C;independence of tied elements in the null.&#x0201D;</p></list-item>
</list>
<p>The null distribution of tied elements is hence modeled by a known distribution. That is the Poisson distribution, the assumptions for which are: constancy of &#x003BB;; and independence of tied elements in the null. Poisson is used for independent events occurring over a defined space, like the number of calls a resident doctor gets per on-call. The distribution will be bounded by the limits on &#x003C4;, which are 0 or <italic>n</italic>&#x02212;<italic>r</italic> at the bottom and <italic>n</italic>&#x02212;1 at the top. Bringing this together, the null distribution of tied elements is a &#x0201C;truncated Poisson distribution.&#x0201D; &#x025A1;</p></sec></sec></sec>
<sec id="s2">
<label>2</label>
<title>Worked example</title>
<p>Denote the truncated Poisson &#x1D53C; for expectation. The benefit of defining &#x1D53C; is that it helps weigh all mutually exclusive possible &#x003C4;. It is simple to calculate, as solving a real <italic>a priori</italic> problem will show.</p>
<sec>
<label>2.1</label>
<title>Setting</title>
<p>Now, NXV is demonstrated to analyze anonymized <italic>a priori</italic> real data. In January 2025, CGI ratings were performed on patients of two clinicians, Sam and Terri. A two-tailed test reduced &#x003B1; to &#x003B1; &#x0003D; 0.025.</p></sec>
<sec>
<label>2.2</label>
<title>Data</title>
<sec>
<label>2.2.1</label>
<title>Algebraic encoding</title>
<p>Sam&#x00027;s cohort had CGI scores of <italic>S</italic> &#x0003D; [4, 4, 5, 6]. Terri&#x00027;s had <italic>T</italic> &#x0003D; [1, 2, 3, 3, 3, 4, 4, 4, 5]. Terri&#x00027;s come first, but to keep <italic>U</italic> below <inline-formula><mml:math id="M3"><mml:mfrac><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x000D7;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac></mml:math></inline-formula>, aiding tail calculation, paths can be reversed, to keep the <italic>U</italic>-area top left without affecting extremity, in a two-tailed test. If round brackets mean steps with tied measures and the superscripts are counts of tied elements in each step, the overall order may be written:</p>
<disp-formula id="E1"><mml:math id="M4"><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mi>&#x02191;</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mi>&#x02191;</mml:mi><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mi>t</mml:mi><mml:mi>t</mml:mi><mml:mi>&#x02191;</mml:mi><mml:mi>&#x02191;</mml:mi><mml:mi>&#x02191;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi><mml:mi>t</mml:mi><mml:mi>t</mml:mi><mml:mo>&#x02197;</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mi>t</mml:mi><mml:mo>&#x02197;</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:math></disp-formula>
<p>There are &#x003C4; &#x0003D; 2&#x0002B;4&#x0002B;1 &#x0003D; &#x003C4;<sub>7</sub> tied elements in total, so this is an <italic>s</italic><sub>4</sub><italic>t</italic><sub>9</sub><italic>n</italic><sub>13</sub>&#x003C4;<sub>7</sub> situation.</p></sec>
<sec>
<label>2.2.2</label>
<title>Lattice path encoding</title>
<p>See <xref ref-type="fig" rid="F3">Figure 3</xref> for the path encoding, which features slopes for steps with <italic>st</italic>-tied elements. The order score is <italic>U</italic><sub>5.5</sub>, picked out in gray dashes, analogous to the black parts of <xref ref-type="fig" rid="F1">Figure 1</xref>. As with the more blocky MWU lattices, there is a decidable order of all possible lattices that comprise the null distribution. The problem&#x00027;s path length is thus <italic>n</italic><sub>13</sub>&#x02212;&#x003C4;<sub>7</sub> &#x0003D; <italic>q</italic><sub>6</sub>, though the first steps have the same angle. The appearance of four actual congruent lines may be called an appearance of four &#x0201C;limbs.&#x0201D;</p></sec>
<sec>
<label>2.2.3</label>
<title>Analysis as if &#x003BB;<sub>0</sub>, no ties (inaccurate)</title>
<p><italic>U</italic><sub>5.5</sub> does not exist in the MWU distribution. MWU only makes whole numbers of <italic>U</italic>. An approximation would be to use the efficient methods above applied to <italic>U</italic><sub>5.5</sub>. By factorials, |&#x1D54C;<sub>3, 9</sub>| &#x0003D; 715. By Napkin-shifting |&#x1D54C;<sub>4, 9</sub> &#x02264; 5| &#x0003D; 18. The exact probability of this incorrect question is <inline-formula><mml:math id="M5"><mml:mi>p</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>18</mml:mn></mml:mrow><mml:mrow><mml:mn>715</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>0252</mml:mn><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mi>s</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. In this two tailed test, &#x003B1; was set as 0.025. Hence, by a small margin, the null hypothesis remains that neither clinician has easier patients: the author reaffirms that the data were collected <italic>a priori</italic>, though the narrowness of the result becomes pedagogically useful. <xref ref-type="fig" rid="F4">Figure 4</xref> shows the null &#x1D54C;<sub>4, 9</sub>&#x003BB;<sub>0</sub> distribution with the lower tail picked out in blue. Though <italic>U</italic><sub>5.5</sub> would be a gray scatter point, it does not arise.</p>
<fig position="float" id="F4">
<label>Figure 4</label>
<caption><p>The distribution <italic>s</italic><sub>4</sub><italic>t</italic><sub>9</sub> with <italic>U</italic><sub>&#x02264; 5.5</sub> in blue, which are <italic>tail</italic> &#x0003D; 18 of the possible <italic>total</italic> &#x0003D; 715 orders.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-11-1640488-g0004.tif">
</graphic>
</fig></sec></sec>
<sec>
<label>2.3</label>
<title>Using the correct distribution for tied elements</title>
<sec>
<label>2.3.1</label>
<title>Defining bounds</title>
<p>There are thirteen possible <italic>s</italic><sub>4</sub><italic>t</italic><sub>9</sub>&#x003C4;<sub><italic>i</italic></sub> distributions, each predicated on a particular possible &#x003C4;. See <xref ref-type="supplementary-material" rid="SM1">Technical Appendix D</xref>. Sam and Terri ground &#x003BB; on &#x003C4;<sub>7</sub> and fix &#x003BB;<sub>7</sub>. The Poisson distribution predicts a probability of various &#x003C4; being found in null distributions of similar samples. The lowest possible &#x003C4; is <italic>n</italic><sub>13</sub>&#x02212;<italic>r</italic><sub>7</sub> &#x0003D; &#x003C4;<sub>6</sub> which could be used if the assumption of lowest possible tied elements were seen as parsimonious. The highest is <italic>n</italic><sub>13</sub>&#x02212;1 &#x0003D; &#x003C4;<sub>12</sub>. So all possible counts of tied elements are in that range, called &#x0201C;tau in range 6 to 12,&#x0201D; denoted &#x003C4;&#x02208;[6:12]. In similar terms, the MWU distribution expecting no ties is a truncated Poisson distribution &#x1D53C;<sub>&#x003BB;0</sub>[0:<italic>n</italic>&#x02212;1].</p></sec>
<sec>
<label>2.3.2</label>
<title>Using &#x1D53C;</title>
<p>The only conditions are the constancy of &#x003BB;, independence of tied elements, and the constraints of truncation. Sam and Terri denote their truncated Poisson distribution &#x1D53C;<sub>&#x003BB;7</sub>[6:12]. &#x1D53C; is a bridge to predicting path lengths. The claim was made that &#x1D53C; is easy to calculate. Each probability for each &#x003C4; should have the standard Poisson formula:</p>
<disp-formula id="E2"><mml:math id="M6"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:math></disp-formula>
<p>This can be simplified as follows. The values <italic>e</italic> and &#x003BB; are constant. <italic>e</italic> is a constant and &#x003BB; does not vary due to constancy of &#x003BB;. So, taking out <italic>e</italic><sup>&#x02212;&#x003BB;</sup> gives each &#x003C4; a simpler formula while keeping their proportional values intact. Using &#x0221D; for &#x0201C;proportional to&#x0201D; instead of =:</p>
<disp-formula id="E3"><mml:math id="M7"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0221D;</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:math></disp-formula>
<p>This is just &#x003BB; times itself &#x003C4; times, divided by the factorial of &#x003C4;, and can be done by hand for small values. The sum of probabilities for all possible &#x003C4; is <italic>p</italic> &#x0003D; 1.0, so they can all be divided by their sum to get a series of probabilities which add up to <italic>p</italic> &#x0003D; 1.0. This gives a formula for a list of probabilities in the truncated Poisson distribution <italic>&#x1D53C;&#x003BB;</italic><sub>7[6:12]</sub>.</p>
<p>The link between &#x003C4; and <italic>q</italic> is crucial. Each &#x003C4;-predicate, iff true, implies one and only one <italic>q</italic> because of the rule <italic>n</italic> &#x0003D; <italic>q</italic>&#x0002B;<italic>t</italic>. These probabilities are exact when written as fractions, but are rounded here for readability. So, rounded to 3 significant figures, the probabilities of the various numbers &#x003C4; of tied elements are:</p>
<disp-formula id="E4"><mml:math id="M8"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mi>&#x1D53C;</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mn>7</mml:mn><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>6</mml:mn><mml:mo>:</mml:mo><mml:mn>12</mml:mn></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mn>7</mml:mn></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>6</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mn>7</mml:mn></mml:mrow><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>7</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mn>7</mml:mn></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>12</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mn>6</mml:mn></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>6</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mn>7</mml:mn></mml:mrow><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>7</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac><mml:mo>&#x0002B;</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mn>7</mml:mn></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn>12</mml:mn><mml:mo>!</mml:mo></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>163</mml:mn><mml:mfrac><mml:mrow><mml:mn>289</mml:mn></mml:mrow><mml:mrow><mml:mn>720</mml:mn></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mn>163</mml:mn><mml:mfrac><mml:mrow><mml:mn>289</mml:mn></mml:mrow><mml:mrow><mml:mn>720</mml:mn></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mn>28</mml:mn><mml:mfrac><mml:mrow><mml:mn>86973769</mml:mn></mml:mrow><mml:mrow><mml:mn>97056056</mml:mn></mml:mrow></mml:mfrac></mml:mrow><mml:mrow><mml:mn>737</mml:mn><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>222</mml:mn><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:mn>7</mml:mn><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>222</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mn>8</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>194</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mn>9</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>151</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>106</mml:mn><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mn>11</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>067</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>039</mml:mn><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mi>s</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>It is convenient to reverse these values and leave just the <italic>q</italic> label before building all paths. The reversed form of the distribution could be denoted &#x0211A;. &#x0211A; is &#x1D53C; in reverse order, so <inline-formula><mml:math id="M9"><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>163</mml:mn><mml:mfrac><mml:mrow><mml:mn>289</mml:mn></mml:mrow><mml:mrow><mml:mn>720</mml:mn></mml:mrow></mml:mfrac></mml:mrow><mml:mrow><mml:mn>737</mml:mn><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>222</mml:mn><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mi>s</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> has gone from the front to the back.</p>
<disp-formula id="E5"><mml:math id="M10"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mi>&#x0211A;</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mrow><mml:mn>7</mml:mn><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>6</mml:mn><mml:mo>:</mml:mo><mml:mn>12</mml:mn></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>039</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>067</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>106</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>151</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>194</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>222</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>222</mml:mn><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mi>s</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr></mml:mtr></mml:mtable></mml:math></disp-formula>
</sec></sec>
<sec>
<label>2.4</label>
<title>Combinatorial approaches for each local distribution &#x1D54C;<sub><italic>stq</italic></sub></title>
<p>Napkin-shifting was a method for building the tail of &#x003BB;<sub>0</sub> distributions, to complement the ease of binomial calculation. Two other methods have been developed by the present author for NXV, and both are submitted with the manuscript and explained here. The first is bitstring partition, and the second, which has proved more efficient, is constrained Stern-Brocot path generation. They give equivalent answers to each other, and to Napkin-shifting for &#x003BB;<sub>0</sub>, and to the original MWU paper&#x00027;s data tables.</p>
<sec>
<label>2.4.1</label>
<title>Bitstring partition</title>
<p>Every path has at least one <italic>s</italic> or <italic>t</italic> element in every step in its length <italic>q</italic>. This means each path can be represented by a figure like this <inline-formula><mml:math id="M11"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mi>T</mml:mi><mml:mtext>&#x02009;111110</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mtext>&#x02009;000111</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></inline-formula>, of length <italic>q</italic>, which is called a &#x0201C;presence bit-string.&#x0201D; Indeed, this figure <inline-formula><mml:math id="M12"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mi>T</mml:mi><mml:mtext>&#x02009;111110</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mtext>&#x02009;000111</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></inline-formula> represents <italic>N</italic>, the order of Sam and Terri&#x00027;s path. The 1s represent the presence of some elements in <italic>T</italic> and <italic>S</italic> over the whole path, and the length is still <italic>q</italic><sub>6</sub>. The present author has written another algorithm to generate all such figures. Then <italic>s</italic> &#x0003D; 4 and <italic>t</italic> &#x0003D; 9 can be shared out among the ones. Each presence bit-string represents a family of orders that are different, sharing of <italic>s</italic> and <italic>t</italic> amongst its figure 1s on each line. This generates all paths that can arise for a given length. There is some redundancy. In <italic>s</italic><sub>4</sub><italic>t</italic><sub>4</sub><italic>q</italic><sub>2</sub>, for example, the bit-string <inline-formula><mml:math id="M13"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mi>T</mml:mi><mml:mtext>&#x02009;11</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mtext>&#x02009;11</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></inline-formula> could encode both <inline-formula><mml:math id="M14"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mi>T</mml:mi><mml:mtext>&#x02009;2,2</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mtext>&#x02009;2,2</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></inline-formula> and <inline-formula><mml:math id="M15"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mi>T</mml:mi><mml:mtext>&#x02009;3,1</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>S</mml:mi><mml:mtext>&#x02009;3,1</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></inline-formula> which result in the same limbs.</p></sec>
<sec>
<label>2.4.2</label>
<title>Constrained Stern-Brocot path generation</title>
<p>This approach, based on <xref ref-type="fig" rid="F2">Figure 2</xref>, uses the Stern-Brocot tree to generate all vectors that have co-prime <italic>s</italic> and <italic>t</italic> vectors, allowing for extension through limbs. All paths of length <italic>q</italic> have <italic>q</italic> such vectors and meet at the terminus. With inputs of <italic>s, t, q</italic>, it generates all paths across a lattice of length <italic>q</italic>. Constrained Stern-Brocot path generation is efficient enough to have solved and cached all <italic>s, t, q</italic> distributions up to a certain size in a &#x0201C;output.txt&#x0201D; file on a domestic computer. The file in the shared source code is a Julia program called &#x0201C;stqU_iterator.jl&#x0201D; which writes the output, including Unicode graphs of distributions per <xref ref-type="supplementary-material" rid="SM1">Appendix D</xref>. Once output is cached, the execution is trivial on a domestic computer as a separate program called &#x0201C;jupyter-st_base.ipynb&#x0201D; does the lambda weighting and presentation. This was used for the simulations.</p></sec>
<sec>
<label>2.4.3</label>
<title>Implications</title>
<p>Therefore, each mutually exclusive <italic>q</italic>-set of paths has two calculable attributes shown in <xref ref-type="table" rid="T1">Table 1</xref>. Each has its <italic>U</italic><sub><italic>stq</italic></sub> which gives its own probability, based on a fraction <inline-formula><mml:math id="M16"><mml:mfrac><mml:mrow><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:mfrac></mml:math></inline-formula>. Each also has its own probability under &#x0211A;. For clarity, the left-hand column is the probabilities of each predicate, the right-hand column is the local probability if the predicate is true. The left is built using Poisson assumptions about &#x003C4;. The right is combinatorially built using constraints of <italic>q</italic>. The bridge between them is the pigeonhole principle <italic>n</italic> &#x0003D; <italic>q</italic>&#x0002B;<italic>t</italic>.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Each number of steps <italic>q</italic> has a tail and total giving a local <italic>p</italic><sub><italic>nxv</italic></sub>, and a defined probability under &#x0211A;.</p></caption>
<table frame="box" rules="all">
<thead>
<tr>
<th valign="top" align="left"><bold>local <italic>p</italic><sub><italic>nxv</italic></sub></bold></th>
<th valign="top" align="center"><bold>Probability under &#x0211A;</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M17"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>000</mml:mn><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>1</sub></sub>:0.039</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M18"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>4</mml:mn></mml:mrow><mml:mrow><mml:mn>48</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>0833</mml:mn><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>2</sub></sub>:0.067</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M19"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>37</mml:mn></mml:mrow><mml:mrow><mml:mn>594</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>0622</mml:mn></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>3</sub></sub>:0.106</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M20"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>131</mml:mn></mml:mrow><mml:mrow><mml:mn>3274</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>04001</mml:mn></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>4</sub></sub>:0.151</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M21"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>218</mml:mn></mml:mrow><mml:mrow><mml:mn>9774</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>0223</mml:mn></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>5</sub></sub>:0.194</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M22"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>251</mml:mn></mml:mrow><mml:mrow><mml:mn>17970</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>01397</mml:mn></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>6</sub></sub>:0.222</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M23"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mi>x</mml:mi><mml:mi>v</mml:mi><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>241</mml:mn></mml:mrow><mml:mrow><mml:mn>22694</mml:mn></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>01062</mml:mn></mml:math></inline-formula></td>
<td valign="top" align="center">&#x000D7;<italic>weight p</italic><sub><italic>q</italic><sub>7</sub></sub>:0.222</td>
</tr>
<tr>
<td/>
<td valign="top" align="center"><italic>sum of weights p</italic><sub><italic>q</italic>[1:7]</sub>:1.000</td>
</tr>
<tr>
<td valign="top" align="left"><italic>p</italic><sub><italic>NXV</italic></sub></td>
<td valign="top" align="center"><inline-formula><mml:math id="M24"><mml:mo>=</mml:mo><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mi>o</mml:mi><mml:mi>f</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mfrac><mml:mrow><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:mfrac><mml:mo>&#x000D7;</mml:mo><mml:mi>w</mml:mi><mml:mi>e</mml:mi><mml:mi>i</mml:mi><mml:mi>g</mml:mi><mml:mi>h</mml:mi><mml:mi>t</mml:mi><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>0280</mml:mn><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mi>s</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>.</td>
</tr></tbody>
</table>
</table-wrap></sec>
<sec>
<label>2.4.4</label>
<title>The local probability score of each path length is weighted according to <italic>E</italic></title>
<p>Each local <italic>p</italic><sub><italic>nxv q</italic></sub> can be multiplied by the probability of the <italic>q</italic> path length arising to give a weighted sum. That is the exact test score, <italic>p</italic><sub><italic>NXV</italic></sub>, written with capital subscripts above to reflect it is the weighted sum of all the circumstances arising from this <italic>U, s, t</italic>, &#x003BB; situation. Applying this method with &#x003BB;<sub>0</sub> gives <italic>p</italic><sub><italic>MWU</italic></sub> test results, which is <italic>p</italic> &#x0003D; 0.252, as seen at 2.2.3. That is the probability if ties are impossible, and if the <italic>p</italic><sub><italic>nxv</italic><sub><italic>q</italic></sub><sub><italic>n</italic></sub></sub> <inline-formula><mml:math id="M25"><mml:mfrac><mml:mrow><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>18</mml:mn></mml:mrow><mml:mrow><mml:mn>252</mml:mn></mml:mrow></mml:mfrac></mml:math></inline-formula> is weighted at <italic>p</italic> &#x0003D; 1.00 of occurring. That is out of the question, because there is no likelihood of &#x003BB;<sub>0</sub> in this problem given <italic>n</italic> and CGI&#x00027;s small <italic>r</italic>.</p></sec></sec>
<sec>
<label>2.5</label>
<title>Final results</title>
<p>The answer with &#x003BB;<sub>7</sub> was <italic>p</italic><sub><italic>NXV</italic><sub>&#x003BB;</sub><sub>7</sub></sub> &#x0003D; 0.0280. Neither clinician would have more unwell patients. The answer or <italic>p</italic><sub><italic>NXV</italic></sub> with &#x003BB;<sub>6</sub>, which was lowest possible &#x003BB;, is <italic>p</italic><sub><italic>NXV</italic><sub>&#x003BB;</sub><sub>6</sub></sub> &#x0003D; 0.0241 falling below &#x003B1;. It would have made Sam appear to have more unwell patients. This demonstrates the helpfulness of a derived combinatorial method for tied elements.</p></sec>
<sec>
<label>2.6</label>
<title>Simulations</title>
<p>The following simulations were performed referring to guidance from Morris et al. [<xref ref-type="bibr" rid="B17">17</xref>]. The importance of tied elements and &#x003BB; was felt to have been shown for the present problem. So the estimand of interest was &#x003BB; and how the weighted nulls performed against &#x0201C;null&#x0201D; samples, which were <italic>st</italic> samples that were taken and then shuffled. Because there is an infinite number of possible <italic>s, t, q</italic>, and &#x003BB;, it was decided to use samples that reflect particular difficulties or edge cases.</p>
<p>The <italic>st</italic> sizes chosen were:</p>
<list list-type="bullet">
<list-item><p>smallest non-trivial s3t4.</p></list-item>
<list-item><p>most asymmetric s2t11.</p></list-item>
<list-item><p><italic>s</italic><sub>5</sub><italic>t</italic><sub>5</sub> near <italic>d</italic><sub>10</sub> cutoff.</p></list-item>
<list-item><p>like Sam and Terri s4t9.</p></list-item>
<list-item><p>largest complete symmetric s10t10.</p></list-item>
</list>
<p>Generating code was retained with explicit seeds. Underlying populations were independently shuffled columns and are in .csv files. All were presented unjittered and jittered; jittering tends to push the expectation of tied elements toward &#x003BB;<sub>0</sub>. The simulations are submitted as .html files. They estimate &#x003BB; using mode, mean, mean of a sample of <italic>n</italic> samples, and the found &#x003C4; in the sample. Where <italic>r</italic> is not restrictive, truncation could be empirical. Options for truncation include defined using all &#x003C4; that arose, or only those that were significantly present, i.e., more than 0.05 of all samples. The simulations iterate through these. These are the problems.</p>
<list list-type="bullet">
<list-item><p>Six-Sided dice vs. Seven-Sided dice.</p></list-item>
<list-item><p>Primes up to 20 vs. Odd numbers up to 20.</p></list-item>
<list-item><p>Ints up to 20 vs. Rounded Floats one decimal up to 10.</p></list-item>
<list-item><p>Vowels in the first 270 words of McGee vs. the first 270 words of Neuh&#x000E4;user and Ruxton.</p></list-item>
<list-item><p>Word length in the first 270 words of McGee vs. the first 270 words of Neuh&#x000E4;user and Ruxton.</p></list-item>
<list-item><p>Risk ordinal rating data: Item A <italic>n</italic> = 320 vs Item_B anonymized bulk risk data <italic>n</italic> = 320; both are mainly 0,1,2 but A can exceptionally be rated 3.</p></list-item>
<list-item><p>Cauchy-derived distribution of integers with incremental increases of <italic>t</italic> values by 0,1,2,4,8.</p></list-item>
<list-item><p>Normally-derived distribution of integers with incremental increases of <italic>t</italic> values by 0,1,2,4,8.</p></list-item>
</list>
<p>See for example, <xref ref-type="fig" rid="F5">Figure 5</xref> the estimation of &#x003BB; in an <italic>s</italic><sub>4</sub><italic>t</italic><sub>9</sub> comparison of the number of vowels in the text of McGee vs Neuh&#x000E4;user &#x00026; Ruxton. The mean appears to be a good estimate on visual inspection. The randomly chosen sample must have had one tied element, which leads to a truncated &#x003BB;<sub>1</sub> distribution. The modal estimate is often acceptable. In this example, however, the modal estimate becomes &#x003BB;<sub>0</sub>, losing the double curve shape - integers <italic>U</italic> in one, half-<italic>U</italic>s in the other.</p>
<fig position="float" id="F5">
<label>Figure 5</label>
<caption><p><italic>s</italic><sub>4</sub><italic>t</italic><sub>9</sub> samples of text comparing numbers of vowels with NXV distributions for different &#x003BB;.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fams-11-1640488-g0005.tif">
</graphic>
</fig>
</sec></sec>
<sec id="s3">
<label>3</label>
<title>Discussion and limitations</title>
<p>The intent of NXV was to develop an extension of MWU that is more exact, inspired by Fisher&#x00027;s Exact test&#x00027;s exactness over Chi-Squared. As explained in a textbook on &#x0201C;Essential Statistics,&#x0201D; Fisher&#x00027;s is exact but not always available because the calculation is &#x0201C;tedious&#x0201D; [<xref ref-type="bibr" rid="B18">18</xref>]. Until NXV, the exact assessment of MWU with no tied elements, which is <italic>p</italic><sub><italic>NXV</italic><sub>&#x003BB;</sub><sub>0</sub></sub>, had been similarly more laborious than the normal approximation. But the &#x003BB;<sub>0</sub> subset of MWU can now be calculated using factorials, or addition for the <italic>total</italic> and napkin-shifting for the <italic>tail</italic>. NXV thus aspires to greater exactitude without tedium for the clinician.</p>
<p>There are limitations, as with any method. Firstly, regarding &#x1D53C;<sub>&#x003BB;[<italic>main</italic>:<italic>max</italic>]</sub>, perhaps the assumptions of constancy of &#x003BB;, and independence of tied elements in the null distribution are open to criticism. There are two responses that occur. Some other author may cogently suggest a &#x0201C;better&#x0201D; &#x1D53C; to describe tied elements. This might be something other than based on Poisson, for example, hypergeometric or negative binomial null distributions. That new &#x1D53C;&#x02032; could still be a bridge to path lengths, giving a new &#x0211A;&#x02032;. In that context, the innovations of tied slopes and <italic>stq</italic>-distributions still stand and can be used.</p>
<p>However, to the present author, the two assumptions of the constancy of lambda and the independence of tied elements are supported, having been argued for above. If a given population breaches them, this may be part of the process that is the thing under study. In simulations, the distribution of actual samples of <italic>U</italic>-scores was usually different from the null, especially where an effect was coded in, such as the increments of 0, 1, 2, 4, 8 to the integer series.</p>
<p>The increased computational demand of allowing ties stops calculation at about <italic>s</italic><sub>10</sub><italic>t</italic><sub>10</sub> on a domestic computer. There is a some computational efficiency to be gained yet. Some principles of this are discussed below in a section regarding future work. The point of the current article was not a perfect tool but rather proof of principle. Multi-threading alone, i.e., the use of multiple cores, will bring increases because each <italic>stq</italic> problem can be tackled in parallel.</p>
<p>NXV, despite any claimed benefits, may not change the quality of analysis. No amount of exactitude can help incomplete data, which is characteristic of restraint data both nationally in England and internationally [<xref ref-type="bibr" rid="B1">1</xref>, <xref ref-type="bibr" rid="B19">19</xref>]. Ironically, an attempt to exactly quantify incompleteness of restraint data, using MWU, by the present author, was the spur to trying to extend MWU [<xref ref-type="bibr" rid="B20">20</xref>]. Even if analysis were perfect, the causes of unnecessary restraint, especially among women, partly rest in wider societal issues which an individual analyst may find difficult to change, no matter how exact and complete their data analysis is.</p></sec>
<sec sec-type="conclusions" id="s4">
<label>4</label>
<title>Conclusion</title>
<p>This manuscript offers proof of principle of NXV. NXV is proposed as a new extension of MWU so that small groups of clinical data, which may be tied, can be exactly compared. It has been argued that this is of relevance where <italic>r</italic> is small, especially in minority groups or for women. Though NXV was developed in medicine, it may be generalizable. It is hoped that the visual methods make the NXV method interesting and understandable in order to apply this test in clinical practice.</p>
<p>There are several possible future directions. Firstly, the author hopes these methods can help protect human rights by being part of the restraint reduction effort, which seems prone to small data and tied data. Secondly, NXV may be generalized across any samples of two groups that require analysis of order, perhaps due to not being approximately normally distributed. Thirdly, from fellow clinicians and clinical researchers, the present author invites them to re-examine data sets that are tied or small, especially if they were close to significance and featured ties. It has not been possible to establish what proportion of the tens of thousands of citations of MWU featured ties, but there may be utility in NXV, which handles tied elements, if even a fraction could benefit.</p>
<p>To applied statisticians, NXV is offered, including the present methods, and the underlying source code, which exists in Python, Julia, R, and Libre Office, available on request in an open-source spirit. It exists in an application written by the present author, which was very helpful for writing the article. The present author hopes to push the algorithm to major languages soon and also to self-host an online web application. To software developers and mathematicians, NXV offers routes to further efficiencies in lattice combinatorics, which are not made out here but are to some extent broached in gray literature, such as a doctoral thesis, which is soon to be published under creative commons by the university, though the present data are new. These include super-curves and cellular automata to generate all corner paths of any <italic>s, t, q</italic> so that an easy tail can be calculated. These are visually appealing and intuitive, but space does not allow them here.</p></sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found below: they are clearly stated in line in the text as you will see.</p>
</sec>
<sec sec-type="author-contributions" id="s6">
<title>Author contributions</title>
<p>KR: Writing &#x02013; original draft, Writing &#x02013; review &#x00026; editing.</p>
</sec>
<ack><title>Acknowledgments</title><p>KR acknowledges the support of Professor Peter McMeekin and Associate Professor Michael Hill of Northumbria University at Newcastle who supervised his PhD, and for graciously allowing him to continue this project as a monograph. He also acknowledges the scholarly encouragement of Dr Alessandro Di Bucchianico of Eindhoven University of Technology, who sadly died before the thesis or this paper could be sent to him.</p></ack>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</title>
<p>The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="ai-statement" id="s8">
<title>Generative AI statement</title>
<p>The author(s) declare that no Gen AI was used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p></sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x00027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec sec-type="supplementary-material" id="s10">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fams.2025.1640488/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fams.2025.1640488/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Supplementary_file_1.zip" id="SM1" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Supplementary_file_2.zip" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Reid</surname> <given-names>K</given-names></name> <name><surname>Price</surname> <given-names>O</given-names></name></person-group>. <article-title>PROD-ALERT: Psychiatric restraint open data-analysis using logarithmic estimates on reporting trends</article-title>. <source>Front Digit Health</source>. (<year>2022</year>) <volume>4</volume>:<fpage>945635</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fdgth.2022.945635</pub-id><pub-id pub-id-type="pmid">36033635</pub-id></mixed-citation>
</ref>
<ref id="B2">
<label>2.</label>
<mixed-citation publication-type="web"><person-group person-group-type="author"><name><surname>NLM</surname> <given-names>U</given-names></name></person-group>. <source>PubMed Central (PMC)</source>. Bethesda (MD): National Center for Biotechnology Information (<year>2000</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.ncbi.nlm.nih.gov/pmc/">https://www.ncbi.nlm.nih.gov/pmc/</ext-link> (Accessed April 11, 2024).</mixed-citation>
</ref>
<ref id="B3">
<label>3.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mann</surname> <given-names>HB</given-names></name> <name><surname>Whitney</surname> <given-names>DR</given-names></name></person-group>. <article-title>On a test of whether one of two random variables is stochastically larger than the other</article-title>. <source>Ann Mathem Statist</source>. (<year>1947</year>) <volume>18</volume>:<fpage>50</fpage>&#x02013;<lpage>60</lpage>. doi: <pub-id pub-id-type="doi">10.1214/aoms/1177730491</pub-id></mixed-citation>
</ref>
<ref id="B4">
<label>4.</label>
<mixed-citation publication-type="book"><person-group person-group-type="author"><name><surname>Upton</surname> <given-names>GJG</given-names></name> <name><surname>Cook</surname> <given-names>I</given-names></name></person-group>. <source>A Dictionary of Statistics</source>. 3rd ed. <publisher-loc>Oxford paperback reference Oxford: Oxford University Press</publisher-loc>. (<year>2014</year>).</mixed-citation>
</ref>
<ref id="B5">
<label>5.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>McGee</surname> <given-names>M</given-names></name></person-group>. <article-title>Case for omitting tied observations in the two-sample t-test and the Wilcoxon-Mann-Whitney Test</article-title>. <source>PLoS ONE</source>. (<year>2018</year>) <volume>13</volume>:<fpage>e0200837</fpage>. doi: <pub-id pub-id-type="doi">10.1371/journal.pone.0200837</pub-id><pub-id pub-id-type="pmid">30040850</pub-id></mixed-citation>
</ref>
<ref id="B6">
<label>6.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Neuh&#x000E4;user</surname> <given-names>M</given-names></name> <name><surname>Ruxton</surname> <given-names>GD</given-names></name></person-group>. <article-title>A note on the Wilcoxon-Mann-Whitney test and tied observations</article-title>. <source>PLoS ONE</source>. (<year>2024</year>) <volume>19</volume>:<fpage>1</fpage>&#x02013;<lpage>6</lpage>. doi: <pub-id pub-id-type="doi">10.1371/journal.pone.0309074</pub-id><pub-id pub-id-type="pmid">39167627</pub-id></mixed-citation>
</ref>
<ref id="B7">
<label>7.</label>
<mixed-citation publication-type="web"><person-group person-group-type="author"><name><surname>Lowry</surname> <given-names>R</given-names></name></person-group>. <source>Mann Whitney U</source>. Poughkeepsie, NY, USA (<year>2022</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.vassarstats.net/utest.html">http://www.vassarstats.net/utest.html</ext-link> (Accessed December 12, 2025).</mixed-citation>
</ref>
<ref id="B8">
<label>8.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Borowski</surname> <given-names>J</given-names></name> <name><surname>Borwein</surname> <given-names>JM</given-names></name></person-group>. <source>Mathematics</source>. 2nd ed. Collins Dictionary of London, England: Collins. (<year>2002</year>).</mixed-citation>
</ref>
<ref id="B9">
<label>9.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Abderhalden</surname> <given-names>C</given-names></name> <name><surname>Needham</surname> <given-names>I</given-names></name> <name><surname>Miserez</surname> <given-names>B</given-names></name> <name><surname>Almvik</surname> <given-names>R</given-names></name> <name><surname>Dassen</surname> <given-names>T</given-names></name> <name><surname>Haug</surname> <given-names>HJ</given-names></name> <etal/></person-group>. <article-title>Predicting inpatient violence in acute psychiatric wards using the Broset-Violence-Checklist: a multicentre prospective cohort study</article-title>. <source>J Psychiatr Ment Health Nurs</source>. (<year>2004</year>) <volume>11</volume>:<fpage>422</fpage>&#x02013;<lpage>7</lpage>. doi: <pub-id pub-id-type="doi">10.1111/j.1365-2850.2004.00733.x</pub-id></mixed-citation>
</ref>
<ref id="B10">
<label>10.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Busner</surname> <given-names>J</given-names></name> <name><surname>Targum</surname> <given-names>SD</given-names></name></person-group>. <article-title>The clinical global impressions scale: applying a research tool in clinical practice</article-title>. <source>Psychiatry</source>. (<year>2007</year>) <volume>4</volume>:<fpage>28</fpage>&#x02013;<lpage>37</lpage>. <pub-id pub-id-type="pmid">20526405</pub-id></mixed-citation>
</ref>
<ref id="B11">
<label>11.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lewis</surname> <given-names>SJ</given-names></name> <name><surname>Heaton</surname> <given-names>KW</given-names></name></person-group>. <article-title>Stool form scale as a useful guide to intestinal transit time</article-title>. <source>Scand J Gastroenterol</source>. (<year>1997</year>) <volume>32</volume>:<fpage>920</fpage>&#x02013;<lpage>4</lpage>. doi: <pub-id pub-id-type="doi">10.3109/00365529709011203</pub-id><pub-id pub-id-type="pmid">9299672</pub-id></mixed-citation>
</ref>
<ref id="B12">
<label>12.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bucchianico</surname> <given-names>AD</given-names></name></person-group>. <article-title>Combinatorics, computer algebra and the Wilcoxon-Mann-Whitney test</article-title>. <source>J Stat Plan Inference</source>. (<year>1999</year>) <volume>79</volume>:<fpage>349</fpage>&#x02013;<lpage>64</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S0378-3758(98)00261-4</pub-id></mixed-citation>
</ref>
<ref id="B13">
<label>13.</label>
<mixed-citation publication-type="book"><person-group person-group-type="author"><name><surname>Knuth</surname> <given-names>DE</given-names></name></person-group>. <source>The Art of Computer Programming</source>. <publisher-loc>Upper Saddle River, NJ</publisher-loc>: <publisher-name>Addison-Wesley</publisher-name>. (<year>2005</year>).</mixed-citation>
</ref>
<ref id="B14">
<label>14.</label>
<mixed-citation publication-type="book"><person-group person-group-type="author"><name><surname>Stanley</surname> <given-names>RP</given-names></name></person-group>. <source>Cambridge Studies in Advanced Mathematics Enumerative Combinatorics</source>. 2nd ed. <publisher-loc>Cambridge, England</publisher-loc>: <publisher-name>Cambridge University Press.</publisher-name> (<year>2011</year>).</mixed-citation>
</ref>
<ref id="B15">
<label>15.</label>
<mixed-citation publication-type="web"><person-group person-group-type="author"><name><surname>Reid</surname> <given-names>KS</given-names></name></person-group>. <article-title>Online Encyclopedia of Integer Series A362242 Triangle read by rows: T(n,k) is the number of lattice paths from (0,0) to (k,n-k) using steps (i,j) with i,j gte 0 and gcd(i,j)=1; 2023</article-title>. Downloaded May 20 2024 vanity name: McMeekin Hill. Available online at: <ext-link ext-link-type="uri" xlink:href="https://oeis.org/A362242">https://oeis.org/A362242</ext-link> (Accessed December 12, 2025).</mixed-citation>
</ref>
<ref id="B16">
<label>16.</label>
<mixed-citation publication-type="web"><person-group person-group-type="author"><name><surname>Reid</surname> <given-names>K</given-names></name></person-group>. <article-title>McMeekin Hill: A new triangle, like Pascal&#x00027;s, bijectively enumerates all paths across any lattice which allows diagonals</article-title>. <source>GitHub</source>. (<year>2023</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://github.com/keithreid-sfw/McMeekinHillDiagonalsLattice/blob/main/Reid_McMeekinHill_DiagonalLattice_Enumeration.pdf">https://github.com/keithreid-sfw/McMeekinHillDiagonalsLattice/blob/main/Reid_McMeekinHill_DiagonalLattice_Enumeration.pdf</ext-link> (Accessed December 12, 2025).</mixed-citation>
</ref>
<ref id="B17">
<label>17.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Morris</surname> <given-names>TP</given-names></name> <name><surname>White</surname> <given-names>IR</given-names></name> <name><surname>Crowther</surname> <given-names>MJ</given-names></name></person-group>. <article-title>Using simulation studies to evaluate statistical methods</article-title>. <source>Stat Med</source>. (<year>2019</year>) <volume>38</volume>:<fpage>2074</fpage>&#x02013;<lpage>102</lpage>. doi: <pub-id pub-id-type="doi">10.1002/sim.8086</pub-id><pub-id pub-id-type="pmid">30652356</pub-id></mixed-citation>
</ref>
<ref id="B18">
<label>18.</label>
<mixed-citation publication-type="book"><person-group person-group-type="author"><name><surname>Rees</surname> <given-names>DG</given-names></name></person-group>. <source>Essential Statistics</source>. 4th ed. <publisher-loc>Texts in statistical science Philadelphia, PA</publisher-loc>: <publisher-name>Chapman &#x00026; Hall/CRC.</publisher-name> (<year>2000</year>).</mixed-citation>
</ref>
<ref id="B19">
<label>19.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Savage</surname> <given-names>MK</given-names></name> <name><surname>Lepping</surname> <given-names>P</given-names></name> <name><surname>Newton-Howes</surname> <given-names>G</given-names></name> <name><surname>Arnold</surname> <given-names>R</given-names></name> <name><surname>Staggs</surname> <given-names>VS</given-names></name> <name><surname>Kisely</surname> <given-names>S</given-names></name> <etal/></person-group>. <article-title>Comparison of coercive practices in worldwide mental healthcare: overcoming difficulties resulting from variations in monitoring strategies</article-title>. <source>BJPsych Open</source>. (<year>2024</year>) <volume>10</volume>:<fpage>e26</fpage>. doi: <pub-id pub-id-type="doi">10.1192/bjo.2023.613</pub-id><pub-id pub-id-type="pmid">38205597</pub-id></mixed-citation>
</ref>
<ref id="B20">
<label>20.</label>
<mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Reid</surname> <given-names>K</given-names></name> <name><surname>Price</surname> <given-names>O</given-names></name></person-group>. <article-title>PROD-ALERT 2: replicating and extending psychiatric restraint open data analysis using logarithmic estimates of reporting trends</article-title>. <source>Front Psychiatry</source>. (<year>2024</year>) <volume>15</volume>:<fpage>1325142</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpsyt.2024.1325142</pub-id><pub-id pub-id-type="pmid">39035606</pub-id></mixed-citation>
</ref>
</ref-list>
<fn-group>
<fn fn-type="custom" custom-type="edited-by" id="fn0001">
<p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/871057/overview">Zakariya Yahya Algamal</ext-link>, University of Mosul, Iraq</p>
</fn>
<fn fn-type="custom" custom-type="reviewed-by" id="fn0002">
<p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2426424/overview">Naveen Bansal</ext-link>, Marquette University, United States</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3196126/overview">Mahmood M. Taher</ext-link>, Amirkabir University of Technology, Iran</p>
</fn>
</fn-group>
</back>
</article>