| 
 
 
| Question 544786:  Suppose you are testing the hypotheses:
 H0: p1 = p2
 Ha: p1 < p2
 And X1 = 20 successes, n1 = 45, x2 = 15 successes, n2 = 40
 a.  Calculate the z-score
 b. State the formula used to estimate the p-value: p =
 Answer by stanbon(75887)
      (Show Source): 
You can put this solution on YOUR website! Suppose you are testing the hypotheses: H0: p1 = p2
 Ha: p1 < p2
 And X1 = 20 successes, n1 = 45, x2 = 15 successes, n2 = 40
 p1hat = (20/45) = 4/9 ; p2hat = (15/40) = 3/8
 ----------
 a. Calculate the z-score
 test statistic = z(4/9 - 3/8)
 = z(5/(72)) = (5/72)/sqrt[(4/9*5/9)/45 + (3/8*5/8)/40]
 -------
 b. State the formula used to estimate the p-value:
 p-value = P(z < test statistic)
 =================
 Cheers,
 Stan H.
 
 | 
  
 | 
 |