In: Statistics and Probability
If you flip a fair coin, the probability that the result is heads will be 0.50. A given coin is tested for fairness using a hypothesis test of H0:p=0.50 versus HA:p≠0.50. The given coin is flipped 180 times, and comes up heads 110 times. Assume this can be treated as a Simple Random Sample. The test statistic for this sample z and the p value
We have for given example,
Population proportion value is =0.5
x=110
n=180
Estimate for sample proportion
Z test statistic formula for proportion
=2.98
P value = 0.0029....................by using Z table or by using Excel command =2*(1-NORMSDIST(2.98))