Jon S. answered 07/26/21
Patient and Knowledgeable Math and English Tutor
The population proportion (p0) is 0.27.
the sample proportion (phat) is 107/344 = 0.31
sample size (n) = 344
z = (phat - p0)/sqrt(p0 * (1-p0)/n( = (0.31 - 0.27)/sqrt(0.27*0.73/344) = 1.67
this is a two sided test so p-value = P(z > 1.67) + P(z < -1.67).
since the normal distribution is symmetric this is the same as 2*P(z < -1.67) = 2 * 0.0475 = 0.095.