50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

DescTools (version 0.99.60)

mnbinom: Mean and Variance of the Negative Binomial Distribution

Description

Formula: μ=r1pp Var(X)=r1pp2

Usage

mnbinom(size, prob)

Value

List with mean and variance

Arguments

size

Number of successes

prob

Probability of success

See Also

Examples

Run this code
mnbinom(size = 5, prob = 0.4)

Run the code above in your browser using DataLab