Skip to contents

sigma_single = sqrt(pq), sigma_tot = sqrt(npq), sigma_avg = sigma_tot / n, cross-checked against sigma_single / sqrt(n). The defaults are the book's worked dice average, sigma_avg = 0.0037.

Usage

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

Arguments

n

number of trials, >= 1.

p

success probability, in [0, 1].

Value

list(sd_single, sd_tot, sd_avg).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eqs (3.57)-(3.58).

Examples

SdAvgBin()$sd_avg
#> [1] 0.00372678