Documentation/How Tos/Calc: NEGBINOMDIST function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 15:45, 26 April 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


NEGBINOMDIST

Calculates probabilities for a negative binomial distribution.

Syntax:

NEGBINOMDIST(x; r; p)

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

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.

See also:

BINOMDIST

Statistical functions

Personal tools