|
|
|
|
|
by sesqu
5803 days ago
|
|
Noprocrast caught out my attempt to edit. The normal variance is too large. Here's the plot. Black for discretized(n=1000) binomial likelihood, red for normal approximation. The effect is clear, but a t-test won't show it. I'm not familiar with the theory behind the g-test, but there's clearly a lot of room for improvement at these sample sizes. http://img693.imageshack.us/img693/4880/bindiff.png |
|
If X_i is a series of independent, identically distributed random variables with mean m and variance v, then X_1 + X_2 + ... + X_n is approximately a normal variable with mean nm and variance vn. Therefore
(X_1 + X_2 + ... + X_n - nm)/sqrt(vn)
is approximately a standard normal.
If you draw that graph, visually the two lines should lie right on top of each other. To see the problem you need to zoom in on the tail and blow it up, and only then will you see the issues with the convergence.