Your Equation

Library / Probability distributions / PRD-29

Probability distributions

Beta proportion: most probable value

Value at which the beta density peaks, defined inside the range only when both shapes exceed 1.

Ref
PRD-29
Rev
v1
Field
Probability distributions
Result
Mode

The mode (a − 1)/(a + b − 2) is the proportion at which the density peaks. It exists inside the range only when both a and b exceed 1; if either is 1 or less, the density has no interior peak. In Bayesian terms it is the maximum a posteriori estimate.

Value at which the beta density peaks, defined inside the range only when both shapes exceed 1.

Calculator

Solve for
0.510
0.510
  • Mean proportion0.2857
  • Mode minus mean−0.08571
  • 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.

Most probable proportion () current value 0.2
bShape bKey driver
0.12
aShape a
−0.1430.692
  • The density peaks at 0.2, compared with a mean of 0.286: the mode is below the mean when the distribution is skewed.
  • As the shapes grow large the mode and the mean converge on the same value.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
b Shape b0.5 to 10 0.121.9+10%−9.09 %
a Shape a0.5 to 10 −0.14290.69230.8352+10%+15.4 %

Sweep of Shape a

Shape aMost probable proportion
0.5−0.1429
1.6880.1467
2.8750.3191
4.0630.4336
5.250.5152
6.4380.5762
7.6250.6235
8.8130.6614
100.6923

Sweep one variable

Most probable proportion ()Hover, touch, or use the arrow keys on the chart
−0.200.20.40.6 246810 Shape a now 0.2

Variables and how each one contributes

Mode

Most probable proportion

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 +15.4 %, from 0.2 to 0.2308.

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.09 %, from 0.2 to 0.1818.

Worked example with the values above

  1. Numerator: a − 1 = 1.
  2. Denominator: a + b − 2 = 5.
  3. Mode = 0.2.

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