Mathematics · Article
Bootstrap, permutation and nonparametric methods
Define the reference experiment behind resampling. Derive finite empirical bootstrap laws and interval constructions, examine failure cases, and distinguish exchangeability-based permutation tests, randomization, sign tests and rank methods with their actual assumptions.
Back to MathematicsAfter reading, you can
- Distinguish an empirical conditional resampling law, a population sampling distribution and finite-simulation error.
- Derive bootstrap means, variance conventions and percentile, basic, studentized and BCa interval ingredients.
- Recognize support, boundary, extreme-value and dependent-design failures that more resamples cannot repair.
- Justify exact permutation and random-transformation p-values using a specified null or randomized design.
- Use sign and rank procedures with their continuity, symmetry, exchangeability and tie conventions.
- Report effect targets, sampling units, approximation conditions and numerical accuracy rather than an unexplained nonparametric label.
Ask what is being repeated
A bootstrap distribution, a permutation distribution and a posterior distribution can all be represented by simulated numbers. Their reference experiments differ. The ordinary empirical bootstrap draws again from a distribution estimated from the observed record. A permutation test transforms observations under a null invariance or an assignment design. Bayesian conditioning uses a joint prior-data model. A similar-looking histogram does not make those probabilities interchangeable.
The estimation lesson defined a sampling distribution by repeating an actual data-generating experiment at a fixed population parameter. Resampling tries to approximate or exploit such a reference law using the observed record and further assumptions. The present lesson develops those assumptions and the finite constructions they support. It also shows exact counterexamples in which a familiar resampling algorithm gives an inadequate answer.
Nonparametric usually means that the procedure does not fix one finite-dimensional family for the full population distribution. It still needs an appropriate design and mathematical conditions. Independence, exchangeability, symmetry, continuity, finite variance or local smoothness can each be decisive. The needed conditions depend on the particular method and target; the label nonparametric does not establish them.
All records and experiments below are hypothetical. Means and differences retain measurement units, while ranks, tail probabilities and studentized pivots are dimensionless. Before computing a resampling interval or p-value, identify the statistic, the independent sampling unit, the experiment being repeated and the inferential target. This prevents a valid calculation for one experiment from being presented as a result for another.
Define the empirical experiment precisely
For a nonempty iid sample x₁,…,xₙ from an unknown population distribution F, the empirical measure is F̂ₙ=(1/n)Σᵢδ_(xᵢ). Each original index has probability 1/n. Repeated recorded values retain their multiplicities: if two of three records equal 1 and the other equals 4, the empirical probabilities at those two values are 2/3 and 1/3. Deduplicating the values into equal weights would define a different distribution.
Conditional on the observed sample, an ordinary bootstrap sample X₁*,…,Xₘ* consists of m independent draws from F̂ₙ, where m≥1 is declared. The usual n-out-of-n method takes m=n. Apply the specified statistic and any required fitting steps to that new record. Conditional probability and expectation for this experiment are denoted P* and E*. These describe the empirical reference law, rather than a new set of independently collected original observations.
For a target θ=T(F), let t=T(F̂ₙ) be the observed plug-in estimate where this definition is appropriate. The bootstrap statistic t* applies the same estimation rule to its resample. The conditional law of t* is exact under the empirical measure. Using the centered law of t*−t to approximate the actual sampling error t−θ is a further statistical claim. It can be justified for suitable targets and conditions, but it does not follow merely from being able to draw resamples.
A parametric bootstrap instead draws from a fitted model F_(η̂), and other resampling designs preserve blocks, clusters or a conditional regression structure. Those methods change the reference experiment. Their scientific assumptions need to be stated rather than hidden behind a common software command. In particular, an empirical bootstrap is not a posterior distribution for F or θ unless a separate Bayesian model and its derivation have been supplied.
Count original indices before aggregating statistics
In an n-out-of-n bootstrap, each ordered tuple (i₁,…,iₙ) of original indices has probability n^(−n). There are nⁿ such tuples. When only the counts c₁,…,cₙ of the indices matter, with nonnegative integers summing to n, a count vector represents n!/∏ᵢcᵢ! tuples. Its probability is [n!/∏ᵢcᵢ!]n^(−n), so unordered count vectors are not uniformly weighted.
Different index tuples can also give the same observed value sequence or statistic. Aggregate their probabilities, rather than assigning equal weight to the distinct output values. This matters both for duplicate observations and for a statistic with ties. A finite empirical law can have atoms and gaps; drawing a smooth density through them can conceal its actual support and quantile behavior.
For readings (1,1,4) seconds, write K for the number of draws that select the index with value 4 in a resample of size three. Then K∼Binomial(3,1/3), and the resampled mean is 1+K seconds. Its four values 1,2,3,4 have multiplicities 8,12,6,1 among the 27 ordered index tuples. Their probabilities are 8/27,4/9,2/9,1/27.
W1: duplicate values retain their index weights. Measurement unit: seconds. Original input values are retained without rounding. n=3; m=3; statistic=mean; ordered index count is n^m (3^3).
Assumptions: Recorded original values are fixed. Each original index has probability 1/n; duplicates keep multiplicity. Independent resampling with replacement defines the conditional empirical law; population sampling validity is a separate claim. Finite recorded values ensure finite empirical moments, not finite population moments. Unbiased s² and Var_F(mean)=sigma²/n require iid original sampling with finite population variance.
Target: Conditional law of the resampled mean, in seconds.
Reference experiment: Enumerate every ordered original-index tuple, then aggregate equal statistic values using exact counts.
Calibration: Exact finite empirical law; no automatic population coverage or normal approximation.
| Original index | Recorded value [seconds] |
|---|---|
| 1 | 1 |
| 2 | 1 |
| 3 | 4 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed statistic | 2 | ≈2 | seconds |
| Ordered index records | 27 | ≈27 | All original-index tuples are equally likely. |
| Conditional expectation | 2 | ≈2 | seconds |
| Conditional variance | 2/3 | ≈0.6666666667 | seconds squared |
| Empirical variance v_n | 2 | ≈2 | Denominator n; measurement units squared. |
| Bessel-corrected sample variance s² | 3 | ≈3 | Denominator n−1; measurement units squared. Unbiased for population variance only under iid original sampling with finite population variance. |
| s²/n | 1 | ≈1 | Estimates the original sample mean variance under iid finite population variance; not a median SE formula or the empirical conditional statistic variance. |
| v_n/m identity | 2/3 | ≈0.6666666667 | Exact conditional variance of a resampled mean. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | mean [seconds] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1 | 8/27 | 8 |
| 1 | 2 | 4/9 | 12 |
| 2 | 3 | 2/9 | 6 |
| 3 | 4 | 1/27 | 1 |
| Tuple number | Resampled values [seconds] |
|---|---|
| 1 | 1, 1, 1 |
| 2 | 1, 1, 1 |
| 3 | 1, 1, 4 |
| 4 | 1, 1, 1 |
| 5 | 1, 1, 1 |
| 6 | 1, 1, 4 |
| 7 | 1, 4, 1 |
| 8 | 1, 4, 1 |
| 9 | 1, 4, 4 |
| 10 | 1, 1, 1 |
| 11 | 1, 1, 1 |
| 12 | 1, 1, 4 |
| 13 | 1, 1, 1 |
| 14 | 1, 1, 1 |
| 15 | 1, 1, 4 |
| 16 | 1, 4, 1 |
| 17 | 1, 4, 1 |
| 18 | 1, 4, 4 |
| 19 | 4, 1, 1 |
| 20 | 4, 1, 1 |
| 21 | 4, 1, 4 |
| 22 | 4, 1, 1 |
| 23 | 4, 1, 1 |
| 24 | 4, 1, 4 |
| 25 | 4, 4, 1 |
| 26 | 4, 4, 1 |
| 27 | 4, 4, 4 |
| Field | Declared finite value |
|---|---|
| id | duplicate-indices |
| label | W1: duplicate values retain their index weights |
| unit | seconds |
| values | ["1","1","4"] |
| m | 3 |
| statistic | mean |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈0.333333333333333 |
| ≈2 | ≈0.333333333333333 |
| ≈3 | ≈0.333333333333333 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈0.296296296296296 |
| ≈2 | ≈0.444444444444444 |
| ≈3 | ≈0.222222222222222 |
| ≈4 | ≈0.037037037037037 |
Full enumeration removes simulation error from this finite example, but it does not remove the approximation involved in substituting F̂ₙ for F. It is also infeasible for large n because nⁿ grows rapidly. Weighted exact small examples remain useful for checking a simulation algorithm, preserving endpoint conventions and understanding why repeated values and count-vector probabilities matter.
Separate empirical and sample variance conventions
Let x̄=Σxᵢ/n and vₙ=Σ(xᵢ−x̄)²/n. One empirical draw has mean x̄ and variance vₙ. Conditional independence of m draws gives E*[X̄*]=x̄ and Var*(X̄*)=vₙ/m. For the ordinary m=n method this is vₙ/n. These are exact finite conditional statements whenever the recorded values are finite.
For n≥2, the Bessel-corrected sample variance is s²=Σ(xᵢ−x̄)²/(n−1), so the ordinary bootstrap mean variance is (n−1)s²/n². Under iid population sampling with finite variance σ², s² is unbiased for σ² and s²/n is unbiased for Var_F(X̄)=σ²/n. Those population interpretations need the finite-variance condition; finite recorded values alone do not supply it. The factor (n−1)/n between the two recorded-data variance formulas is a finite empirical-distribution difference, not Monte Carlo noise or a missing independent observation.
For (1,1,4) seconds, x̄=2 seconds and the sum of squared deviations is 6 seconds². Thus vₙ=2 seconds², s²=3 seconds², the exact bootstrap mean variance is 2/3 seconds² and s²/n=1 second². A large number of simulated resamples should approximate the first of these conditional variances; it should not silently replace it with the second under an identical label.
At n=1 the empirical law is a point mass and its resampled mean variance is zero, while the ordinary n−1 sample variance is undefined. A constant record with larger n also gives a degenerate empirical law. Such degeneracy is an exact feature of that empirical experiment. It does not prove that the unknown population has no variability or that a collapsed confidence interval has the advertised population coverage.
Keep statistical approximation and Monte Carlo error separate
The true sampling bias of an estimator is E_F[t]−θ under its original population experiment. The bootstrap quantity E*[t*]−t estimates that bias by substituting the empirical distribution. It is exactly zero for the ordinary sample mean, because E*[X̄*]=x̄. A bias-corrected estimate 2t−E*[t*] is another procedure; reducing a bias estimate does not guarantee a smaller mean squared error or respect a bounded parameter domain.
For B≥2 independent bootstrap replicates with finite conditional variance, let t̄*=Σ_b t_b*/B. The replicate variance Σ_b(t_b*−t̄*)²/(B−1) is unbiased for Var*(t*). Its square root estimates the bootstrap standard error but need not be an unbiased estimator of that standard deviation. Dividing by B instead of B−1 defines a different finite calculation.
If a simulated event has conditional probability p*, its frequency in B independent resamples has variance p*(1−p*)/B. Increasing B reduces this internal simulation error. It does not increase the original sample size, populate an unseen empirical category or prove that the resampling law approximates population sampling. A random seed makes a computation reproducible; it supplies no additional scientific information.
Keep three layers distinct: uncertainty in the actual experiment, approximation from replacing its unknown law by a resampling scheme, and numerical error from using only finitely many replicates. Quantile estimates can need more replicates than a central mean estimate, especially in extreme tails. A Monte Carlo frequency estimating an orbit tail is also different from a calibrated random-transformation rank p-value, developed later in this lesson.
Validity belongs to a statistic and a limiting experiment
For iid observations with mean μ and finite positive variance σ², the ordinary n-out-of-n bootstrap consistently approximates the centered sample-mean law. More precisely, conditional on almost every original infinite sample sequence, the law of √n(X̄*−X̄) converges to N(0,σ²). The original sampling law of √n(X̄−μ) has the same limit. This is an asymptotic distributional result, not an exact normal law for the finite empirical sample or a universal finite-sample coverage bound.
A conditional-CLT argument explains why finite second moments suffice. The strong law gives X̄→μ and vₙ→σ². Also max_(i≤n)|Xᵢ−X̄|/√n→0 almost surely. One route to that maximum bound uses ΣᵢP(|Xᵢ−μ|>ε√i)≤E[(X−μ)²]/ε² and Borel–Cantelli, then splits the running maximum into a finite initial part and a small remaining tail. This uses the finite second-moment tail sum, rather than an unsummable crude 1/i Markov bound.
Fix an original sequence on which these properties hold. Its conditional bootstrap triangular row consists of (Xⱼ*−X̄)/√n, j=1,…,n, with independent centered terms and total variance vₙ. The largest possible absolute row value tends to zero, so each fixed-threshold Lindeberg sum is eventually zero. The triangular-array CLT gives the displayed conditional normal limit. No bounded-support, Gaussian-population or third-moment assumption was used in this mean argument.
The normal limiting cumulative distribution is continuous, allowing uniform comparison of the two centered cumulative distributions and convergence of their fixed interior quantiles. This supports first-order confidence inversion for the mean under the stated conditions. The result concerns fixed interior tail probabilities; it supplies neither a universal error rate nor automatic support for confidence levels whose tail probabilities approach zero as n grows. Using only B simulated replicates adds a separate quantile approximation problem; a fixed small B does not become exact merely because n grows.
A fixed population quantile is another regular target when 0<p<1 and F has a positive continuous density near its unique p-quantile ξₚ. Under those iid conditions, the centered empirical-bootstrap quantile law converges conditionally in probability to N(0,p(1−p)/f(ξₚ)²) after √n scaling. This local result does not require a finite population variance, but it does not cover extreme p varying with n, an atom or flat density at the target, or every jackknife acceleration method applied to a quantile. The following finite failures show why closeness of F̂ₙ to F alone cannot justify every statistic.
A percentile interval uses the bootstrap statistic’s quantiles
Let G*(u)=P*(t*≤u), and define qᵤ*=inf{v:G*(v)≥u} for 0<u<1. The nominal 1−α percentile interval is [q_(α/2)*,q_(1−α/2)*]. This construction uses quantiles of the bootstrap statistic itself. Its confidence interpretation requires an appropriate approximation to the actual estimator’s sampling behavior; it is not a posterior credible interval.
For a discrete finite bootstrap law, the closed interval can contain more than 1−α of its conditional mass. Atoms, endpoint inclusion and the left-inverse convention matter. A software quantile interpolated between order statistics defines another numerical rule and can produce an endpoint absent from the finite support. State that convention rather than attributing every output to one exact discrete law.
For the (1,1,4)-second record, the conditional cumulative probabilities at bootstrap means 1,2,3,4 are 8/27,20/27,26/27,1. The 0.025 quantile is 1 and the 0.975 quantile is 4, so its nominal 95% percentile interval is [1,4] seconds. It contains all the conditional bootstrap mass. Neither that mass of one nor the procedure’s nominal label proves 95% coverage of the unknown population mean.
For a continuous strictly increasing transformation h, the percentile construction transforms its endpoints consistently with the corresponding transformed quantiles. This useful invariance does not establish coverage or select a scientific parameter coordinate. It also does not turn a degenerate empirical distribution into evidence of negligible uncertainty. Preserve the exact endpoint definition when comparing methods and displayed rounded values.
Invert a centered error to obtain the basic interval
A basic bootstrap interval starts with the approximation t−θ≈t*−t in distribution. If the central bootstrap error interval is [q_(α/2)*−t,q_(1−α/2)*−t], solve the two inequalities for θ. The resulting endpoints are [2t−q_(1−α/2)*,2t−q_(α/2)*]. Their order is reversed because solving for the unknown parameter reflects the error limits around the observed estimate.
For the same observed t=2 seconds and exact quantiles 1 and 4 seconds, the nominal 95% basic interval is [0,3] seconds. The percentile interval [1,4] and basic interval [0,3] come from different constructions applied to the same conditional law. Arithmetic alone supplies no population coverage guarantee for either one. If a target is constrained, a basic interval can leave its parameter space; silently truncating it changes the procedure.
W2: percentile and basic reflection differ. Measurement unit: seconds. Original input values are retained without rounding. Nominal confidence level=19/20; left-inverse quantiles; closed numerical endpoints. n=m=3; statistic=mean; method=percentile; BCa bias-rank convention=midpoint.
Assumptions: Interval arithmetic does not establish actual population coverage. Approximation assumptions and the reference sampling experiment must be justified separately.
Target: Interval construction for a location statistic in the recorded measurement unit.
Reference experiment: Enumerate all ordered original-index resamples with their original multiplicities. Use inf{t:G*(t)≥p} without interpolation.
Calibration: Nominal method output, not an exact finite-sample population-coverage certificate.
| Original index | Recorded value [seconds] |
|---|---|
| 1 | 1 |
| 2 | 1 |
| 3 | 4 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed estimate | 2 | ≈2 | seconds |
| Lower bootstrap quantile | 1 | ≈1 | seconds |
| Upper bootstrap quantile | 4 | ≈4 | seconds |
| Closed percentile conditional mass | 1 | ≈1 | Mass under the exact empirical law; it is not population confidence coverage. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | mean [seconds] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1 | 8/27 | 8 |
| 1 | 2 | 4/9 | 12 |
| 2 | 3 | 2/9 | 6 |
| 3 | 4 | 1/27 | 1 |
| Method [seconds] | Exact lower endpoint | Exact upper endpoint |
|---|---|---|
| Percentile | 1 | 4 |
| Basic reflection | 0 | 3 |
| Field | Declared finite value |
|---|---|
| id | percentile-basic |
| label | W2: percentile and basic reflection differ |
| unit | seconds |
| source | empirical |
| values | ["1","1","4"] |
| statistic | mean |
| method | percentile |
| level | 19/20 |
| ties | midpoint |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈0.296296296296296 |
| ≈2 | ≈0.444444444444444 |
| ≈3 | ≈0.222222222222222 |
| ≈4 | ≈0.037037037037037 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈1 |
| ≈4 | ≈1 |
| ≈0 | ≈2 |
| ≈3 | ≈2 |
Basic intervals generally do not commute with nonlinear changes of parameter. For example, reflecting quantiles around h(t) yields [2h(t)−h(qhigh*),2h(t)−h(qlow*)], which usually differs from transforming [2t−qhigh*,2t−qlow*]. A linear affine transformation preserves the corresponding reflection when signs and endpoint order are handled correctly. A nonlinear transformation requires a deliberate choice of which parameter’s errors are being approximated.
The inversion also makes the coverage question visible. If bootstrap error quantiles approximate the actual sampling-error quantiles, the induced interval can be calibrated asymptotically under the relevant conditions. If the empirical error law is inappropriate, reflecting it does not fix that problem. Uncertainty about a smooth iid mean and uncertainty about a population endpoint can therefore have very different resampling behavior even when the same interval command is used.
A studentized interval needs defined standard errors
Let the observed standard-error estimate be ŝ>0, and let a bootstrap replicate have its own estimate ŝ*>0. Define T*=(t*−t)/ŝ*. If qT,low and qT,high approximate the appropriate quantiles of the studentized sampling error, the bootstrap-t interval is [t−qT,high·ŝ,t−qT,low·ŝ]. Both standard-error estimates must correspond to the statistic and design being approximated.
An analytic variance formula can provide ŝ*; a more complicated statistic may require an inner resampling calculation or another justified estimate. Such extra computation has its own assumptions and error. Studentizing a statistic does not automatically make its law pivotal or accurate for every distribution. Method-specific regularity and variance-estimator behavior remain part of its justification.
For the three-delay example the observed ŝ=s/√3 is 1 second. Of its 27 ordered resamples, eight contain only ones and one contains only fours, giving zero resample SD. The remaining twelve mean-2 records have T*=0 and six mean-3 records have T*=1. Thus 9/27 of the specified real-valued pivots are undefined. Dropping those records and renormalizing the rest substitutes another conditional distribution.
An explicit extended-value convention, smoothing or a changed resampling method would define another procedure requiring justification. Do not force undefined denominators into a finite graph or silently return zero. This finite counterexample does not disprove qualified asymptotic bootstrap-t theory; it identifies a real limitation of the unmodified finite algorithm on this record.
BCa begins with a declared bias-rank convention
Bias-corrected and accelerated, or BCa, intervals adjust bootstrap quantile probabilities to account for features of the estimator’s distribution in suitable regular problems. Let r be a declared bootstrap rank probability for the observed estimate t and set z₀=Φ⁻¹(r). A strict convention uses P*(t*<t); a midpoint-tie convention uses P*(t*<t)+(1/2)P*(t*=t). These can differ substantially in finite discrete laws, so a convention must be part of the method.
The rank correction z₀ is not the same quantity as the bootstrap mean-bias estimate E*[t*]−t. A sample mean can have exactly zero conditional mean bias while its bootstrap distribution is skewed and its midpoint rank differs from one-half. Calling both quantities bias without their definitions can obscure why their numerical values differ.
For the mean of (1,2,3,8) seconds, t=7/2 seconds and there are 4⁴=256 ordered bootstrap records. Exactly 121 have mean below t and 28 tie it. The midpoint probability is (121+14)/256=135/256, giving z₀≈0.06859437. The strict probability 121/256 gives the opposite z₀≈−0.06859437. Neither is a convention-free value hidden inside the data.
A rank probability zero or one makes z₀ infinite. A finite-B implementation can encounter such a boundary even when an ideal population approximation is otherwise plausible. Record the definition and the numerical limitation; clipping the probability to a convenient interior number changes the algorithm. Software implementation details are useful for reproducibility only when they are distinguished from mathematical assumptions and confidence claims.
Define acceleration and guard the quantile adjustment
For delete-one estimates t_(i), i=1,…,n, let t̄_(-) be their average and dᵢ=t̄_(-)−t_(i). The one-sample jackknife acceleration is a=Σdᵢ³/[6(Σdᵢ²)^(3/2)] when the delete-one estimates exist and their spread is positive. A common influence scaling n−1 cancels from this ratio. Reversing the sign of all dᵢ reverses a and generally changes the interval.
For p=α/2 or 1−α/2, write zₚ=Φ⁻¹(p) and adjust to u(p)=Φ[z₀+(z₀+zₚ)/{1−a(z₀+zₚ)}]. BCa then uses q*_(u(α/2)) and q*_(u(1−α/2)). Require finite z₀ and a, no pole in the needed quantile transformation range, and valid ordered interior probability limits. Sorting reversed endpoints, clamping singular limits or assigning a=0 to a 0/0 expression hides a method failure.
For (1,2,3,8), the delete-one means are 13/3,4,11/3,2 seconds. The mean’s acceleration simplifies to 12/(29√29)≈0.07683945. With the midpoint z₀ above and nominal 90% level, the adjusted probabilities are approximately 0.09055007 and 0.97941634. Inverting the exact finite bootstrap cumulative distribution gives endpoints 7/4 and 13/2 seconds. These are algorithm outputs, not proof of exact 90% population coverage from four readings.
BCa and studentization can improve accuracy in appropriate regular problems, but that improvement requires its conditions. A smooth-estimator acceleration argument cannot be transferred automatically to a nonsmooth statistic or every sample quantile. Missing empirical categories, constant data, arbitrary dependence and nonidentifiability remain genuine obstacles. A regular quantile bootstrap and a reliable delete-one acceleration estimate for that quantile are separate claims.
An observed maximum exposes a genuine failure
Suppose X₁,…,Xₙ are iid Uniform(0,θ), with θ>0, and M is their maximum. Its exact cumulative distribution is Pθ(M≤x)=(x/θ)ⁿ for 0≤x≤θ. Consequently the scaled endpoint gap Aₙ=n(θ−M)/θ has cumulative distribution 1−(1−u/n)ⁿ on 0≤u≤n. This tends to 1−e^(−u), the exponential rate-one cumulative distribution, and has no atom at zero.
For a continuous original sample the observed maximum is unique almost surely. In the ordinary n-out-of-n empirical bootstrap, P*(M*=M)=1−(1−1/n)ⁿ: the maximum is absent only when every draw avoids its index. Thus the natural empirical bootstrap gap n(M−M*)/M has an atom at zero tending to 1−e^(−1), approximately 0.632. Its cumulative probability at zero cannot converge to the zero value of the continuous target limit.
W5: empirical maximum atom versus a continuous gap. Measurement unit: mm. Original input values are retained without rounding.
Assumptions: The population comparison is iid Uniform(0,theta),theta>0, with unknown theta at least the observed maximum. Continuous unrounded sampling has a unique maximum almost surely. The empirical law retains any recorded multiplicities.
Target: Dimensionless maximum gap: empirical n(M−M*)/M versus population n(theta−M)/theta.
Reference experiment: Compare the exact empirical reference law with a separately stated population experiment; no smoothing or added observations.
Calibration: A finite empirical answer alone does not establish population sampling validity.
| Original index | Recorded value [mm] |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 4 |
| 4 | 7 |
| 5 | 9 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Sample size | 5 | ≈5 | Number of original readings. |
| Observed maximum | 9 | ≈9 | mm |
| Maximum multiplicity | 1 | ≈1 | Original index multiplicity, not a uniform weight on distinct values. |
| Retained-maximum probability | 2101/3125 | ≈0.67232 | Exact empirical probability of M*=M. |
| Unique-maximum atom identity | 2101/3125 | ≈0.67232 | Equals1−(1−1/n)^n only when the maximum is unique. |
| Limiting unique-maximum atom | 1−exp(−1) | ≈0.6321205588 | For continuous iid sampling and ordinary n-out-of-n empirical resampling. |
| Population CDF polyline error bound | 1/10240 | ≈0.00009765625 | Uniform CDF-value error on[0,n], using |F_second|≤(n−1)/n and the linear-interpolation remainder. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | n(M−M*)/M [dimensionless] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 0 | 2101/3125 | weighted exact |
| 1 | 10/9 | 781/3125 | weighted exact |
| 2 | 25/9 | 211/3125 | weighted exact |
| 3 | 35/9 | 31/3125 | weighted exact |
| 4 | 40/9 | 1/3125 | weighted exact |
| Scaled u | Exact population CDF |
|---|---|
| 0 | 0 |
| 5/4 | 781/1024 |
| 5/2 | 31/32 |
| 15/4 | 1023/1024 |
| 5 | 1 |
| Field | Declared finite value |
|---|---|
| id | maximum-five |
| label | W5: empirical maximum atom versus a continuous gap |
| unit | mm |
| kind | maximum |
| values | ["1","2","4","7","9"] |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0 |
| ≈0.03125 | ≈0.0308618087863922 |
| ≈0.0625 | ≈0.0609569094848633 |
| ≈0.09375 | ≈0.0902996773052216 |
| ≈0.125 | ≈0.118904306640625 |
| ≈0.15625 | ≈0.14678481221199 |
| ≈0.1875 | ≈0.173955030212402 |
| ≈0.21875 | ≈0.200428619451523 |
| ≈0.25 | ≈0.2262190625 |
| ≈0.28125 | ≈0.251339666833878 |
| ≈0.3125 | ≈0.275803565979004 |
| ≈0.34375 | ≈0.299623720655441 |
| ≈0.375 | ≈0.322812919921875 |
| ≈0.40625 | ≈0.345383782320023 |
| ≈0.4375 | ≈0.367348757019043 |
| ≈0.46875 | ≈0.388720124959946 |
| ≈0.5 | ≈0.40951 |
| ≈0.53125 | ≈0.429730330057144 |
| ≈0.5625 | ≈0.449392898254395 |
| ≈0.59375 | ≈0.468509324064255 |
| ≈0.625 | ≈0.487091064453125 |
| ≈0.65625 | ≈0.505149415025711 |
| ≈0.6875 | ≈0.522695511169434 |
| ≈0.71875 | ≈0.539740329198837 |
| ≈0.75 | ≈0.5562946875 |
| ≈0.78125 | ≈0.572369247674942 |
| ≈0.8125 | ≈0.587974515686035 |
| ≈0.84375 | ≈0.603120843000412 |
| ≈0.875 | ≈0.617818427734375 |
| ≈0.90625 | ≈0.632077315797806 |
| ≈0.9375 | ≈0.645907402038574 |
| ≈0.96875 | ≈0.659318431386948 |
| ≈1 | ≈0.67232 |
| ≈1.03125 | ≈0.684921556406021 |
| ≈1.0625 | ≈0.697132402648926 |
| ≈1.09375 | ≈0.708961695432663 |
| ≈1.125 | ≈0.720418447265625 |
| ≈1.15625 | ≈0.731511527605057 |
| ≈1.1875 | ≈0.742249664001465 |
| ≈1.21875 | ≈0.752641443243027 |
| ≈1.25 | ≈0.7626953125 |
| ≈1.28125 | ≈0.772419580469132 |
| ≈1.3125 | ≈0.781822418518066 |
| ≈1.34375 | ≈0.790911861829758 |
| ≈1.375 | ≈0.799695810546875 |
| ≈1.40625 | ≈0.808182030916214 |
| ≈1.4375 | ≈0.816378156433106 |
| ≈1.46875 | ≈0.824291688985825 |
| ≈1.5 | ≈0.83193 |
| ≈1.53125 | ≈0.839300331583023 |
| ≈1.5625 | ≈0.846409797668457 |
| ≈1.59375 | ≈0.853265385160446 |
| ≈1.625 | ≈0.859873955078125 |
| ≈1.65625 | ≈0.866242243700027 |
| ≈1.6875 | ≈0.872376863708496 |
| ≈1.71875 | ≈0.878284305334091 |
| ≈1.75 | ≈0.8839709375 |
| ≈1.78125 | ≈0.889443008966446 |
| ≈1.8125 | ≈0.894706649475098 |
| ≈1.84375 | ≈0.899767870893478 |
| ≈1.875 | ≈0.904632568359375 |
| ≈1.90625 | ≈0.909306521425247 |
| ≈1.9375 | ≈0.913795395202637 |
| ≈1.96875 | ≈0.918104741506577 |
| ≈2 | ≈0.92224 |
| ≈2.03125 | ≈0.92620649933815 |
| ≈2.0625 | ≈0.930009458312988 |
| ≈2.09375 | ≈0.933653986997604 |
| ≈2.125 | ≈0.937145087890625 |
| ≈2.15625 | ≈0.940487657060623 |
| ≈2.1875 | ≈0.943686485290527 |
| ≈2.21875 | ≈0.946746259222031 |
| ≈2.25 | ≈0.9496715625 |
| ≈2.28125 | ≈0.952466876916885 |
| ≈2.3125 | ≈0.955136583557129 |
| ≈2.34375 | ≈0.957684963941574 |
| ≈2.375 | ≈0.960116201171875 |
| ≈2.40625 | ≈0.962434381074905 |
| ≈2.4375 | ≈0.964643493347168 |
| ≈2.46875 | ≈0.966747432699203 |
| ≈2.5 | ≈0.96875 |
| ≈2.53125 | ≈0.970654903421402 |
| ≈2.5625 | ≈0.97246575958252 |
| ≈2.59375 | ≈0.974186094694138 |
| ≈2.625 | ≈0.975819345703125 |
| ≈2.65625 | ≈0.977368861436844 |
| ≈2.6875 | ≈0.978837903747559 |
| ≈2.71875 | ≈0.980229648656845 |
| ≈2.75 | ≈0.9815471875 |
| ≈2.78125 | ≈0.98279352807045 |
| ≈2.8125 | ≈0.98397159576416 |
| ≈2.84375 | ≈0.985084234724045 |
| ≈2.875 | ≈0.986134208984375 |
| ≈2.90625 | ≈0.987124203615189 |
| ≈2.9375 | ≈0.988056825866699 |
| ≈2.96875 | ≈0.988934606313705 |
| ≈3 | ≈0.98976 |
| ≈3.03125 | ≈0.990535387582779 |
| ≈3.0625 | ≈0.991263076477051 |
| ≈3.09375 | ≈0.991945302000046 |
| ≈3.125 | ≈0.992584228515625 |
| ≈3.15625 | ≈0.99318195057869 |
| ≈3.1875 | ≈0.99374049407959 |
| ≈3.21875 | ≈0.994261817388535 |
| ≈3.25 | ≈0.9947478125 |
| ≈3.28125 | ≈0.995200306177139 |
| ≈3.3125 | ≈0.995621061096191 |
| ≈3.34375 | ≈0.99601177699089 |
| ≈3.375 | ≈0.996374091796875 |
| ≈3.40625 | ≈0.996709582796097 |
| ≈3.4375 | ≈0.99701976776123 |
| ≈3.46875 | ≈0.997306106100082 |
| ≈3.5 | ≈0.99757 |
| ≈3.53125 | ≈0.997812795572281 |
| ≈3.5625 | ≈0.998035783996582 |
| ≈3.59375 | ≈0.998240202665329 |
| ≈3.625 | ≈0.998427236328125 |
| ≈3.65625 | ≈0.99859801823616 |
| ≈3.6875 | ≈0.998753631286621 |
| ≈3.71875 | ≈0.998895109167099 |
| ≈3.75 | ≈0.9990234375 |
| ≈3.78125 | ≈0.999139554986954 |
| ≈3.8125 | ≈0.999244354553223 |
| ≈3.84375 | ≈0.999338684492111 |
| ≈3.875 | ≈0.999423349609375 |
| ≈3.90625 | ≈0.99949911236763 |
| ≈3.9375 | ≈0.999566694030762 |
| ≈3.96875 | ≈0.999626775808334 |
| ≈4 | ≈0.99968 |
| ≈4.03125 | ≈0.999726971139908 |
| ≈4.0625 | ≈0.999768257141113 |
| ≈4.09375 | ≈0.999804390439987 |
| ≈4.125 | ≈0.999835869140625 |
| ≈4.15625 | ≈0.999863158159256 |
| ≈4.1875 | ≈0.999886690368652 |
| ≈4.21875 | ≈0.999906867742538 |
| ≈4.25 | ≈0.9999240625 |
| ≈4.28125 | ≈0.999938618249893 |
| ≈4.3125 | ≈0.999950851135254 |
| ≈4.34375 | ≈0.999961050977707 |
| ≈4.375 | ≈0.999969482421875 |
| ≈4.40625 | ≈0.999976386079788 |
| ≈4.4375 | ≈0.999981979675293 |
| ≈4.46875 | ≈0.999986459188461 |
| ≈4.5 | ≈0.99999 |
| ≈4.53125 | ≈0.99999275803566 |
| ≈4.5625 | ≈0.999994870910645 |
| ≈4.59375 | ≈0.99999645907402 |
| ≈4.625 | ≈0.999997626953125 |
| ≈4.65625 | ≈0.999998464097977 |
| ≈4.6875 | ≈0.999999046325684 |
| ≈4.71875 | ≈0.999999436864853 |
| ≈4.75 | ≈0.9999996875 |
| ≈4.78125 | ≈0.999999839715958 |
| ≈4.8125 | ≈0.999999925842285 |
| ≈4.84375 | ≈0.999999970197678 |
| ≈4.875 | ≈0.999999990234375 |
| ≈4.90625 | ≈0.999999997682571 |
| ≈4.9375 | ≈0.999999999694824 |
| ≈4.96875 | ≈0.999999999990463 |
| ≈5 | ≈1 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0.67232 |
| ≈1.11111111111111 | ≈0.92224 |
| ≈2.77777777777778 | ≈0.98976 |
| ≈3.88888888888889 | ≈0.99968 |
| ≈4.44444444444444 | ≈1 |
The mismatch identifies a distributional failure, not just a small numerical error or an insufficient B. The empirical distribution has no observations beyond its largest recorded value, and the maximum functional is sensitive to that support boundary. Even exact enumeration of all resamples preserves the problematic atom. The smooth-mean validity argument does not transfer to this statistic.
A parametric Uniform bootstrap, subsampling or an appropriately justified m-out-of-n method changes the procedure and its assumptions. Such alternatives can be useful under suitable theory, but they are not obtained by relabelling ordinary resampling or increasing its replicate count. Keep the specific estimator, scaling and design visible when interpreting a bootstrap counterexample.
More resamples cannot create a missing category
An all-zero Bernoulli record has empirical measure δ₀. Every ordinary empirical resample is all zero, its resampled fraction is zero, and its percentile interval collapses to [0,0]. These are correct statements about the empirical conditional experiment. They do not justify a claim that the original unknown success probability is known to be zero.
For a hypothetical true p=1/5 and n=9, the original all-zero event occurs with probability (4/5)⁹=262144/1953125≈0.134218. On this event the collapsed interval excludes the true p. Therefore the population coverage of this nominal 95% percentile procedure is at most 1−262144/1953125=1690981/1953125≈0.865782. Other records can add noncoverage, so this is an upper bound rather than a computed exact total coverage.
The example separates exact conditional computation from the intended confidence claim. There is no Monte Carlo noise left to remove when every possible resample yields zero. A smoother graph or many more replicates cannot supply empirical support for a category not observed. The same concern can arise with rare outcomes and boundary estimates in other models.
Adding a prior, fitting a parametric model or applying a smoothing rule introduces further assumptions. Each can define a useful new procedure when justified, but there is no universal add-one correction that preserves the original method and guarantees its coverage. Report the changed model or procedure, its target and its calibration conditions.
Preserve the independent unit and the intended statistic
Resample paired observations as pairs when their joint dependence is part of the experiment. For independent groups, within-group resampling can approximate separate group sampling laws while retaining the actual group sizes. An iid row bootstrap that breaks a pair or treats repeated records from one unit as independent approximates a different experiment and can understate uncertainty.
For independent clusters, whole-cluster resampling preserves their recorded within-cluster structure. Cluster independence, the number of clusters and the target’s weighting still matter, especially when cluster sizes differ or are informative. With only two observed clusters, a finite resampling calculation does not establish general cluster-bootstrap accuracy. Blocks or fitted time-series models likewise need dependence and tuning assumptions; a software block-length option is not a consistency theorem.
A simple finite comparison uses clusters (0,0) and (2,2). Resampling two whole clusters gives grand means 0,1,2 with probabilities 1/4,1/2,1/4 and conditional variance 1/2. Resampling four individual rows from the pooled {0,2} empirical law gives variance 1/4. The change arises from the sampling unit, not from how accurately a simulation enumerates each law.
Repeat fitting, preprocessing or selection steps when they are part of the estimator whose sampling behavior is being approximated. Holding a selected model fixed while resampling only its last fitted coefficient conditions away that selection step. Whether such conditional inference is appropriate depends on the intended target. A more complicated pipeline does not become correctly represented merely because its final statistic has a convenient name.
A permutation test needs a null reference law
Let G be a finite group of allowed transformations and assume that under H₀ the full data satisfy X distributed as gX for every g∈G. For a prespecified upper-tail statistic T, define p(x)=#{g:T(gx)≥T(x)}/|G|. Count transformation multiplicities and the identity transformation. This is a finite null-reference probability, rather than an empirical-bootstrap confidence calculation.
Conditional on an orbit under this invariance, the transformed records have the required uniform symmetry. Rank the statistic values with ties included in their upper tails. At most an α fraction of the orbit can have inclusive p≤α; tied blocks can reduce that fraction. Averaging over the orbits gives P₀(p≤α)≤α. Thus exact finite validity generally means size at most the chosen level, not equality at every real α.
For two independent iid groups, a common-distribution null supplies pooled label exchangeability. Equal population means alone do not: groups with different variances or shapes can share a mean while their labelled joint distributions change under a swap. An unstudentized permutation comparison justified for identical distributions must not automatically be presented as exact for a weak equal-means null.
The allowed transformations also matter. Pair swaps, sign flips and blocked permutations need their corresponding invariance or design argument. A convenient subset of transformations is not automatically a valid replacement for the full group. Any restriction requires an actual null or assignment law, rather than an assumption that the word permutation supplies calibration.
Randomization gives a separate design-based justification
In a randomized experiment, an exact test can instead use the known assignment distribution under a sharp no-effect null. A sharp null specifies every unit’s outcome under every allowed assignment, so the observed outcomes can be reassigned to compute the statistic. This is a design-based argument with fixed potential outcomes; iid population outcomes are not required for that finite assignment calculation.
A weak null of zero average treatment effect does not generally impute all missing potential outcomes. Different individual effects can average to zero. The sharp-null randomization calculation therefore does not automatically provide an exact test of that weaker hypothesis. State which scientific null is being tested and what the design makes observable under it.
With uniform fixed group sizes nA,nB and a statistic ignoring within-group order, all C(nA+nB,nA) allocations have equal weights. Each allocation represents nA!nB! full index permutations, so counting allocations once gives the same reference distribution. Duplicate numerical values retain the weights of their labelled assignments. They are not deduplicated into equally likely statistic values.
W7: every two-versus-two allocation has its weight. Measurement unit: seconds. Original input values are retained without rounding. nA=2; nB=2; distinct labelled allocations=6; ordering=upper; mode=exact; alpha=1/10.
Assumptions: Under the null, pooled observations have the common-distribution exchangeable-label law; equality of means alone is insufficient. Every labelled allocation has weight1/C(N,nA), including duplicates that yield tied statistic values.
Target: Difference in group means [seconds], with the declared upper extremeness ordering.
Reference experiment: Enumerate the whole allowed allocation law. The observed allocation is already included.
Calibration: Inclusive tail comparisons preserve ties; reject when p≤alpha. Strict and half-tie tails are descriptive alternatives without automatic super-uniformity.
Decision at the declared threshold: Inclusive exact allocation test: do not reject
| Original index | Recorded value [seconds] |
|---|---|
| 1 | 4 |
| 2 | 7 |
| 3 | 1 |
| 4 | 2 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed mean difference | 4 | ≈4 | seconds |
| Labelled allocation count | 6 | ≈6 | Not the number of distinct statistic values. |
| Inclusive full-reference p | 1/6 | ≈0.1666666667 | Observed allocation included; no extra plus one for full enumeration. |
| Strict full-reference tail | 0 | ≈0 | Descriptive strict comparison, not the inclusive test. |
| Equality mass | 1/6 | ≈0.1666666667 | Tie multiplicity retained. |
| Half-tie mid-p | 1/12 | ≈0.08333333333 | A changed procedure; may be anti-conservative. |
| Inclusive upper tail | 1/6 | ≈0.1666666667 | Ordering T≥Tobs. |
| Inclusive lower tail | 1 | ≈1 | Ordering T≤Tobs. |
| Capped doubled upper tail | 1/3 | ≈0.3333333333 | A declared different construction, not equated to absolute extremeness. |
| Actual null rejection probability | 0 | ≈0 | Exact probability that the displayed p-value rule satisfies p≤alpha. |
| Mid-p null rejection probability | 1/6 | ≈0.1666666667 | A separate procedure; compare with the declared alpha. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | meanA−meanB [seconds] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | -4 | 1/6 | 1 |
| 1 | -2 | 1/6 | 1 |
| 2 | -1 | 1/6 | 1 |
| 3 | 1 | 1/6 | 1 |
| 4 | 2 | 1/6 | 1 |
| 5 | 4 | 1/6 | 1 |
| A original indices (1-based) | Exact T [seconds] |
|---|---|
| 1, 2 | 4 |
| 1, 3 | -2 |
| 1, 4 | -1 |
| 2, 3 | 1 |
| 2, 4 | 2 |
| 3, 4 | -4 |
| Outcome position | p-value [dimensionless] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1/6 | 1/6 | weighted exact |
| 1 | 1/3 | 1/6 | weighted exact |
| 2 | 1/2 | 1/6 | weighted exact |
| 3 | 2/3 | 1/6 | weighted exact |
| 4 | 5/6 | 1/6 | weighted exact |
| 5 | 1 | 1/6 | weighted exact |
| Field | Declared finite value |
|---|---|
| id | six-allocations |
| label | W7: every two-versus-two allocation has its weight |
| unit | seconds |
| A | ["4","7"] |
| B | ["1","2"] |
| ordering | upper |
| nullModel | exchangeable |
| mode | exact |
| replicates | 2 |
| alpha | 1/10 |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈-4 | ≈0.166666666666667 |
| ≈-2 | ≈0.166666666666667 |
| ≈-1 | ≈0.166666666666667 |
| ≈1 | ≈0.166666666666667 |
| ≈2 | ≈0.166666666666667 |
| ≈4 | ≈0.166666666666667 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0.166666666666667 | ≈0.166666666666667 |
| ≈0.333333333333333 | ≈0.333333333333333 |
| ≈0.5 | ≈0.5 |
| ≈0.666666666666667 | ≈0.666666666666667 |
| ≈0.833333333333333 | ≈0.833333333333333 |
| ≈1 | ≈1 |
Blocked, paired or otherwise restricted randomized designs can also be valid when their actual assignment probabilities are used. If assignments are not uniform, sum the relevant probabilities instead of dividing a count by the number of assignments. A design-defined restriction is different from an ad hoc subset chosen for computational convenience or a favorable result. Preserve the randomization mechanism rather than shuffling across constraints that it retained.
Ordering and equality are part of the test
An upper tail orders by T, a lower tail by −T, and an absolute-centered rule by |T−T₀| for a declared null center. Probability ordering and doubled smaller tails are further constructions with their own definitions. They need not give the same two-sided p-value in an asymmetric or unbalanced finite reference law. Prespecify or otherwise justify the complete ordering rule.
For pooled values (1,3,8), assigning one value to A and two to B gives mean differences −9/2,−3/2,6. If the observed A value is 8, its upper tail and absolute-difference tail both have probability 1/3. Doubling its upper tail gives 2/3, which is another definition. Neither number can be selected after inspection while continuing to claim the original procedure’s unchanged calibration.
Inclusive equality is also substantive. For pooled binary values (0,0,1,1) divided into two groups of two, the statistic meanA−meanB takes −1,0,1 with assignment multiplicities 1,4,1. At observed T=1 the inclusive upper tail is 1/6. A strict upper tail is zero, and a half-tie mid-p is 1/12. These are different quantities.
At level 1/10, using this mid-p rejects the observed-maximum allocation with probability 1/6 under the uniform null, exceeding 1/10. Half-tie adjustments can sacrifice super-uniformity. Deduplicating the three statistic values into probability 1/3 each would also change the law. Exact allocation weights, endpoint equality and the chosen extremeness rule must travel with the reported p-value.
A finite random rank differs from a tail-frequency estimate
Full enumeration of M equally weighted outcomes, including the observed outcome, uses the inclusive count p=b/M. Do not add another observed outcome to that already complete enumeration. When only B uniformly drawn null-invariant random transformations are used under a valid fixed-B protocol, include the observed record in the rank calculation: pMC=(1+Σ_b1{T_b≥Tobs})/(B+1).
With independent draws from the allowed full transformation group, null invariance gives the required exchangeable rank argument. Inclusive ties can make the resulting pMC conservative. The smallest possible rank p-value is 1/(B+1); zero simulated extremes do not imply a zero p-value. The fixed-B condition and the transformation law are part of the argument. Stopping at a favorable simulated result is not repaired merely by writing a plus one.
The frequency b/B has a different role: conditional on the observed record it estimates the full-orbit tail probability, with Monte Carlo error. A calibrated rank can differ from that estimate and from the fully enumerated p-value. Precision about the full tail, finite rank resolution and Type I calibration are distinct questions. If sequential Monte Carlo stopping is desired, its full stopping and reporting rule needs its own validity argument.
On a six-rank orbit with B=2 draws with replacement, there are 6³=216 equally weighted triples of observed rank and two random ranks under the null. The rank p-values 1/3,2/3,1 occur with counts 55,70,91. Hence its size at level 1/3 is 55/216≤1/3. In contrast, the raw frequency is zero in 55/216 of these triples, illustrating why an estimated tail frequency should not be substituted for the calibrated rank.
A sign test needs the right sign probabilities
For independent differences D₁,…,Dₙ from a common continuous distribution with median zero and no atom at zero, the positive-sign indicators are iid Bernoulli(1/2). Thus S₊=Σ1{Dᵢ>0} has Binomial(n,1/2) null law. Symmetry of the magnitudes is not needed for this sign test. It concerns a center/sign probability rather than a population mean unless further assumptions connect those targets.
For a prespecified positive shift use the inclusive upper binomial tail. An ordinary central two-sided version doubles the smaller inclusive tail and caps the result at one, using the symmetry of this null count law. Discrete attainable p-values can make the procedure conservative. Eight differences with six positives give upper p=37/256 and central two-sided p=37/128.
Zeros change the argument. Zero being a median only requires P(D≤0)≥1/2 and P(D≥0)≥1/2. It does not require equal positive and negative probabilities. Dropping zeros and using fair signs conditional on the remaining count needs the additional equality P(D<0)=P(D>0). That equality follows in the continuous median-zero case, but it is not supplied by the median definition when there is an atom at zero.
For example, P(D=0)=4/5 and P(D=1)=1/5 makes zero a median while all nonzero differences are positive. In n=30 observations a zero-dropping upper fair-sign test at level 0.05 rejects whenever the nonzero count K≥5. Since K∼Binomial(30,1/5), its actual rejection probability is about 0.744767. A different upper test can instead retain all n and calibrate the count of strict positives under the explicit null P(D>0)≤1/2; that preserves its stated one-sided target and can be conservative with zeros.
Invert sign counts to obtain a median interval
Let X_(1)≤…≤X_(n) be iid continuous observations in sorted order, with a population median m satisfying P(X<m)=P(X>m)=1/2. For an integer k≥1 with k≤n−k+1, consider [X_(k),X_(n−k+1)]. The interval contains m precisely when the number of observations below m lies between k and n−k. This count has Binomial(n,1/2) law.
Its exact coverage is therefore 1−2P{Binomial(n,1/2)≤k−1}. This distribution-free calculation uses continuity at the median and independent common sampling. It does not require normally distributed observations or a population variance. The endpoints retain the original measurement units, and their confidence meaning comes from the repeated sign-count experiment.
Available levels are discrete. With five observations, even the widest finite order-statistic interval [X_(1),X_(5)] in this family has coverage 1−2/32=15/16, below 0.95. An interval using unbounded limits, randomization or a different justified procedure changes the construction. With eight observations, the full range has coverage 127/128 while [X_(2),X_(7)] has coverage 119/128; neither has exact 95% coverage.
W10: six of eight signs; finite median-range coverage. Measurement unit: mm. Original input values are retained without rounding. n=8; positives=6; zeros=0; effective count=8; zero convention=retain; alpha=1/20; median k=1.
Assumptions: Independent observations from a common continuous distribution with median0 and no atom at 0. Fair signs follow without requiring symmetry. Exact order-statistic median coverage additionally requires a common continuous population median.
Target: A sign-count reference and a separately qualified population-median interval.
Reference experiment: Retain all original observations when comparing the number of strictly positive signs.
Calibration: Inclusive comparisons; reject p≤alpha. A median alone does not justify fair signs after deleting zeros.
Decision at the declared threshold: Declared sign procedure: do not reject
| Original index | Recorded value [mm] |
|---|---|
| 1 | -2 |
| 2 | -1 |
| 3 | 1 |
| 4 | 3 |
| 5 | 4 |
| 6 | 6 |
| 7 | 8 |
| 8 | 9 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Strict positive count | 6 | ≈6 | Differences equal to zero are not silently made positive. |
| Recorded zero count | 0 | ≈0 | The declared zero convention determines any conditioning. |
| Reference count | 8 | ≈8 | The count actually used in the binomial tail. |
| Arithmetic inclusive upper reference tail | 37/256 | ≈0.14453125 | Exact fair tail, or conservative retained-n bound as specified. |
| Arithmetic central doubled tail | 37/128 | ≈0.2890625 | Only a calibrated central test when the fair-sign law is justified. |
| Achieved continuous-median interval coverage | 127/128 | ≈0.9921875 | Exact1−2P{Binomial(n,1/2)≤k−1}; not rounded to a requested confidence label. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | positive count [count] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 0 | 1/256 | weighted exact |
| 1 | 1 | 1/32 | weighted exact |
| 2 | 2 | 7/64 | weighted exact |
| 3 | 3 | 7/32 | weighted exact |
| 4 | 4 | 35/128 | weighted exact |
| 5 | 5 | 7/32 | weighted exact |
| 6 | 6 | 7/64 | weighted exact |
| 7 | 7 | 1/32 | weighted exact |
| 8 | 8 | 1/256 | weighted exact |
| Method [mm] | Exact lower endpoint | Exact upper endpoint |
|---|---|---|
| [X_1,X_8] | -2 | 9 |
| Field | Declared finite value |
|---|---|
| id | eight-signs |
| label | W10: six of eight signs; finite median-range coverage |
| unit | mm |
| kind | sample |
| differences | ["-2","-1","1","3","4","6","8","9"] |
| ordering | upper |
| zeros | retain |
| nullModel | continuousMedian |
| alpha | 1/20 |
| medianK | 1 |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0.00390625 |
| ≈1 | ≈0.03125 |
| ≈2 | ≈0.109375 |
| ≈3 | ≈0.21875 |
| ≈4 | ≈0.2734375 |
| ≈5 | ≈0.21875 |
| ≈6 | ≈0.109375 |
| ≈7 | ≈0.03125 |
| ≈8 | ≈0.00390625 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈1 |
| ≈11 | ≈1 |
Choose and report the achieved level rather than attaching a conventional label to the nearest convenient k. At atoms, signs and endpoint masses require actual cumulative-probability bounds; the continuous exact equality need not remain an equality. Quantile interpolation, uncertainty about a median and uncertainty about a population mean also remain separate questions.
Signed ranks use magnitudes under a stronger null
For independent continuous differences symmetric about zero, conditional on their absolute magnitudes the signs are independent fair coins. Rank the absolute values and define W₊=Σᵢrᵢ1{Dᵢ>0}. With distinct nonzero magnitudes the ranks are 1,…,n, and the conditional null distribution is the weighted sum of independent fair sign indicators, enumerated over 2ⁿ sign vectors.
Its conditional mean is (1/2)Σrᵢ=n(n+1)/4 and variance (1/4)Σrᵢ²=n(n+1)(2n+1)/24 when there are no absolute ties. These formulas arise from the sign law. A distribution with median zero but asymmetric magnitude/sign relationships need not have that conditional law. The sign test’s weaker magnitude assumptions cannot be transferred to signed ranks.
For differences (−1,2,3,−4,5) mm, W₊=2+3+5=10. Enumeration of 32 sign vectors gives inclusive upper probability 5/16 and an absolute-centered two-sided probability 5/8. Absolute ties use average ranks and the actual resulting conditional weighted-sum law or a qualified approximation. Zeros require an explicit procedure and its assumptions. Exact computation with ties can be possible; it is not universally prohibited by the word tie.
A one-sample Hodges–Lehmann estimate uses the median of Walsh averages (Dᵢ+Dⱼ)/2 for i≤j. Its associated population target is a pseudomedian of the average of two independent differences; under a symmetric location model it agrees with the center. It need not equal an arbitrary asymmetric population median. The many Walsh averages share original observations, so they do not create that many independent sampling units.
Rank sums have a pairwise interpretation
For independent groups A₁,…,A_(nA) and B₁,…,B_(nB), pool the observations, assign average ranks to ties and let R_A be the sum of A ranks. Then U=R_A−nA(nA+1)/2 equals Σᵢⱼ[1{Aᵢ>Bⱼ}+(1/2)1{Aᵢ=Bⱼ}]. Its normalized value U/(nAnB) estimates the population probability θ=P(A>B)+(1/2)P(A=B) under independent draws from the two group distributions.
This effect target is dimensionless. It is not automatically a difference of population means or medians. A pure location-shift interpretation needs a common-shape model. Similarly, a two-sample Hodges–Lehmann estimate based on the median of all Aᵢ−Bⱼ targets a pairwise difference distribution under its assumptions; it need not equal the difference of the two separate sample medians. Cross-pairs share observations and are not nAnB independent units.
Under an iid common continuous distribution null, the pooled label allocations are uniform and give the exact rank-sum reference law. In that case E₀[U]=nAnB/2 and Var₀(U)=nAnB(nA+nB+1)/12. The exchangeable common-distribution null is stronger than θ=1/2 alone. Equal pairwise-superiority probability can coexist with different group shapes, so the ordinary exact allocation calibration does not automatically test every such weaker null.
For A=(3,5,8) and B=(1,2,7) mm, A’s pooled ranks are 3,4,6. Thus R_A=13, U=7 and empirical superiority is 7/9. Of the twenty three-versus-three rank allocations, four give U≥7, so upper p=1/5. The effect estimate and finite-null tail answer different questions. With ties retain the actual conditional allocation law or justify the approximation and tie correction being used.
W12: exact rank-sum tail and pairwise superiority. Measurement unit: mm. Original input values are retained without rounding. nA=3; nB=3; pooled N=6; labelled allocations=20; ordering=upper.
Assumptions: Independent groups from a common distribution make pooled group labels exchangeable under the exact null. P(A>B)+half P(A=B)=1/2 alone is a weaker null and does not justify this finite allocation distribution. Ties keep their multiplicities.
Target: Rank-sum null tail and a separately interpreted empirical pairwise-superiority estimate.
Reference experiment: Assign fixed-size group labels to the pooled average ranks with equal original-allocation weights.
Calibration: Inclusive equality; reject p≤alpha. A reference null tail is distinct from a pairwise effect estimate.
Decision at the declared threshold: Declared conditional rank test: do not reject
| Original index | Recorded value [mm] |
|---|---|
| 1 | 3 |
| 2 | 5 |
| 3 | 8 |
| 4 | 1 |
| 5 | 2 |
| 6 | 7 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed A rank sum | 13 | ≈13 | Sum of pooled average ranks. |
| Observed U | 7 | ≈7 | Cross-group wins plus half ties; dimensionless. |
| Empirical pairwise superiority | 7/9 | ≈0.7777777778 | An effect estimate, not an exact null p-value or a generic median difference. |
| Conditional reference mean | 9/2 | ≈4.5 | nA nB/2 under the fixed pooled allocation law. |
| Exact conditional reference variance | 21/4 | ≈5.25 | Computed from the complete tied or untied allocation law. |
| Labelled allocation count | 20 | ≈20 | Combinations, not distinct U values. |
| Untied variance identity | 21/4 | ≈5.25 | nA nB(N+1)/12, only for no pooled ties. |
| Inclusive declared rank p-value | 1/5 | ≈0.2 | Upper tail at the observed statistic. |
| Actual conditional null rejection probability | 1/20 | ≈0.05 | Exact conditional probability of p≤alpha, with the original weights. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Recorded value [mm] | Original group | Exact average rank |
|---|---|---|
| 3 | A | 3 |
| 5 | A | 4 |
| 8 | A | 6 |
| 1 | B | 1 |
| 2 | B | 2 |
| 7 | B | 5 |
| A original indices (1-based) | Exact U |
|---|---|
| 1, 2, 3 | 7 |
| 1, 2, 4 | 2 |
| 1, 2, 5 | 3 |
| 1, 2, 6 | 6 |
| 1, 3, 4 | 4 |
| 1, 3, 5 | 5 |
| 1, 3, 6 | 8 |
| 1, 4, 5 | 0 |
| 1, 4, 6 | 3 |
| 1, 5, 6 | 4 |
| 2, 3, 4 | 5 |
| 2, 3, 5 | 6 |
| 2, 3, 6 | 9 |
| 2, 4, 5 | 1 |
| 2, 4, 6 | 4 |
| 2, 5, 6 | 5 |
| 3, 4, 5 | 3 |
| 3, 4, 6 | 6 |
| 3, 5, 6 | 7 |
| 4, 5, 6 | 2 |
| Outcome position | U [rank] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 0 | 1/20 | 1 |
| 1 | 1 | 1/20 | 1 |
| 2 | 2 | 1/10 | 2 |
| 3 | 3 | 3/20 | 3 |
| 4 | 4 | 3/20 | 3 |
| 5 | 5 | 3/20 | 3 |
| 6 | 6 | 3/20 | 3 |
| 7 | 7 | 1/10 | 2 |
| 8 | 8 | 1/20 | 1 |
| 9 | 9 | 1/20 | 1 |
| Outcome position | p-value [dimensionless] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1/20 | 1/20 | weighted exact |
| 1 | 1/10 | 1/20 | weighted exact |
| 2 | 1/5 | 1/10 | weighted exact |
| 3 | 7/20 | 3/20 | weighted exact |
| 4 | 1/2 | 3/20 | weighted exact |
| 5 | 13/20 | 3/20 | weighted exact |
| 6 | 4/5 | 3/20 | weighted exact |
| 7 | 9/10 | 1/10 | weighted exact |
| 8 | 19/20 | 1/20 | weighted exact |
| 9 | 1 | 1/20 | weighted exact |
| Field | Declared finite value |
|---|---|
| id | rank-sum-effect |
| label | W12: exact rank-sum tail and pairwise superiority |
| unit | mm |
| kind | rankSum |
| A | ["3","5","8"] |
| B | ["1","2","7"] |
| ordering | upper |
| alpha | 1/20 |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0.05 |
| ≈1 | ≈0.05 |
| ≈2 | ≈0.1 |
| ≈3 | ≈0.15 |
| ≈4 | ≈0.15 |
| ≈5 | ≈0.15 |
| ≈6 | ≈0.15 |
| ≈7 | ≈0.1 |
| ≈8 | ≈0.05 |
| ≈9 | ≈0.05 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0.05 | ≈0.05 |
| ≈0.1 | ≈0.1 |
| ≈0.2 | ≈0.2 |
| ≈0.35 | ≈0.35 |
| ≈0.5 | ≈0.5 |
| ≈0.65 | ≈0.65 |
| ≈0.8 | ≈0.8 |
| ≈0.9 | ≈0.9 |
| ≈0.95 | ≈0.95 |
| ≈1 | ≈1 |
Report the reference law with the scientific result
In metascience, a resampling analysis is reproducible when its statistic, sampling units, fitting pipeline, transformations, tie conventions, interval construction and simulation precision are explicit. Repeating a convenient last step while hiding earlier selection does not reproduce the intended full procedure. Multiple comparisons and selective reporting still need the research-process treatment developed in the following lesson.
In medical science and psychology, paired measurements, participant clusters and longitudinal records can make an iid row bootstrap inappropriate. Rank methods can describe relative ordering without requiring one normal family, but their calibrated nulls and effect targets remain specific. A distributional difference, a median shift, a mean intervention effect and a future individual prediction need distinct scientific interpretations.
Select a method by the design and target. For a smooth iid mean, a qualified empirical bootstrap can approximate its centered sampling law. For a randomized sharp null, use the actual assignment probabilities. For signs or ranks, retain their fair-sign, symmetry or exchangeability assumptions and explicit zeros/ties. For extremes, boundaries and degenerate samples, inspect the failure mechanism before adopting a changed method.
Finally separate the scientific estimate and units, its uncertainty procedure, the achieved finite or nominal level, and numerical accuracy. Report held undefined outcomes rather than concealing them. More replicates can improve a computation of a chosen reference law; scientific calibration requires that the chosen law represent the experiment and quantity being reported.
Each selection defines a complete reference experiment, its original weights and a stated target. A held method is preserved as a held result; no missing probability mass, tied allocation or zero is silently removed.
Exact empirical resampling and weights
W1: duplicate values retain their index weights. Prepared under the selected assumptions.
W1: duplicate values retain their index weights. Measurement unit: seconds. Original input values are retained without rounding. n=3; m=3; statistic=mean; ordered index count is n^m (3^3).
Assumptions: Recorded original values are fixed. Each original index has probability 1/n; duplicates keep multiplicity. Independent resampling with replacement defines the conditional empirical law; population sampling validity is a separate claim. Finite recorded values ensure finite empirical moments, not finite population moments. Unbiased s² and Var_F(mean)=sigma²/n require iid original sampling with finite population variance.
Target: Conditional law of the resampled mean, in seconds.
Reference experiment: Enumerate every ordered original-index tuple, then aggregate equal statistic values using exact counts.
Calibration: Exact finite empirical law; no automatic population coverage or normal approximation.
| Original index | Recorded value [seconds] |
|---|---|
| 1 | 1 |
| 2 | 1 |
| 3 | 4 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed statistic | 2 | ≈2 | seconds |
| Ordered index records | 27 | ≈27 | All original-index tuples are equally likely. |
| Conditional expectation | 2 | ≈2 | seconds |
| Conditional variance | 2/3 | ≈0.6666666667 | seconds squared |
| Empirical variance v_n | 2 | ≈2 | Denominator n; measurement units squared. |
| Bessel-corrected sample variance s² | 3 | ≈3 | Denominator n−1; measurement units squared. Unbiased for population variance only under iid original sampling with finite population variance. |
| s²/n | 1 | ≈1 | Estimates the original sample mean variance under iid finite population variance; not a median SE formula or the empirical conditional statistic variance. |
| v_n/m identity | 2/3 | ≈0.6666666667 | Exact conditional variance of a resampled mean. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | mean [seconds] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1 | 8/27 | 8 |
| 1 | 2 | 4/9 | 12 |
| 2 | 3 | 2/9 | 6 |
| 3 | 4 | 1/27 | 1 |
| Tuple number | Resampled values [seconds] |
|---|---|
| 1 | 1, 1, 1 |
| 2 | 1, 1, 1 |
| 3 | 1, 1, 4 |
| 4 | 1, 1, 1 |
| 5 | 1, 1, 1 |
| 6 | 1, 1, 4 |
| 7 | 1, 4, 1 |
| 8 | 1, 4, 1 |
| 9 | 1, 4, 4 |
| 10 | 1, 1, 1 |
| 11 | 1, 1, 1 |
| 12 | 1, 1, 4 |
| 13 | 1, 1, 1 |
| 14 | 1, 1, 1 |
| 15 | 1, 1, 4 |
| 16 | 1, 4, 1 |
| 17 | 1, 4, 1 |
| 18 | 1, 4, 4 |
| 19 | 4, 1, 1 |
| 20 | 4, 1, 1 |
| 21 | 4, 1, 4 |
| 22 | 4, 1, 1 |
| 23 | 4, 1, 1 |
| 24 | 4, 1, 4 |
| 25 | 4, 4, 1 |
| 26 | 4, 4, 1 |
| 27 | 4, 4, 4 |
| Field | Declared finite value |
|---|---|
| id | duplicate-indices |
| label | W1: duplicate values retain their index weights |
| unit | seconds |
| values | ["1","1","4"] |
| m | 3 |
| statistic | mean |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈0.333333333333333 |
| ≈2 | ≈0.333333333333333 |
| ≈3 | ≈0.333333333333333 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈0.296296296296296 |
| ≈2 | ≈0.444444444444444 |
| ≈3 | ≈0.222222222222222 |
| ≈4 | ≈0.037037037037037 |
Intervals use different pivots and quantiles
W2: percentile and basic reflection differ. Prepared under the selected assumptions.
W2: percentile and basic reflection differ. Measurement unit: seconds. Original input values are retained without rounding. Nominal confidence level=19/20; left-inverse quantiles; closed numerical endpoints. n=m=3; statistic=mean; method=percentile; BCa bias-rank convention=midpoint.
Assumptions: Interval arithmetic does not establish actual population coverage. Approximation assumptions and the reference sampling experiment must be justified separately.
Target: Interval construction for a location statistic in the recorded measurement unit.
Reference experiment: Enumerate all ordered original-index resamples with their original multiplicities. Use inf{t:G*(t)≥p} without interpolation.
Calibration: Nominal method output, not an exact finite-sample population-coverage certificate.
| Original index | Recorded value [seconds] |
|---|---|
| 1 | 1 |
| 2 | 1 |
| 3 | 4 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed estimate | 2 | ≈2 | seconds |
| Lower bootstrap quantile | 1 | ≈1 | seconds |
| Upper bootstrap quantile | 4 | ≈4 | seconds |
| Closed percentile conditional mass | 1 | ≈1 | Mass under the exact empirical law; it is not population confidence coverage. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | mean [seconds] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1 | 8/27 | 8 |
| 1 | 2 | 4/9 | 12 |
| 2 | 3 | 2/9 | 6 |
| 3 | 4 | 1/27 | 1 |
| Method [seconds] | Exact lower endpoint | Exact upper endpoint |
|---|---|---|
| Percentile | 1 | 4 |
| Basic reflection | 0 | 3 |
| Field | Declared finite value |
|---|---|
| id | percentile-basic |
| label | W2: percentile and basic reflection differ |
| unit | seconds |
| source | empirical |
| values | ["1","1","4"] |
| statistic | mean |
| method | percentile |
| level | 19/20 |
| ties | midpoint |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈0.296296296296296 |
| ≈2 | ≈0.444444444444444 |
| ≈3 | ≈0.222222222222222 |
| ≈4 | ≈0.037037037037037 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈1 | ≈1 |
| ≈4 | ≈1 |
| ≈0 | ≈2 |
| ≈3 | ≈2 |
Empirical support can cause a real failure
W5: empirical maximum atom versus a continuous gap. Prepared under the selected assumptions.
W5: empirical maximum atom versus a continuous gap. Measurement unit: mm. Original input values are retained without rounding.
Assumptions: The population comparison is iid Uniform(0,theta),theta>0, with unknown theta at least the observed maximum. Continuous unrounded sampling has a unique maximum almost surely. The empirical law retains any recorded multiplicities.
Target: Dimensionless maximum gap: empirical n(M−M*)/M versus population n(theta−M)/theta.
Reference experiment: Compare the exact empirical reference law with a separately stated population experiment; no smoothing or added observations.
Calibration: A finite empirical answer alone does not establish population sampling validity.
| Original index | Recorded value [mm] |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 4 |
| 4 | 7 |
| 5 | 9 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Sample size | 5 | ≈5 | Number of original readings. |
| Observed maximum | 9 | ≈9 | mm |
| Maximum multiplicity | 1 | ≈1 | Original index multiplicity, not a uniform weight on distinct values. |
| Retained-maximum probability | 2101/3125 | ≈0.67232 | Exact empirical probability of M*=M. |
| Unique-maximum atom identity | 2101/3125 | ≈0.67232 | Equals1−(1−1/n)^n only when the maximum is unique. |
| Limiting unique-maximum atom | 1−exp(−1) | ≈0.6321205588 | For continuous iid sampling and ordinary n-out-of-n empirical resampling. |
| Population CDF polyline error bound | 1/10240 | ≈0.00009765625 | Uniform CDF-value error on[0,n], using |F_second|≤(n−1)/n and the linear-interpolation remainder. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | n(M−M*)/M [dimensionless] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 0 | 2101/3125 | weighted exact |
| 1 | 10/9 | 781/3125 | weighted exact |
| 2 | 25/9 | 211/3125 | weighted exact |
| 3 | 35/9 | 31/3125 | weighted exact |
| 4 | 40/9 | 1/3125 | weighted exact |
| Scaled u | Exact population CDF |
|---|---|
| 0 | 0 |
| 5/4 | 781/1024 |
| 5/2 | 31/32 |
| 15/4 | 1023/1024 |
| 5 | 1 |
| Field | Declared finite value |
|---|---|
| id | maximum-five |
| label | W5: empirical maximum atom versus a continuous gap |
| unit | mm |
| kind | maximum |
| values | ["1","2","4","7","9"] |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0 |
| ≈0.03125 | ≈0.0308618087863922 |
| ≈0.0625 | ≈0.0609569094848633 |
| ≈0.09375 | ≈0.0902996773052216 |
| ≈0.125 | ≈0.118904306640625 |
| ≈0.15625 | ≈0.14678481221199 |
| ≈0.1875 | ≈0.173955030212402 |
| ≈0.21875 | ≈0.200428619451523 |
| ≈0.25 | ≈0.2262190625 |
| ≈0.28125 | ≈0.251339666833878 |
| ≈0.3125 | ≈0.275803565979004 |
| ≈0.34375 | ≈0.299623720655441 |
| ≈0.375 | ≈0.322812919921875 |
| ≈0.40625 | ≈0.345383782320023 |
| ≈0.4375 | ≈0.367348757019043 |
| ≈0.46875 | ≈0.388720124959946 |
| ≈0.5 | ≈0.40951 |
| ≈0.53125 | ≈0.429730330057144 |
| ≈0.5625 | ≈0.449392898254395 |
| ≈0.59375 | ≈0.468509324064255 |
| ≈0.625 | ≈0.487091064453125 |
| ≈0.65625 | ≈0.505149415025711 |
| ≈0.6875 | ≈0.522695511169434 |
| ≈0.71875 | ≈0.539740329198837 |
| ≈0.75 | ≈0.5562946875 |
| ≈0.78125 | ≈0.572369247674942 |
| ≈0.8125 | ≈0.587974515686035 |
| ≈0.84375 | ≈0.603120843000412 |
| ≈0.875 | ≈0.617818427734375 |
| ≈0.90625 | ≈0.632077315797806 |
| ≈0.9375 | ≈0.645907402038574 |
| ≈0.96875 | ≈0.659318431386948 |
| ≈1 | ≈0.67232 |
| ≈1.03125 | ≈0.684921556406021 |
| ≈1.0625 | ≈0.697132402648926 |
| ≈1.09375 | ≈0.708961695432663 |
| ≈1.125 | ≈0.720418447265625 |
| ≈1.15625 | ≈0.731511527605057 |
| ≈1.1875 | ≈0.742249664001465 |
| ≈1.21875 | ≈0.752641443243027 |
| ≈1.25 | ≈0.7626953125 |
| ≈1.28125 | ≈0.772419580469132 |
| ≈1.3125 | ≈0.781822418518066 |
| ≈1.34375 | ≈0.790911861829758 |
| ≈1.375 | ≈0.799695810546875 |
| ≈1.40625 | ≈0.808182030916214 |
| ≈1.4375 | ≈0.816378156433106 |
| ≈1.46875 | ≈0.824291688985825 |
| ≈1.5 | ≈0.83193 |
| ≈1.53125 | ≈0.839300331583023 |
| ≈1.5625 | ≈0.846409797668457 |
| ≈1.59375 | ≈0.853265385160446 |
| ≈1.625 | ≈0.859873955078125 |
| ≈1.65625 | ≈0.866242243700027 |
| ≈1.6875 | ≈0.872376863708496 |
| ≈1.71875 | ≈0.878284305334091 |
| ≈1.75 | ≈0.8839709375 |
| ≈1.78125 | ≈0.889443008966446 |
| ≈1.8125 | ≈0.894706649475098 |
| ≈1.84375 | ≈0.899767870893478 |
| ≈1.875 | ≈0.904632568359375 |
| ≈1.90625 | ≈0.909306521425247 |
| ≈1.9375 | ≈0.913795395202637 |
| ≈1.96875 | ≈0.918104741506577 |
| ≈2 | ≈0.92224 |
| ≈2.03125 | ≈0.92620649933815 |
| ≈2.0625 | ≈0.930009458312988 |
| ≈2.09375 | ≈0.933653986997604 |
| ≈2.125 | ≈0.937145087890625 |
| ≈2.15625 | ≈0.940487657060623 |
| ≈2.1875 | ≈0.943686485290527 |
| ≈2.21875 | ≈0.946746259222031 |
| ≈2.25 | ≈0.9496715625 |
| ≈2.28125 | ≈0.952466876916885 |
| ≈2.3125 | ≈0.955136583557129 |
| ≈2.34375 | ≈0.957684963941574 |
| ≈2.375 | ≈0.960116201171875 |
| ≈2.40625 | ≈0.962434381074905 |
| ≈2.4375 | ≈0.964643493347168 |
| ≈2.46875 | ≈0.966747432699203 |
| ≈2.5 | ≈0.96875 |
| ≈2.53125 | ≈0.970654903421402 |
| ≈2.5625 | ≈0.97246575958252 |
| ≈2.59375 | ≈0.974186094694138 |
| ≈2.625 | ≈0.975819345703125 |
| ≈2.65625 | ≈0.977368861436844 |
| ≈2.6875 | ≈0.978837903747559 |
| ≈2.71875 | ≈0.980229648656845 |
| ≈2.75 | ≈0.9815471875 |
| ≈2.78125 | ≈0.98279352807045 |
| ≈2.8125 | ≈0.98397159576416 |
| ≈2.84375 | ≈0.985084234724045 |
| ≈2.875 | ≈0.986134208984375 |
| ≈2.90625 | ≈0.987124203615189 |
| ≈2.9375 | ≈0.988056825866699 |
| ≈2.96875 | ≈0.988934606313705 |
| ≈3 | ≈0.98976 |
| ≈3.03125 | ≈0.990535387582779 |
| ≈3.0625 | ≈0.991263076477051 |
| ≈3.09375 | ≈0.991945302000046 |
| ≈3.125 | ≈0.992584228515625 |
| ≈3.15625 | ≈0.99318195057869 |
| ≈3.1875 | ≈0.99374049407959 |
| ≈3.21875 | ≈0.994261817388535 |
| ≈3.25 | ≈0.9947478125 |
| ≈3.28125 | ≈0.995200306177139 |
| ≈3.3125 | ≈0.995621061096191 |
| ≈3.34375 | ≈0.99601177699089 |
| ≈3.375 | ≈0.996374091796875 |
| ≈3.40625 | ≈0.996709582796097 |
| ≈3.4375 | ≈0.99701976776123 |
| ≈3.46875 | ≈0.997306106100082 |
| ≈3.5 | ≈0.99757 |
| ≈3.53125 | ≈0.997812795572281 |
| ≈3.5625 | ≈0.998035783996582 |
| ≈3.59375 | ≈0.998240202665329 |
| ≈3.625 | ≈0.998427236328125 |
| ≈3.65625 | ≈0.99859801823616 |
| ≈3.6875 | ≈0.998753631286621 |
| ≈3.71875 | ≈0.998895109167099 |
| ≈3.75 | ≈0.9990234375 |
| ≈3.78125 | ≈0.999139554986954 |
| ≈3.8125 | ≈0.999244354553223 |
| ≈3.84375 | ≈0.999338684492111 |
| ≈3.875 | ≈0.999423349609375 |
| ≈3.90625 | ≈0.99949911236763 |
| ≈3.9375 | ≈0.999566694030762 |
| ≈3.96875 | ≈0.999626775808334 |
| ≈4 | ≈0.99968 |
| ≈4.03125 | ≈0.999726971139908 |
| ≈4.0625 | ≈0.999768257141113 |
| ≈4.09375 | ≈0.999804390439987 |
| ≈4.125 | ≈0.999835869140625 |
| ≈4.15625 | ≈0.999863158159256 |
| ≈4.1875 | ≈0.999886690368652 |
| ≈4.21875 | ≈0.999906867742538 |
| ≈4.25 | ≈0.9999240625 |
| ≈4.28125 | ≈0.999938618249893 |
| ≈4.3125 | ≈0.999950851135254 |
| ≈4.34375 | ≈0.999961050977707 |
| ≈4.375 | ≈0.999969482421875 |
| ≈4.40625 | ≈0.999976386079788 |
| ≈4.4375 | ≈0.999981979675293 |
| ≈4.46875 | ≈0.999986459188461 |
| ≈4.5 | ≈0.99999 |
| ≈4.53125 | ≈0.99999275803566 |
| ≈4.5625 | ≈0.999994870910645 |
| ≈4.59375 | ≈0.99999645907402 |
| ≈4.625 | ≈0.999997626953125 |
| ≈4.65625 | ≈0.999998464097977 |
| ≈4.6875 | ≈0.999999046325684 |
| ≈4.71875 | ≈0.999999436864853 |
| ≈4.75 | ≈0.9999996875 |
| ≈4.78125 | ≈0.999999839715958 |
| ≈4.8125 | ≈0.999999925842285 |
| ≈4.84375 | ≈0.999999970197678 |
| ≈4.875 | ≈0.999999990234375 |
| ≈4.90625 | ≈0.999999997682571 |
| ≈4.9375 | ≈0.999999999694824 |
| ≈4.96875 | ≈0.999999999990463 |
| ≈5 | ≈1 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0.67232 |
| ≈1.11111111111111 | ≈0.92224 |
| ≈2.77777777777778 | ≈0.98976 |
| ≈3.88888888888889 | ≈0.99968 |
| ≈4.44444444444444 | ≈1 |
The null experiment fixes weights and ranks
W7: every two-versus-two allocation has its weight. Prepared under the selected assumptions.
W7: every two-versus-two allocation has its weight. Measurement unit: seconds. Original input values are retained without rounding. nA=2; nB=2; distinct labelled allocations=6; ordering=upper; mode=exact; alpha=1/10.
Assumptions: Under the null, pooled observations have the common-distribution exchangeable-label law; equality of means alone is insufficient. Every labelled allocation has weight1/C(N,nA), including duplicates that yield tied statistic values.
Target: Difference in group means [seconds], with the declared upper extremeness ordering.
Reference experiment: Enumerate the whole allowed allocation law. The observed allocation is already included.
Calibration: Inclusive tail comparisons preserve ties; reject when p≤alpha. Strict and half-tie tails are descriptive alternatives without automatic super-uniformity.
Decision at the declared threshold: Inclusive exact allocation test: do not reject
| Original index | Recorded value [seconds] |
|---|---|
| 1 | 4 |
| 2 | 7 |
| 3 | 1 |
| 4 | 2 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed mean difference | 4 | ≈4 | seconds |
| Labelled allocation count | 6 | ≈6 | Not the number of distinct statistic values. |
| Inclusive full-reference p | 1/6 | ≈0.1666666667 | Observed allocation included; no extra plus one for full enumeration. |
| Strict full-reference tail | 0 | ≈0 | Descriptive strict comparison, not the inclusive test. |
| Equality mass | 1/6 | ≈0.1666666667 | Tie multiplicity retained. |
| Half-tie mid-p | 1/12 | ≈0.08333333333 | A changed procedure; may be anti-conservative. |
| Inclusive upper tail | 1/6 | ≈0.1666666667 | Ordering T≥Tobs. |
| Inclusive lower tail | 1 | ≈1 | Ordering T≤Tobs. |
| Capped doubled upper tail | 1/3 | ≈0.3333333333 | A declared different construction, not equated to absolute extremeness. |
| Actual null rejection probability | 0 | ≈0 | Exact probability that the displayed p-value rule satisfies p≤alpha. |
| Mid-p null rejection probability | 1/6 | ≈0.1666666667 | A separate procedure; compare with the declared alpha. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | meanA−meanB [seconds] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | -4 | 1/6 | 1 |
| 1 | -2 | 1/6 | 1 |
| 2 | -1 | 1/6 | 1 |
| 3 | 1 | 1/6 | 1 |
| 4 | 2 | 1/6 | 1 |
| 5 | 4 | 1/6 | 1 |
| A original indices (1-based) | Exact T [seconds] |
|---|---|
| 1, 2 | 4 |
| 1, 3 | -2 |
| 1, 4 | -1 |
| 2, 3 | 1 |
| 2, 4 | 2 |
| 3, 4 | -4 |
| Outcome position | p-value [dimensionless] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1/6 | 1/6 | weighted exact |
| 1 | 1/3 | 1/6 | weighted exact |
| 2 | 1/2 | 1/6 | weighted exact |
| 3 | 2/3 | 1/6 | weighted exact |
| 4 | 5/6 | 1/6 | weighted exact |
| 5 | 1 | 1/6 | weighted exact |
| Field | Declared finite value |
|---|---|
| id | six-allocations |
| label | W7: every two-versus-two allocation has its weight |
| unit | seconds |
| A | ["4","7"] |
| B | ["1","2"] |
| ordering | upper |
| nullModel | exchangeable |
| mode | exact |
| replicates | 2 |
| alpha | 1/10 |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈-4 | ≈0.166666666666667 |
| ≈-2 | ≈0.166666666666667 |
| ≈-1 | ≈0.166666666666667 |
| ≈1 | ≈0.166666666666667 |
| ≈2 | ≈0.166666666666667 |
| ≈4 | ≈0.166666666666667 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0.166666666666667 | ≈0.166666666666667 |
| ≈0.333333333333333 | ≈0.333333333333333 |
| ≈0.5 | ≈0.5 |
| ≈0.666666666666667 | ≈0.666666666666667 |
| ≈0.833333333333333 | ≈0.833333333333333 |
| ≈1 | ≈1 |
Signs, zeros and median intervals
W10: six of eight signs; finite median-range coverage. Prepared under the selected assumptions.
W10: six of eight signs; finite median-range coverage. Measurement unit: mm. Original input values are retained without rounding. n=8; positives=6; zeros=0; effective count=8; zero convention=retain; alpha=1/20; median k=1.
Assumptions: Independent observations from a common continuous distribution with median0 and no atom at 0. Fair signs follow without requiring symmetry. Exact order-statistic median coverage additionally requires a common continuous population median.
Target: A sign-count reference and a separately qualified population-median interval.
Reference experiment: Retain all original observations when comparing the number of strictly positive signs.
Calibration: Inclusive comparisons; reject p≤alpha. A median alone does not justify fair signs after deleting zeros.
Decision at the declared threshold: Declared sign procedure: do not reject
| Original index | Recorded value [mm] |
|---|---|
| 1 | -2 |
| 2 | -1 |
| 3 | 1 |
| 4 | 3 |
| 5 | 4 |
| 6 | 6 |
| 7 | 8 |
| 8 | 9 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Strict positive count | 6 | ≈6 | Differences equal to zero are not silently made positive. |
| Recorded zero count | 0 | ≈0 | The declared zero convention determines any conditioning. |
| Reference count | 8 | ≈8 | The count actually used in the binomial tail. |
| Arithmetic inclusive upper reference tail | 37/256 | ≈0.14453125 | Exact fair tail, or conservative retained-n bound as specified. |
| Arithmetic central doubled tail | 37/128 | ≈0.2890625 | Only a calibrated central test when the fair-sign law is justified. |
| Achieved continuous-median interval coverage | 127/128 | ≈0.9921875 | Exact1−2P{Binomial(n,1/2)≤k−1}; not rounded to a requested confidence label. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Outcome position | positive count [count] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 0 | 1/256 | weighted exact |
| 1 | 1 | 1/32 | weighted exact |
| 2 | 2 | 7/64 | weighted exact |
| 3 | 3 | 7/32 | weighted exact |
| 4 | 4 | 35/128 | weighted exact |
| 5 | 5 | 7/32 | weighted exact |
| 6 | 6 | 7/64 | weighted exact |
| 7 | 7 | 1/32 | weighted exact |
| 8 | 8 | 1/256 | weighted exact |
| Method [mm] | Exact lower endpoint | Exact upper endpoint |
|---|---|---|
| [X_1,X_8] | -2 | 9 |
| Field | Declared finite value |
|---|---|
| id | eight-signs |
| label | W10: six of eight signs; finite median-range coverage |
| unit | mm |
| kind | sample |
| differences | ["-2","-1","1","3","4","6","8","9"] |
| ordering | upper |
| zeros | retain |
| nullModel | continuousMedian |
| alpha | 1/20 |
| medianK | 1 |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0.00390625 |
| ≈1 | ≈0.03125 |
| ≈2 | ≈0.109375 |
| ≈3 | ≈0.21875 |
| ≈4 | ≈0.2734375 |
| ≈5 | ≈0.21875 |
| ≈6 | ≈0.109375 |
| ≈7 | ≈0.03125 |
| ≈8 | ≈0.00390625 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈1 |
| ≈11 | ≈1 |
Conditional signed ranks and rank sums
W12: exact rank-sum tail and pairwise superiority. Prepared under the selected assumptions.
W12: exact rank-sum tail and pairwise superiority. Measurement unit: mm. Original input values are retained without rounding. nA=3; nB=3; pooled N=6; labelled allocations=20; ordering=upper.
Assumptions: Independent groups from a common distribution make pooled group labels exchangeable under the exact null. P(A>B)+half P(A=B)=1/2 alone is a weaker null and does not justify this finite allocation distribution. Ties keep their multiplicities.
Target: Rank-sum null tail and a separately interpreted empirical pairwise-superiority estimate.
Reference experiment: Assign fixed-size group labels to the pooled average ranks with equal original-allocation weights.
Calibration: Inclusive equality; reject p≤alpha. A reference null tail is distinct from a pairwise effect estimate.
Decision at the declared threshold: Declared conditional rank test: do not reject
| Original index | Recorded value [mm] |
|---|---|
| 1 | 3 |
| 2 | 5 |
| 3 | 8 |
| 4 | 1 |
| 5 | 2 |
| 6 | 7 |
| Quantity | Exact value / status | Approximate decimal | Meaning |
|---|---|---|---|
| Observed A rank sum | 13 | ≈13 | Sum of pooled average ranks. |
| Observed U | 7 | ≈7 | Cross-group wins plus half ties; dimensionless. |
| Empirical pairwise superiority | 7/9 | ≈0.7777777778 | An effect estimate, not an exact null p-value or a generic median difference. |
| Conditional reference mean | 9/2 | ≈4.5 | nA nB/2 under the fixed pooled allocation law. |
| Exact conditional reference variance | 21/4 | ≈5.25 | Computed from the complete tied or untied allocation law. |
| Labelled allocation count | 20 | ≈20 | Combinations, not distinct U values. |
| Untied variance identity | 21/4 | ≈5.25 | nA nB(N+1)/12, only for no pooled ties. |
| Inclusive declared rank p-value | 1/5 | ≈0.2 | Upper tail at the observed statistic. |
| Actual conditional null rejection probability | 1/20 | ≈0.05 | Exact conditional probability of p≤alpha, with the original weights. |
Fractions and symbolic expressions retain the exact declared finite calculation. Decimals marked ≈ and numeric axis ticks are finite approximations. Ordinal outcome positions are zero-based table rows; they do not claim equal spacing of statistic values. Mass and cumulative-probability axes are labelled separately. Exact empirical resampling is distinct from accurate population-sampling approximation; a nominal confidence label alone does not verify coverage.
Exact law, weights, interval and calibration tables
| Recorded value [mm] | Original group | Exact average rank |
|---|---|---|
| 3 | A | 3 |
| 5 | A | 4 |
| 8 | A | 6 |
| 1 | B | 1 |
| 2 | B | 2 |
| 7 | B | 5 |
| A original indices (1-based) | Exact U |
|---|---|
| 1, 2, 3 | 7 |
| 1, 2, 4 | 2 |
| 1, 2, 5 | 3 |
| 1, 2, 6 | 6 |
| 1, 3, 4 | 4 |
| 1, 3, 5 | 5 |
| 1, 3, 6 | 8 |
| 1, 4, 5 | 0 |
| 1, 4, 6 | 3 |
| 1, 5, 6 | 4 |
| 2, 3, 4 | 5 |
| 2, 3, 5 | 6 |
| 2, 3, 6 | 9 |
| 2, 4, 5 | 1 |
| 2, 4, 6 | 4 |
| 2, 5, 6 | 5 |
| 3, 4, 5 | 3 |
| 3, 4, 6 | 6 |
| 3, 5, 6 | 7 |
| 4, 5, 6 | 2 |
| Outcome position | U [rank] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 0 | 1/20 | 1 |
| 1 | 1 | 1/20 | 1 |
| 2 | 2 | 1/10 | 2 |
| 3 | 3 | 3/20 | 3 |
| 4 | 4 | 3/20 | 3 |
| 5 | 5 | 3/20 | 3 |
| 6 | 6 | 3/20 | 3 |
| 7 | 7 | 1/10 | 2 |
| 8 | 8 | 1/20 | 1 |
| 9 | 9 | 1/20 | 1 |
| Outcome position | p-value [dimensionless] | Exact probability | Multiplicity / status |
|---|---|---|---|
| 0 | 1/20 | 1/20 | weighted exact |
| 1 | 1/10 | 1/20 | weighted exact |
| 2 | 1/5 | 1/10 | weighted exact |
| 3 | 7/20 | 3/20 | weighted exact |
| 4 | 1/2 | 3/20 | weighted exact |
| 5 | 13/20 | 3/20 | weighted exact |
| 6 | 4/5 | 3/20 | weighted exact |
| 7 | 9/10 | 1/10 | weighted exact |
| 8 | 19/20 | 1/20 | weighted exact |
| 9 | 1 | 1/20 | weighted exact |
| Field | Declared finite value |
|---|---|
| id | rank-sum-effect |
| label | W12: exact rank-sum tail and pairwise superiority |
| unit | mm |
| kind | rankSum |
| A | ["3","5","8"] |
| B | ["1","2","7"] |
| ordering | upper |
| alpha | 1/20 |
Finite values behind the scientific figures
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0 | ≈0.05 |
| ≈1 | ≈0.05 |
| ≈2 | ≈0.1 |
| ≈3 | ≈0.15 |
| ≈4 | ≈0.15 |
| ≈5 | ≈0.15 |
| ≈6 | ≈0.15 |
| ≈7 | ≈0.1 |
| ≈8 | ≈0.05 |
| ≈9 | ≈0.05 |
| Horizontal coordinate (approximate) | Vertical value (approximate) |
|---|---|
| ≈0.05 | ≈0.05 |
| ≈0.1 | ≈0.1 |
| ≈0.2 | ≈0.2 |
| ≈0.35 | ≈0.35 |
| ≈0.5 | ≈0.5 |
| ≈0.65 | ≈0.65 |
| ≈0.8 | ≈0.8 |
| ≈0.9 | ≈0.9 |
| ≈0.95 | ≈0.95 |
| ≈1 | ≈1 |
Worked examples
Enumerate an empirical bootstrap law
Three recorded instrument delays are (1,1,4) seconds. Resample three original indices independently with replacement. Find the exact distribution, mean and variance of the resampled mean, and compare the variance with s²/n.
- There are 3³=27 equally likely ordered index tuples. Selecting either of the two value-1 indices gives probability 2/3, while selecting the value-4 index gives probability 1/3.
- If K counts selections of the value-4 index, then K∼Binomial(3,1/3) and X̄*=(3+3K)/3=1+K seconds. The four mean values 1,2,3,4 have counts 8,12,6,1.
- The mean is 1+E[K]=2 seconds. The variance is Var(K)=3(1/3)(2/3)=2/3 seconds². Equivalently use vₙ/n, with vₙ=6/3=2 seconds².
- The Bessel-corrected original sample variance is 6/(3−1)=3 seconds², so s²/n=1 second². These are finite recorded-data constructions; the population-unbiasedness interpretation additionally requires iid sampling with finite population variance. Enumeration does not establish population bootstrap validity from only these three observations.
P*(X̄*=1,2,3,4)=(8,12,6,1)/27, with mean 2 seconds and variance 2/3 seconds². The usual s²/n is 1 second².
Reflect the same quantiles around the estimate
For the (1,1,4)-second example, find nominal 95% percentile and basic intervals using the left-inverse quantiles of its exact bootstrap law.
- The cumulative probabilities at 1,2,3,4 seconds are 8/27,20/27,26/27,1. The first value whose cumulative probability reaches 0.025 is 1; the first reaching 0.975 is 4.
- The percentile endpoints are therefore [1,4] seconds. Since these are the smallest and largest possible bootstrap means, this closed interval contains conditional mass one.
- The basic endpoints are [2·2−4,2·2−1]=[0,3] seconds. The high error quantile produces the low parameter endpoint, explaining the reversal.
- Both procedures carry a nominal 95% label only as a confidence-method construction. This finite conditional arithmetic does not establish their coverage for an unknown original population, and it is not a posterior calculation.
Percentile [1,4] seconds; basic [0,3] seconds. The conditional percentile mass is one, with no resulting 95% population-coverage guarantee.
Do not discard the undefined third of a pivot law
For the same record, form T*=(X̄*−2)/(s*/√3). Determine its finite real-valued states and whether the ordinary full bootstrap-t law is defined.
- The all-one record occurs in 2³=8 ordered index tuples. The all-four record occurs in one tuple. Both have s*=0, so the stipulated positive-denominator pivot is undefined on nine records.
- A record with one four and two ones has mean 2 and sample variance 3, so s*/√3=1 and T*=0. It occurs in twelve tuples.
- A record with two fours and one one has mean 3 and the same sample variance 3, giving T*=1. It occurs in six tuples.
- The defined masses are 12/27 at zero and 6/27 at one, while 9/27 is undefined. They are not a complete real-valued pivot distribution. Renormalizing to probabilities 2/3 and 1/3 would change the procedure rather than complete its original law.
One-third of the resamples have an undefined pivot. The stated unmodified finite bootstrap-t construction cannot supply an ordinary complete real-valued pivot law.
Keep the BCa conventions reproducible
For delays (1,2,3,8) seconds and their mean, compute the jackknife acceleration and nominal 90% BCa endpoints under the midpoint-tie bias-rank convention.
- The observed mean is 7/2. Delete-one means are 13/3,4,11/3,2, with average 7/2. Their differences dᵢ equal (xᵢ−7/2)/3, so the common scale cancels from acceleration.
- The centered original squares sum to 29 and cubes to 72. Thus a=72/[6·29^(3/2)]=12/(29√29)≈0.0768394503.
- Among all 256 ordered bootstrap records, 121 means are below 7/2 and 28 equal it. Midpoint r=135/256 gives z₀≈0.0685943705; the strict convention would instead use r=121/256.
- For lower p=0.05 and upper p=0.95, the BCa adjustment gives probabilities about 0.0905500678 and 0.9794163364. The left-inverse quantiles of the exact mean law at those probabilities are 7/4 and 13/2 seconds. The calculations use a nominal 90% level, with no finite-sample coverage certification.
a=12/(29√29), midpoint z₀≈0.06859437, and endpoints [7/4,13/2] seconds for the declared nominal 90% BCa algorithm.
A bootstrap atom cannot match a continuous gap law
Five hypothetical Uniform(0,θ) readings are (1,2,4,7,9) mm, with unknown endpoint θ. Find the ordinary empirical-bootstrap probability of retaining the observed maximum and explain the asymptotic failure for the maximum gap.
- The observed maximum is M=9 mm and has one index. It is absent from a five-draw empirical resample only if all draws avoid that index, probability (4/5)⁵.
- Thus P*(M*=M)=1−(4/5)⁵=2101/3125. The bootstrap gap 5(M−M*)/M has this atom at zero.
- For an iid Uniform population, n(θ−M)/θ has cumulative distribution 1−(1−u/n)ⁿ on 0≤u≤n and no atom at zero. Its limit is exponential rate one.
- The bootstrap atom tends to 1−e^(−1), while the target limiting cumulative distribution at zero is zero. This prevents convergence to that target law. More bootstrap replicates estimate the mismatched empirical law more accurately without removing its atom.
The retained-maximum probability is 2101/3125. Its nonvanishing limiting zero-gap atom demonstrates failure of the ordinary n-out-of-n empirical maximum bootstrap.
An exact empirical result can have inadequate coverage
Nine iid Bernoulli records are all zero. Find the ordinary empirical percentile interval for the success probability. At hypothetical true p=1/5, bound the coverage of this nominal 95% procedure using this event alone.
- The empirical measure is δ₀. Every resampled fraction is zero, so every interior bootstrap quantile is zero and the percentile interval is [0,0].
- Under true p=1/5, the probability of the original all-zero record is (4/5)⁹=262144/1953125≈0.134217728.
- This interval misses p=1/5 on that entire event. Consequently overall coverage is at most 1−262144/1953125=1690981/1953125≈0.865782272.
- The bound does not claim every other record covers; additional failures can lower coverage further. No increase of B changes the empirical support on the all-zero record. A prior or smoothed model would define another procedure.
The interval is [0,0], and its nominal 95% population coverage at p=1/5 is bounded above by about 86.58%.
Enumerate the allowed assignments
Setting A gives delays (4,7) seconds and setting B gives (1,2) seconds. For T=meanA−meanB, enumerate all fixed two-versus-two allocations and compute upper and absolute two-sided reference p-values.
- Sort the pooled labelled values as 1,2,4,7. The six possible A subsets are {1,2},{1,4},{1,7},{2,4},{2,7},{4,7}. Their mean differences are −4,−2,1,−1,2,4 seconds.
- The observed A subset is {4,7}, giving Tobs=4 seconds. It is the only allocation with T≥4, so the inclusive upper tail is 1/6.
- The allocations at −4 and 4 both satisfy |T|≥4. The absolute two-sided tail is 2/6=1/3.
- Equal weights require the declared common-distribution exchangeable-label null or a uniform fixed-size randomized assignment under a suitable sharp null. Equal population means alone do not supply this assignment law. The observed allocation has already been counted, so full enumeration needs no additional plus one.
Upper p=1/6 and absolute two-sided p=1/3 under the stated six-allocation reference experiment.
Tied values keep their original multiplicities
Pooled binary records are (0,0,1,1), with observed A=(1,1) and B=(0,0). Compare inclusive upper-tail, strict-tail and half-tie mid-p values under uniform two-versus-two assignment.
- There are six labelled allocations. One gives T=−1, four give T=0, and one gives T=1. Distinct statistic values therefore have masses 1/6,4/6,1/6.
- At Tobs=1, the inclusive upper p-value is 1/6. The strict tail P(T>1) is zero, while mid-p=P(T>1)+(1/2)P(T=1)=1/12.
- At nominal level 1/10, the mid-p rule rejects when T=1. That event has null probability 1/6>1/10; thus this modification is not super-uniform at that level.
- Using equal weights on the distinct numbers −1,0,1 would also change the reference law. Maintain original assignment multiplicities and state the tie convention when claiming exact finite calibration.
Inclusive p=1/6; strict tail zero; mid-p=1/12. The mid-p rule has size 1/6 at level 1/10 in this example.
Count the observed outcome in the random rank
Use B=19 valid random transformations with replacement. Find pMC for zero and two simulated results at least as extreme. Then check B=2 on a six-distinct-rank orbit by enumerating observed and random ranks.
- The calibrated fixed-B rank is (1+b)/(B+1). With B=19, b=0 gives 1/20 and b=2 gives 3/20. With B=999 and no simulated extreme, its minimum is 1/1000.
- For the six-rank orbit and B=2, enumerate 6³=216 triples. If k of the six transformed ranks are at least as extreme as the observed one, the two random comparisons have Binomial(2,k/6) law. Under the null k is uniform over 1,…,6.
- Summing those six binomial laws gives counts 55,70,91 for pMC=1/3,2/3,1. In particular P₀(pMC≤1/3)=55/216≤1/3.
- The raw estimator b/B is zero in the same 55/216 cases with no random extreme. It estimates a full-orbit tail conditional on the observation and is not the same calibrated rank. Fixing B and using the valid full transformation law are essential assumptions.
For B=19 the answers are 1/20 and 3/20. The B=2 exact rank law has masses (55,70,91)/216 at (1/3,2/3,1).
A sign count uses its binomial reference
Eight independent paired calibration differences are (−2,−1,1,3,4,6,8,9) mm. Under a continuous common distribution with median zero and no atom at zero, find an upper sign-test p-value and its ordinary central two-sided counterpart.
- Six differences are positive and two negative. Under the stated null, S₊∼Binomial(8,1/2); symmetry of the observed magnitudes is not needed.
- The inclusive upper tail is [C(8,6)+C(8,7)+C(8,8)]/2⁸=(28+8+1)/256=37/256.
- The smaller inclusive tail is this upper tail, so the central doubled-tail p-value is 2·37/256=37/128.
- The result concerns the fair-sign/median-center null under these assumptions. It does not test a population mean without further conditions. There are no zeros to drop in this example.
Upper p=37/256; ordinary central two-sided p=37/128.
Condition on magnitudes before changing signs
For independent differences (−1,2,3,−4,5) mm, use the continuous symmetric-about-zero null. Find W₊ and exact upper and absolute-centered two-sided signed-rank tails.
- The absolute values are 1,2,3,4,5, already distinct and ranked in that order. Positive differences have ranks 2,3,5, so W₊=10.
- Conditional on these magnitudes, all 2⁵=32 sign vectors have equal probability. The coefficient counts of ∏_(r=1)⁵(1+zʳ) are the numbers of subsets producing each rank sum.
- The counts at sums 10,11,12,13,14,15 are 3,2,2,1,1,1, totaling 10. Thus the inclusive upper probability is 10/32=5/16.
- The total rank sum is 15, giving center 15/2. The symmetric opposite tail is sums at most 5, with the same count 10. The absolute-centered two-sided probability is 20/32=5/8. This conditional sign argument requires symmetry, rather than merely a median of zero.
W₊=10; upper p=5/16; absolute-centered two-sided p=5/8.
Separate a pairwise effect estimate from a null tail
Compare independent groups A=(3,5,8) mm and B=(1,2,7) mm. Find A’s rank sum, U, empirical pairwise superiority and exact upper rank-sum p under the common continuous distribution null.
- The ordered pooled values are 1,2,3,5,7,8. A has ranks 3,4,6, giving R_A=13 and U=13−3·4/2=7.
- Among the nine cross-group comparisons, values 3 and 5 each exceed 1 and 2, while 8 exceeds all three B values. There are seven A>B pairs and no ties, so empirical superiority is 7/9.
- There are C(6,3)=20 equally weighted rank allocations under the stated null. Counts for U=0,…,9 are 1,1,2,3,3,3,3,2,1,1. The upper tail at 7 has count 2+1+1=4.
- The exact upper p-value is 4/20=1/5. It is a finite common-distribution-null tail, while 7/9 estimates a population pairwise probability. A median or causal interpretation requires additional assumptions.
R_A=13, U=7, empirical superiority 7/9 and upper p=1/5.
Try it yourself
For readings (2,2,5,9) seconds, find the empirical mass at 2, the mean, vₙ and conditional variance of a four-draw bootstrap mean. Also find s².
Show the answer and reasoning
Mass 1/2; mean 9/2 seconds; vₙ=33/4 seconds²; Var*(X̄*)=33/16 seconds²; s²=11 seconds².
Each original index has mass 1/4, so the duplicate twos combine to 1/2. The squared deviations from 4.5 sum to 33. Divide by 4 for vₙ, by another 4 for the bootstrap mean variance, and by 3 for the n−1 sample variance.
In a four-draw bootstrap from four distinct original indices, find the probability a specified index is absent and the expected number of distinct indices represented.
Show the answer and reasoning
Absent probability 81/256; expected number of distinct indices 175/64.
Avoiding one index on every draw gives (3/4)⁴=81/256. Sum four inclusion indicators to obtain expected distinct count 4[1−81/256]=175/64. The resample still has four draws even though fewer distinct original indices are usually present.
For n=3, how many ordered index resamples and unordered nonnegative count vectors exist? What probability belongs to count vector (2,1,0)?
Show the answer and reasoning
There are 27 ordered records and 10 count vectors; the specified vector has probability 1/9.
The ordered count is 3³. Stars-and-bars gives C(5,2)=10 count vectors summing to three. Vector (2,1,0) has 3!/(2!1!0!)=3 ordered tuples, so probability 3/27. Equal probability over the ten count vectors would be another experiment.
An observed estimate is 10 units, with bootstrap quantiles q₀.₀₂₅*=8 and q₀.₉₇₅*=15 units. Give percentile and basic endpoints.
Show the answer and reasoning
Percentile [8,15] units; basic [5,12] units.
The percentile method uses the supplied quantiles directly. Basic inversion gives [2·10−15,2·10−8]. This endpoint arithmetic does not establish actual 95% coverage; that requires the relevant sampling approximation and quantile conventions.
Four independent bootstrap statistic replicates are (1,2,2,5) units. Find their mean and B−1 variance estimate. Is the square root automatically an unbiased SD estimate?
Show the answer and reasoning
Mean 5/2 units; variance estimate 3 units²; its square root √3 units need not be unbiased for conditional SD.
The squared deviations sum to 9 and B−1=3. Under the stated iid-replicate and finite-variance conditions, this variance estimate is unbiased for the conditional bootstrap variance. Dividing by B would instead give 9/4. Taking a nonlinear square root does not preserve unbiasedness.
The observed estimate is 10 units and its estimated SE is 2 units. A valid bootstrap-t approximation has lower and upper pivot quantiles −3/2 and 2. Invert them.
Show the answer and reasoning
The interval is [6,13] units.
Use [10−2·2,10−(−3/2)·2]. The reversal follows from solving for the unknown parameter. Positive observed and replicate SEs and a suitable pivot approximation are assumptions beyond this algebra.
All three readings are 4 mm. Give the empirical bootstrap mean, SE and percentile endpoints. What happens to the delete-one BCa acceleration?
Show the answer and reasoning
Mean 4 mm, SE zero and percentile endpoints [4,4] mm. The acceleration is undefined because its denominator and numerator are zero.
Every resample and delete-one mean is constant. Thus all dᵢ are zero and acceleration has a 0/0 ratio. Reporting a=0 would add a fallback convention rather than evaluate the stated formula. The exact empirical degeneracy supplies no automatic population-confidence guarantee.
At true Bernoulli p=1/10, eight original trials happen to be all zero. Find that event probability. Can an ordinary empirical bootstrap recover ones by increasing B?
Show the answer and reasoning
The event probability is 43046721/100000000. No finite or infinite number of empirical resamples creates a one from this empirical measure.
The original event probability is (9/10)⁸. Conditional on that record, F̂ₙ=δ₀ and its support contains only zero. More resamples address numerical approximation of this same point law, rather than uncertainty about an unseen category.
Four distinct continuous observations have a unique sample maximum. Find the probability an ordinary four-draw empirical bootstrap includes it.
Show the answer and reasoning
175/256.
Every draw avoids its index with probability 3/4, so inclusion probability is 1−(3/4)⁴=175/256. This is a conditional probability of retaining an observed value, not a population probability mass at an unknown continuous endpoint.
For (1,2,3,8), calculate the sample mean’s acceleration using dᵢ=averageDelete−deleteᵢ. Explain the effect of reversing that convention.
Show the answer and reasoning
a=12/(29√29)≈0.0768394503. Reversing every dᵢ reverses a.
For the mean, dᵢ=(xᵢ−x̄)/3 and the positive common scale cancels. The centered cubes sum to 72 and squares to 29, giving 72/[6·29^(3/2)]. An odd-power numerator changes sign under d↦−d, while the denominator does not.
Pool values (1,3,8), assign one to A and two to B, and observe A=8. For T=meanA−meanB, compare upper, absolute two-sided and doubled-upper tails.
Show the answer and reasoning
Upper 1/3; absolute two-sided 1/3; doubled upper 2/3.
The equally weighted differences are −9/2,−3/2,6. Only the observed allocation reaches T≥6 or |T|≥6. Doubling the upper probability defines a different rule in this asymmetric reference law, so the two-sided convention must be stated.
For fixed B=99 valid random transformations, four are at least as extreme as the observation. Find the calibrated rank p-value and its smallest attainable value.
Show the answer and reasoning
pMC=5/100=1/20, with minimum 1/100.
The observed record contributes one to the numerator and denominator, giving (1+4)/(99+1). This relies on the specified null-invariant random protocol. A conditional estimate of the full-orbit tail and its Monte Carlo precision are separate from this calibrated rank.
Under a common continuous distribution null, compare two independent groups of size three. Find the smallest inclusive upper and symmetric absolute two-sided rank-sum p-values.
Show the answer and reasoning
Upper minimum 1/20; symmetric absolute two-sided minimum 1/10.
There are C(6,3)=20 equal allocations. A unique highest rank sum supplies one upper-tail allocation, while the two opposite rank extremes supply two absolute-tail allocations. At level 0.05 the upper extreme can reject, but the ordinary symmetric two-sided extreme cannot.
Ten independent continuous median-zero differences with no atom at zero have nine positive signs. Find upper and ordinary central two-sided sign p-values.
Show the answer and reasoning
Upper 11/1024; central two-sided 11/512.
The inclusive upper Binomial(10,1/2) tail has numerator C(10,9)+C(10,10)=11 over 2¹⁰. Doubling it gives the central two-sided value. This sign calibration does not require symmetric magnitudes.
Let P(D=0)=4/5,P(D=1)=1/5,P(D=−1)=0. For 30 iid differences, drop zeros and apply a one-sided fair-sign test at level 0.05. Find its actual rejection probability, despite zero being a median.
Show the answer and reasoning
693618082683236366249/931322574615478515625≈0.7447667453.
Conditional on K nonzero differences, all K signs are positive. The adopted fair-sign tail is 2^(−K), at most 0.05 exactly when K≥5. With K∼Binomial(30,1/5), sum P(K=k) from 5 to 30 to obtain the displayed value. Bare median zero did not supply conditional fair signs after zero deletion.
Four independent continuous differences from a symmetric-about-zero null have all positive signs and distinct magnitudes. Find upper and symmetric two-sided signed-rank p-values.
Show the answer and reasoning
Upper 1/16; symmetric two-sided 1/8.
Conditional on the magnitudes, all 16 sign vectors are equally likely. Only the all-positive vector maximizes W₊, and the all-negative vector is the opposite extreme. The required fair conditional signs arise from symmetry and independence, rather than a general absence of normality.
For A=(2,4) and B=(1,3), find U, empirical superiority and exact inclusive upper p under the common continuous distribution null.
Show the answer and reasoning
U=3, empirical superiority 3/4 and upper p=1/3.
Three of four A–B comparisons have A>B. The six allocations give U values 0,1,2,2,3,4, so two allocations reach at least the observed 3. Thus the upper tail is 2/6. The normalized U estimates a pairwise effect, while the tail uses the stronger exchangeable common-distribution null.
Two independent clusters have observed rows (0,0) and (2,2). Compare the conditional grand-mean variances from resampling two whole clusters and from resampling four iid rows. Interpret the comparison if each cluster’s latent value has population variance one.
Show the answer and reasoning
The bootstrap variances are 1/2 and 1/4. In the perfect-duplicate population design, the actual grand-mean variance is 1/2, compared with the false iid-row calculation 1/4.
Whole-cluster resampling gives grand means 0,1,2 with weights 1/4,1/2,1/4. Row resampling averages four draws with empirical variance one, giving 1/4. With independent latent cluster values C₁,C₂ of variance one, the original grand mean is (C₁+C₂)/2 and has variance 1/2. Two observed clusters still do not establish general accuracy of a cluster-bootstrap approximation.
What to carry forward
- An empirical bootstrap law is conditional on the observed record. Population approximation and finite-replicate Monte Carlo error are additional layers.
- Original index multiplicities, variance denominators, quantile definitions and undefined standard errors determine the finite calculation.
- Mean and regular-quantile bootstrap validity require their stated conditions. Ordinary resampling can fail for extremes, boundary cells or an inappropriate independent unit.
- Percentile, basic, bootstrap-t and BCa intervals are different constructions. Their nominal confidence labels require calibration beyond endpoint arithmetic.
- Permutation and randomization tests use a specified null or assignment law. Full enumeration, random ranks, extremeness rules and ties need their actual weights.
- Sign, signed-rank and rank-sum methods have different assumptions and effect targets. Keep zeros, symmetry, exchangeability and pairwise interpretations explicit.
- Preserve the scientific design, measurement units and full analysis pipeline; use computational precision to check a chosen reference law rather than substitute for its justification.
References
Sources for the concepts and teaching approaches in this article.
- Bootstrap confidence intervalsMIT OpenCourseWare; Jeremy Orloff and Jonathan BloomUniversity course reading · PDF
- The automatic construction of bootstrap confidence intervalsBradley Efron and Balasubramanian Narasimhan; author-hosted preprintAuthor hosted methodological paper · PDF
- bootstrap and its BCa implementationSciPy developersOfficial technical documentation and source
- Exact testing with random permutationsJesse Hemerik and Jelle GoemanPrimary methodological article
- Permutation P-values Should Never Be ZeroBelinda Phipson and Gordon K. Smyth; author-hosted corrected preprintPrimary methodological article · PDF
- Wilcoxon Rank Sum and Signed Rank TestsR stats authors; R project manualOfficial technical documentation
Charles J. Geyer; University of Minnesota2 sources
- Some Asymptotic Theory for the BootstrapPeter J. Bickel and David A. Freedman; National Taiwan University-hosted copy of the primary articlePrimary methodological article · PDF
- Bahadur representations for bootstrap quantilesYijun Zuo; author-hosted manuscript at Michigan State UniversityAuthor hosted methodological paper · PDF