A sample of n items is examined from each large batch of a mass produced article. The number of good items in a sample has binomial distribution with parameters n,p. The batch is accepted if all n items are good and rejected otherwise. Out of m batches x are accepted and m-x are rejected. Find max likelihood estimator for p.