This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multicomp / DunnettResult / _allowance

function

scipy.stats._multicomp:DunnettResult._allowance

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multicomp.py:80

Signature

def _allowance(self, confidence_level: DecimalNumber = 0.95, tol: DecimalNumber = 0.001) → float

Summary

Allowance.

Extended Summary

It is the quantity to add/subtract from the observed difference between the means of observed groups and the mean of the control group. The result gives confidence limits.

Parameters

confidence_level : float, optional

Confidence level for the computed confidence interval. Default is .95.

tol : float, optional

A tolerance for numerical optimization: the allowance will produce a confidence within 10*tol*(1 - confidence_level) of the specified level, or a warning will be emitted. Tight tolerances may be impractical due to noisy evaluation of the objective. Default is 1e-3.

Returns

allowance : float

Allowance around the mean.

Aliases

  • scipy.stats._multicomp.DunnettResult._allowance