# Difference between revisions of "Documentation/How Tos/Calc: NEGBINOMDIST function"

From Apache OpenOffice Wiki

< Documentation | How Tos

OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||

Line 21: | Line 21: | ||

* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||

* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||

− | [[Category: Documentation]] | + | [[Category: Documentation/Reference/Calc]] |

## Revision as of 09:33, 24 November 2009

## NEGBINOMDIST

Calculates probabilities for a negative binomial distribution.

### Syntax:

**NEGBINOMDIST(x; r; p)**

- For independent trials each with a probability
of success,**p**returns the probability that there will be exactly**NEGBINOMDIST**failures before there have been**x**successes. The formula used is:**r**

### Example:

**NEGBINOMDIST(1; 1; 0.5)**

- returns 0.25 (25%), the probability that heads will come up exactly once before tails has come up when tossing a coin.