Skip to content

BCompare groups · Guide test 288

Minimum effect test

Tests whether an effect exceeds a prespecified practically meaningful threshold rather than merely differing from zero.

Runs in CodeSplashPython example validatedR example validated

Do it in CodeSplash

In the app, set it up in Analyze with one of these methods:

In Equivalence and minimal-effect tests (TOST), choose Hypothesis = Minimal effect (effect beyond the bounds). In Two-sample t-test (Welch / Student, or z test), choose Lens = Minimal effect. In One-sample t-test (or z test), choose Lens = Minimal effect. In Paired t-test, choose Lens = Minimal effect.

Do it in CodeSplash Run this test on your own data, in Python or R.

Bench

Change the design, drag the data, move α. The statistic, its reference distribution and the verdict follow.

Bench · Minimum-effect test

40
40
0.80
1.0
1.0
0.30

H₀: the difference is at most Δ; rejecting says it is bigger than the smallest effect that matters.

0.050

Your data

Drag a point or use ↑/↓ to change it
Group 1 · n = 40 · mean 0.94Group 2 · n = 40 · mean 0.02

If H₀ were true

t = 2.57
  1. The reference: how t varies across samples when H₀ is true.
  2. Your statistic, from the data above.
  3. The p-value: the area at least as extreme as yours (p = .006).
  4. The hatched rejection region at α = .050: statistics landing here reject H₀.

The estimate against the bounds

U = 0.30 · p = .006

Bar: the 95% one-sided interval. Shaded: where the effect must lie to reject H₀. The interval's lower end clears Δ: the effect is compatible with being at least as large as the smallest one that matters.

The formula

t=xˉ1−xˉ2−ΔSE,H0: μ1−μ2≤Δt=\frac{\bar x_1-\bar x_2-\Delta}{\mathrm{SE}},\qquad H_0:\ \mu_1-\mu_2\le\Delta

With your numbers

xˉ1−xˉ2=0.91, Δ=0.30, SE=0.24,t=2.57, ν=78.00\bar x_1-\bar x_2 = 0.91,\ \Delta = 0.30,\ \mathrm{SE} = 0.24,\quad t = 2.57,\ \nu = 78.00
Δ\Delta
the smallest effect that matters, fixed in advance
SE\mathrm{SE}
Welch's standard error

The verdict

t(78.00) = 2.57, p = .006

p ≤ α = .050: reject H₀

Asks for more than any difference: an effect beyond Δ. A two-direction version (either side of ±Δ) needs its own error control.

Statistic
2.574
p-value
0.0060
Minimum-effect test on Group 1: n = 40; Group 2: n = 40: t(78.00) = 2.57, p = .006. The p-value is below α = .050, so the data are hard to reconcile with H0.

Minimum-effect test on Group 1: n = 40; Group 2: n = 40: t(78.00) = 2.57, p = .006. The p-value is below α = .050, so the data are hard to reconcile with H₀.

Question and hypotheses

H0: an effect does not exceed a minimum meaningful magnitude; H1: it does.

Assumptions

A prespecified effect threshold and valid sampling model/SE; choose directional or absolute-magnitude alternative in advance.

Formula

t=(θ^−Δ)/SE(θ^)t=(\widehat\theta-\Delta)/SE(\widehat\theta)

Parameters and notation

Displayed positive-direction test H0 θ≤Δ versus θ>Δ. For |θ|>Δ, the composite interval null and two tails require a calibrated union procedure.

Structure of the method

Compare an effect estimate with a prespecified minimum meaningful boundary rather than zero. For a positive-direction claim, the null is θ≤Δ and the upper-tail statistic uses θ_hat−Δ. An absolute-magnitude claim has a composite interval null and needs a separately calibrated two-direction procedure.

Estimated and nuisance parameters

Estimate the effect, standard error and model degrees of freedom. The minimum meaningful effect Δ is an external scientific/design choice. A standardized threshold additionally invokes a scale parameter whose estimation must be represented; it cannot be treated as a fixed raw-unit margin without justification.

Settings and design choices

Prespecify direction, measurement scale, threshold and alpha. The baseline is a positive-direction Welch comparison with Δ=0.3. Do not inspect the sign of the observed difference and then choose whichever one-sided minimum-effect test is favorable without accounting for that selection.

Fitting and adaptation

Fit the appropriate mean/regression model and test at the meaningful boundary. For reporting, show a compatible confidence bound exceeding Δ along with the point estimate. Adaptation to other outcomes means selecting a valid effect scale and sampling model; no neural fine-tuning or margin optimization is involved.

Sensitivity and robustness

Statistical significance against zero can occur without evidence that the effect exceeds Δ. Increasing n narrows uncertainty but does not create substantive importance. Outliers, dependence and model misspecification affect boundary inference. Sensitivity to alternative defensible thresholds should be displayed as a planned scientific analysis, not a search for significance.

How to use and calibrate

Use the underlying t/z/score reference at the meaningful boundary and a compatible confidence interval.

Example application

Show that an improvement is larger than a practically relevant amount.

Interpretation and pitfalls

Watch out

This reverses the goal of equivalence testing. Rejecting θ=0 alone does not establish a meaningful effect.

What changed in edition 2

  • New sections: structure of the method, estimated and nuisance parameters, settings and design choices, fitting and adaptation, sensitivity and robustness.

Python and R

Prespecified positive minimum effect: H0 mean(x)−mean(y) ≤ .3 versus >.3. A two-direction minimum-effect procedure requires its own multiplicity/union calibration.

Python · native

Validated — Executed successfully in the validation environment · needs numpy, scipy

import numpy as np
from scipy import stats
rng = np.random.default_rng(2026)
x = np.array([4.2,5.1,5.4,4.8,6.0,5.8,4.9,5.6,6.2,5.0])
y = np.array([4.0,4.4,4.8,5.0,5.1,4.3,4.7,4.6,5.2,4.9])
print(stats.ttest_ind(x-.3,y,equal_var=False,alternative="greater"))
Output
TtestResult(statistic=np.float64(1.31278492348105), pvalue=np.float64(0.10449042267452388), df=np.float64(15.004528301886793))
R

Validated — Executed successfully in the validation environment · needs Base/standard library

x <- c(4.2,5.1,5.4,4.8,6.0,5.8,4.9,5.6,6.2,5.0)
y <- c(4.0,4.4,4.8,5.0,5.1,4.3,4.7,4.6,5.2,4.9)
Delta<-.3;print(t.test(x,y,mu=Delta,alternative="greater",var.equal=FALSE))
Output
	Welch Two Sample t-test

data:  x and y
t = 1.3128, df = 15.005, p-value = 0.1045
alternative hypothesis: true difference in means is greater than 0.3
95 percent confidence interval:
 0.1993977       Inf
sample estimates:
mean of x mean of y 
      5.3       4.7

Sources

Statistics guide v4 (historical):
R: Executed successfully in the validation environment
Reference's record:
Edition 2 review: Python: executed · R: not executed (Rscript unavailable). Python: Ran in the reference's review, on this exact code. R: Reviewed but not run: R wasn't available to the reference's authors.

From the CodeSplash statistics guide (v4), entry 288, updated from the reference's edition 2 (reviewed 14 November 2026) as STAT288.