0

This post is really helpful:

How can I efficiently calculate the binomial cumulative distribution function?

(Title = How can I efficiently calculate the binomial cumulative distribution function?)

However, I need the negative binomial cumulative distribution function.

Is there a way to tweek the code to get a negative cumulative distribution function?

2

1 Answer 1

0

You can compute the CDF by summing the terms of the PMF taking advantage of the recurrence relationship the terms satisfy. The terms in the series are a little complicated, but the ratio of consecutive terms is simple.

Sign up to request clarification or add additional context in comments.

1 Comment

Sorry, my mistake. I wrote "PDF" when I meant to say "CDF" -- cumulative density function. "PMF" is probability mass function, the probability of each value.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.