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

DescTools (version 0.99.60)

mgeom: Mean and Variance of the Geometric Distribution

Description

Formula: μ=1pp Var(X)=1pp2

Usage

mgeom(prob)

Value

List with mean and variance

Arguments

prob

Probability of success

See Also

Examples

Run this code
mgeom(prob = 0.2)

Run the code above in your browser using DataLab