4 Assume that you plan to use a significance level of 005 t
4) Assume that you plan to use a significance level of = 0.05 to test the claim that p1 = p2. Use the given sample sizes and numbers of successes to find the z test statistic for the hypothesis test.
A random sampling of sixty pitchers from the National League and fifty-two pitchers from the American League showed that 15 National and 10 American League pitchers had E.R.A\'s below 3.5.
Solution
H0: p1 = p2
Ha: p1 not equal to p2
Two tailed test for proportions
As p value =0.0000 <alpha, reject null hypothesis
The two proportions are not equal
| Nat League | Amer League | Diff | |
| Sample size | 60 | 52 | |
| ERA below 3.5 | 15 | 10 | |
| p | 0.25 | 0.19230769 | 0.057692308 |
| Variance | 0.003125 | 0.00298706 | 0.000109527 |
| Std error | 0.010465502 | ||
| Test statistic for p | 5.512617583 | ||
| df | 51 | ||
| p | 0 |
