Skip to contents

The defaults are the book's worked dice total: n = 10,000 rolls at p = 1/6 gives sigma = 37.

Usage

SdBinom(n = 10000, p = 1/6)

Arguments

n

number of trials, >= 0.

p

success probability, in [0, 1].

Value

list(n, p, sd, sd_tot); sd_tot is an alias of sd kept for the eq (3.56) callers.

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eqs (3.47), (3.56).

Examples

SdBinom(100, 0.5)$sd
#> [1] 5