Skip to contents

well_inside is the decision abs(x)/sqrt(n) < 0.1.

Usage

GaussDom(x, n)

Arguments

x

deviation.

n

number of trials, >= 1.

Value

list(ratio, well_inside).

References

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

Examples

GaussDom(2, 10000)$well_inside
#> [1] TRUE