sample proportion phat = 34/42 = 0.810
n = 42
p = 0.79
test statistic = z = (phat - p)/sqrt(p*(1-p)/n)
= (0.810-0.79)/sqrt(0.79*0.21/42) = 0.318
Kimberly M.
asked 11/10/20Suppose are running a study/poll about the proportion of voters who prefer Candidate A. You randomly sample 42 people and find that 34 of them match the condition you are testing.
Suppose you are have the following null and alternative hypotheses for a test you are running:
H0:p=0.79
H1:p>0.79
Calculate the test statistic, rounded to 3 decimal places
sample proportion phat = 34/42 = 0.810
n = 42
p = 0.79
test statistic = z = (phat - p)/sqrt(p*(1-p)/n)
= (0.810-0.79)/sqrt(0.79*0.21/42) = 0.318
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.