Negative Binomial Distribution Sample Generator
This generator produces random samples from a negative binomial distribution defined as the number of failures \(X\) before the \(r\)th success, where the probability of success is \(1-p\) (and the failure probability is \(p\)).
Samples are generated by simulating Bernoulli trials until \(r\) successes occur.
* Enter the number of successes \( r \) (integer \(\ge1\)), the failure probability \( p \) (with \(0
Step 1: Enter Parameters
e.g., 3
e.g., 0.4 ( \( 0 < p < 1 \) )
e.g., 1000
Related Calculators
- Negative Binomial Distribution Variance Calculator
- Weibull Distribution Mode Calculator
- Negative Binomial Distribution Median Calculator
- Negative Binomial Distribution Mean Calculator
- Negative Binomial Distribution CDF Calculator
- Negative Binomial Distribution PDF Calculator
- Negative Binomial Distribution PMF Calculator