Your Equation

Library / Probability distributions / PRD-28

Probability distributions

Beta proportion: variance

Variance of a beta-distributed proportion.

Ref
PRD-28
Rev
v1
Field
Probability distributions
Result
Var[X]

The variance ab/[(a + b)²(a + b + 1)] shrinks as the total a + b grows, which is how more data narrow the uncertainty about a proportion. It is largest for a given total when a = b. Enter proportions on the 0 to 1 scale.

Variance of a beta-distributed proportion. It shrinks as the total a + b grows, which is how more data narrow a belief about a proportion.

Calculator

Solve for
0.510
0.510
  • Standard deviation0.1597
  • Mean proportion0.2857
  • Total shape, a + b7

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 () current value 0.02551
bShape bKey driver
0.01070.0559
aShape a
0.01270.0262
  • The standard deviation of the proportion is 0.16, around a mean of 0.286.
  • Doubling both shapes roughly halves the variance, as twice the evidence is available.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
b Shape b0.5 to 10 0.010680.055860.04517+10%−9.81 %
a Shape a0.5 to 10 0.012710.026170.01346+10%+1.44 %

Sweep of Shape a

Shape aVariance
0.50.01271
1.6880.02454
2.8750.02612
4.0630.02458
5.250.02221
6.4380.01978
7.6250.01756
8.8130.01559
100.01389

Sweep one variable

Variance ()Hover, touch, or use the arrow keys on the chart
0.0150.020.025 246810 Shape a now 0.02551

Variables and how each one contributes

Var[X]

Variance

Result ·

What the equation gives you. Everything else feeds it.

a

Shape a

· typical 0.5 to 10

The first shape parameter (a plain number). Think of it as a count of successes plus one in a Bayesian update. Pulls the proportion towards 1 and tightens the distribution. Raising it by 10 % (to 2.2) moves the result by +1.44 %, from 0.02551 to 0.02588.

b

Shape b

· typical 0.5 to 10

The second shape parameter (a plain number): a count of failures plus one in a Bayesian update. Pulls the proportion towards 0 and tightens the distribution. Raising it by 10 % (to 5.5) moves the result by −9.81 %, from 0.02551 to 0.02301.

Worked example with the values above

  1. Numerator: ab = 2 × 5 = 10.
  2. Denominator: (a + b)²(a + b + 1) = 49 × 8 = 392.
  3. Var = 0.02551.

Assumptions and limits

  • The quantity is a proportion between 0 and 1 described by a beta distribution with a, b > 0.
  • The shapes are dimensionless and come from data or from a prior belief.

Common mistakes

  • Using percentages (0 to 100) for x: it must be on the 0 to 1 scale.
  • Applying the mode formula when a or b is 1 or less: the peak is then at an end of the range.
  • Reading a density above 1 as an error: densities can exceed 1 on a narrow range.

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

  • Describing uncertainty in a yield, defect rate or failure fraction, and updating it as test results arrive.
  • Prior and posterior distributions for a probability in Bayesian reliability work.

Maths you need

  • Probability density: area under the curve gives probability
  • Beta function: a ratio of gamma functions

Related formulas

Practise this formula