BETA.DIST
Returns the beta-distribution probability for x, with optional lower/upper bounds.
BETA.DIST can evaluate either the cumulative probability or density on [A, B] (default
[0, 1]).
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=BETA.DIST(x, alpha, beta, cumulative, [a], [b])
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
x | number | Required | — |
alpha | number | Required | — |
beta | number | Required | — |
cumulative | number | Required | — |
a | number | Optional | — |
b | number | Optional | — |
How it works
With t = (x − A)/(B − A), the density on [A,B] is proportional to t raised to alpha − 1 times (1 − t) raised to beta − 1. Both shapes must be positive, B must exceed A, and x must lie within the closed interval. The cumulative switch integrates that density from A to x.
Remarks
- Requires
alpha > 0,beta > 0, andA < B. xmust lie within the inclusive interval[A, B].- Set
cumulativeto non-zero for CDF mode, or0for PDF mode.
Error cases
- Returns
#NUM!for invalid bounds, parameters, or out-of-rangex.
Examples
Evaluate the cumulative beta probability below 0.32.
Formula =BETA.DIST(0.32,2,3,TRUE)
Expected result 0.383713279999999
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate density on a rescaled interval from zero to ten.
Formula =BETA.DIST(4,2,3,FALSE,0,10)
Expected result 0.1728
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate at the upper endpoint of the default interval.
Formula =BETA.DIST(1,2,3,TRUE)
Expected result 1
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A value above the upper endpoint is outside the distribution.
Formula =BETA.DIST(1.1,2,3,TRUE)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Uniform beta CDF on [0,1]
Formula =BETA.DIST(0.3,1,1,TRUE)
Expected result 0.3
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Uniform beta PDF on [0,1]
Formula =BETA.DIST(0.3,1,1,FALSE)
Expected result 1
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.