View Single Post
  #26  
Old 11-17-2007, 04:03 PM
RustyBrooks RustyBrooks is offline
Senior Member
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 1,380
Default Re: What would be the best limit to start at?

That doesn't seem right. I'll haul out the formula after lunch. Real quick, though, I wrote a program that flips coins. It does N trials, K times.

For each time, I run N flips, and record the number of heads. If the average # of heads is more than 1% from the EV then I increment a counter. Here are my results, running 100 times with different trial sizes.

1000: 47/100
5000: 86/100
10000: 93/100
15000: 98/100
20000: 100/100 (I ran this 5 times, same result every time)

So for a coin flip, the worst case looks like 20k which is worst than I thought, so I need to look at my formula again.

I ran this with 1000-sized runs also, similar results. I can post code if you like.
Reply With Quote