The p-value is the probability of observing a sample proportion of or in a random sample of size , when the true population proportion is .
The p-value is the probability of observing a sample proportion of or in a random sample of size , when the true population proportion is .