Test statistic and p-value

For testing a proportion, the number of successes can be used as a test statistic, and the p-value can be obtained from a binomial distribution.

Weapon detection at LAX

This example shows how the binomial distribution is used to find the p-value for a test.

Tests about binomial proportions should always be done using binomial probabilities rather than simulations.