From my 500 - i have 260 heads and 240 tails. If i continue to flip, eventually i will get back to a perfect 50:50 split. Perhaps that is when i should stop flipping.
Ok, I promised I'd give you an example. Firstly you need to define what a 50:50 split is. Are you happy with a 49,99 versus 50,01 split? Or do you want a 49,9999 versus 50,0001 accuracy? In case you want a perfect split - as Tony said - stop reading and continue flipping coins
😉
If on the other hand, you're getting bored, than this might interest you.
Suppose you want the maximum error to be no more than 1% (the % distribution is 49 <> 51), then let
n be the number of times you have to flip a coin.
n equals z^2 / (4*max_error^2), so n = z^2 / (4*0.01^2)
What is z? Z is the standardized z-value we use to denote the confidence interval we need in order to determine how reliable are results are. If we want to be 95% sure are results are reliable, we have a Z-value of 1.9599 (**).
So this means
n = (1.9599)^2 / (4* 0.01^2) = 9603 flips.
If you want the maximum error to be no more than 0.01% (the % distribution is 49.99 <> 50.01), then you need to flip
n = (1.9599)^2 / (4* 0.0001^2) = 96030200 flips.
Let me know when you're finished Jtrader
😉
_______
(*) Using standardized values makes it easier to calculate the solution. The empirical rule denotes that around 68% of all the values from a normal distribution are within one times the standard devation away from the mean; 95% of the values are within two standard deviations and about 99.7% are within 3 times the stdev.
(**) I had to look up z-values because I don't know all of them by heart (I used to, but I'm getting old lol) in a standard score statistics table for a normal distribution.