Estimating Bernoulli trial probability from a small sample
  The standard textbook method for estimating the probability of a biased coin from finite tosses implicitly assumes the sample sizes are large and gives incorrect results for small samples. We describe the exact solution, which is correct for any sample size. 
Norman D. Megill and Mladen Pavicic
cs.DC math.PR stat.CO