Skip to main content
2 of 2
added 163 characters in body
Steve Flammia
  • 2.6k
  • 2
  • 25
  • 29

Some very sharp bounds for questions like these are provided by something called a Chernoff bound. The example in the wikipedia article will give you what you need.

Edit: Oh, I forgot to say that you need an estimator for the "true" probability, but I guess that the one you are using is just the average over the samples.

Steve Flammia
  • 2.6k
  • 2
  • 25
  • 29