ExcelFunctions.net Logo

The Excel NEGBINOMDIST Function

Home » Excel-Built-In-Functions » Excel-Statistical-Functions » Excel-Negbinomdist-Function
Search this site:
Custom Search
Related Functions: 
Binomial and Negative Binomial Distributions
The Binomial Distribution is a statistical measure that is frequently used to indicate the probability of a specific number of successes occurring from a specific number of independent trials.

The Negative Binomial Distribution is related to this function. However, for the Negative Binomial Distribution, the number of successes is fixed and the number of trials varies. The function calculates the probability of a specific number of failures occurring, before the fixed number of successes is obtained.

Further information can be found on the Wikipedia Negative Binomial Distribution page
NEGBINOMDIST and NEGBINOM.DIST

In Excel 2010, the Negbinomdist function has been replaced by the Negbinom.Dist function, which has improved accuracy.

Although it has been replaced, the Negbinomdist function is still available in Excel 2010 (stored in the list of compatibility functions), to allow compatibility with earlier versions of Excel.

Basic Description

Given the probability of a success from a single event, the Excel NEGBINOMDIST function calculates the Negative Binomial Distribution for a given set of parameters.

This gives the probability that there will be a specified number of failures before a required number of successes is achieved.

For example, given the the probability of 50%, that the toss of a coin will land on heads, the Negbinomdist function will calculate the probability that you will toss 10 tails before you toss 12 heads.

The format of the Excel Negbinomdist function is:

NEGBINOMDIST( number_f, number_s, probability_s )

where the arguments are as follows :

number_f - The number of failures encountered before number_s successes
number_s - The required number of successes
probability_s - The probability of success in one trial

If the values input for the number_f and number_s arguments are decimal numbers, they are truncated to integers by Excel.


Binomial Distribution Probability Mass Function Chart
Negative Binomial Distribution Function Showing the Probability
of x Tails Before 12 Heads from a Tossed Coin

Negbinomdist Function Examples

The chart on the right shows the Negative Binomial Distribution Function for the probability that x tails will be tossed before the toss of a coin results in 12 tossed heads.

The spreadsheets below show the Excel Negbinomdist function used to evaluate this function for three different values of x.

Clearly, the probability of tossing a head on any one trial is 50%, so this is input as the probability argument to the functions.


 Formulas:
Examples of use of the Excel Negbinomdist Function
 Results:
Excel Negbinomdist Function Results

Further examples of the Excel Negbinomdist function can be found on the Microsoft Office website.


Trouble Shooting

If you get an error from the Excel Negbinomdist Function, this is likely to be one of the following:

Common Errors
#NUM! - Occurs if either:
-the supplied number_f is < 0 or the supplied number_s is < 1
or
-the supplied probability_s is < 0 or > 1
#VALUE! - Occurs if any of the number_f, number_s, or probability_s arguments are nonnumeric




Valid XHTML 1.0 Transitional
Disclaimer Privacy Policy

Copyright © 2008-2011 ExcelFunctions.net