Your Equation

Library / Probability distributions / PRD-32

Probability distributions

Laplace error: variance

Variance of a Laplace error, in squared measurement units.

Ref
PRD-32
Rev
v1
Field
Probability distributions
Result
Var[X] [mm²]

The variance 2s² converts the scale into squared measurement units. The standard deviation is s√2, about 1.41 s, so a Laplace distribution with the same scale as a normal one's standard deviation is wider.

Variance of a Laplace error, in squared measurement units. It is twice the square of the scale.

Calculator

Solve for
mm²
mm
0.510
  • Standard deviation, s√24.243 mm
  • Mean absolute deviation, s3 mm
  • Interquartile range, 2s ln 24.159 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.

Variance (mm²) current value 18 mm²
sScale sKey driver
0.5200
  • A scale of 3 mm gives a standard deviation of 4.243 mm.
  • The variance rises with the square of the scale: doubling s quadruples the variance.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing (mm²)Local stepChange in result
s Scale s0.5 to 10 mm0.5200199.5+10%+21 %

Sweep of Scale s

Scale s (mm)Variance (mm²)
0.50.5
1.6885.695
2.87516.53
4.06333.01
5.2555.13
6.43882.88
7.625116.3
8.813155.3
10200

Sweep one variable

Variance (mm²)Hover, touch, or use the arrow keys on the chart
050100150200 246810 Scale s (mm) now 18

Variables and how each one contributes

Var[X]

Variance

Result · mm²

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 +21 %, from 18 to 21.78 mm².

Worked example with the values above

  1. Square the scale: s² = 9 mm².
  2. Double it.
  3. Var = 18 mm².

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

A mean, variance or percentile is calculated from fitted parameters, and the uncertainty in those parameters passes straight through. A distribution fitted to a small sample can have parameters that are far from the truth, especially in the tails and for the variance, so quote the result together with the sample size it rests on.

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