Syntax
=PROB(x_range, prob_range, lower_limit, [upper_limit])Arguments
| Argument | Required | Description |
|---|---|---|
x_range | Required | The values |
prob_range | Required | The probability of each value (they add up to 1) |
lower_limit | Required | The lower limit |
upper_limit | Optional | The upper limit (only values equal to lower_limit when left out) |
How to use PROB
PROB takes 3 required arguments and 1 optional argument. Type =PROB( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=PROB({0,1,2,3}, {0.2,0.3,0.1,0.4}, 2)Result =PROB({0,1,2,3}, {0.2,0.3,0.1,0.4}, 1, 3)Result Related statistical functions
- PERMUTReturns the number of ordered arrangements of a number of items chosen from a set.
- PERMUTATIONAReturns the number of arrangements of items chosen from a set when items can repeat.
- PHIReturns the density of the standard normal distribution at a value.
- POISSON.DISTReturns the Poisson distribution probability of a number of events.
- QUARTILE.EXCReturns a quartile of the values using exclusive percentiles: 1, 2 or 3.
- QUARTILE.INCReturns a quartile of the values: 0 minimum, 1 first quartile, 2 median, 3 third quartile, 4 maximum.
- RANK.AVGReturns the rank of a number in a list; equal values get the average of their ranks.
- RANK.EQReturns the rank of a number in a list; equal values share the top rank.
- RSQReturns the square of the correlation coefficient (the R squared of a straight line fit).