Your Equation

Library / Probability distributions / PRD-33

Probability distributions

Laplace error: two-sided tolerance exceedance

Probability that a Laplace error lies outside a symmetric tolerance of half-width t about the location, counting both tails together.

Ref
PRD-33
Rev
v1
Field
Probability distributions
Result
P

For a symmetric tolerance of half-width t about the location, the probability of falling outside both limits together is e^(−t/s). Each tail carries half of it. The result depends only on the ratio t/s, so a tolerance of one scale length leaves 37 % outside.

Probability that a Laplace error lies outside a symmetric tolerance of half-width t about the location, counting both tails together.

Calculator

Solve for
mm
0.510
mm
015
  • Probability within the tolerance, 1 − e^(−t/s)0.4866
  • Probability above the upper limit only0.2567
  • Half-width for 1 % outside, s ln 10013.82 mm

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Probability outside ±t () current value 0.5134
tTolerance half-width tKey driver
0.006741
sScale s
0.01830.819
  • A tolerance of ±2 mm leaves 51.3 % of readings outside, 25.7 % in each tail.
  • Doubling the tolerance squares the exceedance probability, which is how fast exponential tails shrink.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
t Tolerance half-width t0 to 15 mm0.00673810.9933+10%−6.45 %
s Scale s0.5 to 10 mm0.018320.81870.8004+10%+6.25 %

Sweep of Tolerance half-width t

Tolerance half-width t (mm)Probability outside ±t
01
1.8750.5353
3.750.2865
5.6250.1534
7.50.08208
9.3750.04394
11.250.02352
13.130.01259
150.006738

Sweep one variable

Probability outside ±t ()Hover, touch, or use the arrow keys on the chart
00.20.40.60.81 04812 Tolerance half-width t (mm) now 0.5134

Variables and how each one contributes

P

Probability outside ±t

Result ·

What the equation gives you. Everything else feeds it.

s

Scale s

mm · typical 0.5 to 10

The scale, in mm. The mean absolute error equals s. Widens the distribution and lowers the peak. Raising it by 10 % (to 3.3) moves the result by +6.25 %, from 0.5134 to 0.5455.

t

Tolerance half-width t

mm · typical 0 to 15

The half-width of the symmetric tolerance, in mm. A wider tolerance lets fewer readings fall outside. Raising it by 10 % (to 2.2) moves the result by −6.45 %, from 0.5134 to 0.4803.

Worked example with the values above

  1. Ratio of tolerance to scale: t/s = 2 / 3 = 0.66667.
  2. Negate and exponentiate: e^(−0.66667).
  3. P = 0.51342.

Assumptions and limits

  • Errors are independent, symmetric about m and have exponential tails.
  • The scale is positive and comes from data for the same measurement process.

Common mistakes

  • Using a normal model when outliers are more common than it predicts, which understates the tails.
  • Mixing up the scale s with the standard deviation: the Laplace standard deviation is s√2.
  • Reading the density at a point as a probability.

Statistics and uncertainty

The inputs are parameters, usually fitted to data, and their estimation error carries into the result. The probability or density is a smooth function of the parameters, so the sweep chart shows how sensitive it is: where the curve is steep, a small error in a parameter makes a large difference. The formula treats the parameters as exact, so it gives no confidence interval on its own.

Where it is used

  • Measurement errors and residuals with more large excursions than a normal curve gives.
  • The noise model behind least-absolute-deviation (L1) fitting.

Maths you need

  • Absolute value: the size of a number, ignoring its sign
  • Exponential function: e raised to a power

Related formulas

Practise this formula