> The absolute
> value of e grows as L grows, but by how much?  It seems statistical
> theory claims it grow by an order of the square root of L.

Assuming you want the standard deviation for the number of successes,
given p=0.5:

#exact
0.5 * sqrt (n)

#numerical approximation
sd (rbinom (1e6, n, 0.5) )

Note that variance should be linear in n.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to