ENGR 0020 Home Page
next previous contents

Next: The p-value for a test
Previous: Tests on the mean


TESTS ON A POPULATION PROPORTION

Recall that:


We test

H0: p=p0 vs. Ha: p ¹ p0 OR p>p0 OR p<p0


CASE 1: Large sample Tests (valid as long as both np0 and n(1-p0) ³ 10)

Test Statistic is z =

Ha: p>p0Þ Reject if z³za
Ha: p<p0 Þ Reject if z£-za
Ha: p¹ p0 Þ Reject if z³za/2 OR z£-za/2, i.e. |z|³za/2


CASE 2: Small-Sample Tests  (i.e., either one or both of np0 and n(1-p0) < 5)

Can’t use Normal approximation here - tests are based on the exact Binomial probabilities.

E.g. Suppose H0: p=p0and Ha: p<p0. A sample of size n yields X successes and we reject H0 if X£c.
Therefore a =P{X£c when X~Binomial(n,p0)} = B(c-1; n,p0)
Solve for c.

In general, the Test Statistic is X
 

  • Ha: p>p0 - Reject if X³c, where c is the smallest integer for which 1-B(c-1;n,p0) £a
  • Ha: p<p0 - Reject if X£c, where c is the largest integer for which B(c;n,p0) £a
  • Ha: p=p0 - Reject if X³c1 or X£c2, where c1 and c2 are integers such that c1>c2 and 1-B(c1-1;n,p0) + B(c2;n,p0) £a

  • ENGR 0020 Home Page
    next previous contents

    Next: The p-value for a test
    Previous: Tests on the mean



    Jayant Rajgopal