Skip to contents

np, cross-checked against sum k P(k) over the full pmf.

Usage

BinomMean(n, p)

Arguments

n

trials, >= 0.

p

success probability, in [0, 1].

Value

list(mean, series_mean).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eq (4.61).

Examples

BinomMean(10, 0.3)$mean
#> [1] 3