a = 2, b = 3
mean a/(a + b)
0.4.
The beta distribution on has density , mean and variance . It models proportions and probabilities.
This page is easier if you are comfortable with:
For , : , so ; the mean is , the variance and . The beta function is in the beta function. For the density is symmetric with mean 0.5.
The parameters act like counts of successes and failures: it is the conjugate prior for a binomial proportion, so a prior with successes and failures updates to (beta–binomial conjugacy, Bayes' theorem). is the uniform distribution (the continuous uniform distribution).
It is a ratio of gamma-type integrals (the gamma distribution): if and are independent gammas with the same rate, is beta. The density is integrated with integration by parts for integer parameters.
The beta distribution describes uncertain proportions between 0 and 1.
The density is skewed towards the lower values, with mean 0.4.
These examples are worked by hand, step by step, so you can compare your own working.
Find the mean of .
Find for .
Find the variance of .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
mean a/(a + b)
0.4.
ab/((a + b)²(a + b + 1))
0.04.
x(1 − x)²/B(2, 3), B = 1/12
1.5.
(a − 1)/(a + b − 2)
1/3.
Beta(a, b) on (0, 1) has density x^(a−1)(1 − x)^(b−1)/B(a, b), mean a/(a + b) and variance ab/((a + b)²(a + b + 1)).
a = 2, b = 3. Find the mean.
Find the variance.
Find f(0.5) with B(2, 3) = 1/12.
Find the mode.
wrong ✗
a/(a + b) ✓
Divide by the total.
x > 1 allowed ✗
0 < x < 1 ✓
Proportions.
formula applies ✗
peak at the boundary ✓
Needs a, b > 1.
wrong ✗
Γ(a)Γ(b)/Γ(a + b) ✓
Beta function.
Try each one on paper, then open the answer. Use the solver above to see the full working.
0.5
0.4
0.0833
0.5
0.2
0.04
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
A distribution on (0, 1) for proportions.
a/(a + b).
Uniform.
It is conjugate to the binomial.
gamma distribution.
More in Advanced statistics and stochastic processes and the formula sheets.