Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Expectation of Negative Binomial Distribution

  1. Apr 21, 2008 #1
    I am re-writing up some lecture notes and one of the proofs that E[X] for the negative binomial is r/p where r is the number of trials...The problem is there are a number of books that say r(1-p)/p is the correct expectation whilst others agree with 1/p

    Which one is correct...for what its worth I have worked through the proof that the expectation for the geometric distribution is 1/p and find it pretty convincing...hence I'm lead to believe that r/p is correct for the negative binomial...I am worried though that a good number of sources differ in opinion however.

    Can you folks pitch in please?
  2. jcsd
  3. Apr 21, 2008 #2


    User Avatar

    wikipedia says r(1-p)/p for E[X] for a Negative Binomial Distribution. I tend to trust it on math topics.

    Are you sure you wrote down the proof correctly?
  4. Apr 21, 2008 #3

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Both are correct!

    BTW, I think you are using a very non-standard definition. r is almost always the predetermined number of successes that must be reached, not the number of trials.

    The reason both are correct is because there are two different interpretations of the random variable X: The number of failures that occur in reaching the r successes, or the number of trials needed to reach r successes. The expected value of the number of failures is [itex]r\frac{1-p}{p}[/itex] while the expected value of the number of trials is [itex]\frac r p[/itex].
  5. Apr 22, 2008 #4
    Excellent!...thanks for that..by the way I ought to have said successes but it was late when I typed it...again, thanks :)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook