Hi Lauren,
For your test statistic, the formula is:
z= (p^-p0)/sqrt(p0q0/n)
p^=sample probability
p0=population probability estimate
q0=1-p0
n=sample size
So:
p^=18/303= 0.059
p0=0.11
q0=0.89
n=303
Substituting:
z= (0.059-0.11)/sqrt(0.11*0.89/303)
z= -2.837
Now, we can go to the z-table for p-value, but remember, this is a two-sided test, so:
look up -2.84--we'll round up--in the z-table:
P(Z<-2.84)= 0.0023
Because this is a two-sided test, we must multiply this value by 2, so:
p= 0.0046
I hope this helps.

Joshua L.
01/12/24
Lauren H.
No, it is 3 decimal places. Sometimes Myopenmath can be weird! It is odd its showing up as incorrect. I appreciate your help though!01/12/24

Joshua L.
01/12/24
Lauren H.
Thank you! The p-value is correct but the test statistic (z) is showing up as incorrect.01/12/24