Skip to content

ratioWithUncertainty

ratioWithUncertainty(value, relativeUncertaintyValue, baseline, relativeUncertaintyBaseline): RatioWithUncertainty

Defined in: uncertainty.ts:26

Ratio of two independently-measured quantities, with the uncertainty propagated from each operand’s own relative uncertainty.

Reporting a ratio without an error term invites reading noise as signal: the relative uncertainty of a quotient of two independent quantities is the quadrature sum (root sum of squares) of their own relative uncertainties.

number

Numerator.

number

value’s dispersion as a fraction of value (e.g. a relative standard deviation).

number

Denominator.

number

baseline’s dispersion as a fraction of baseline.

RatioWithUncertainty

NaN for both fields when baseline is 0.