06.08.2013 Views

Hypothesis Testing The z-test for Proportions

Hypothesis Testing The z-test for Proportions

Hypothesis Testing The z-test for Proportions

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Per<strong>for</strong>ming the Test<br />

1. Decide on α = P[Type I Error] = the<br />

significance level of the <strong>test</strong><br />

Choose (α = 0.05)<br />

2. Collect the data<br />

• <strong>The</strong> number of successful operations in the<br />

sample of 200 cases is x = 187<br />

x 187<br />

pˆ<br />

= = =<br />

n 200<br />

3. Compute the <strong>test</strong> statistic<br />

0.<br />

935 (93.5%)<br />

pˆ<br />

− p0<br />

z = =<br />

σ pˆ pˆ<br />

− p0<br />

p0(<br />

1−<br />

p0<br />

)<br />

n<br />

=<br />

0.<br />

935−<br />

0.<br />

91<br />

= 1.<br />

235<br />

0.<br />

91(<br />

1−<br />

0.<br />

91)<br />

200<br />

4. Make the Decision zα = z<br />

• Accept H0 if: z ≤1.<br />

645<br />

• Reject H 0 if:<br />

z > 1.<br />

645<br />

0 . 05<br />

=<br />

1.<br />

645<br />

Since the <strong>test</strong> statistic is in the Acceptance<br />

region we decide to Accept H 0<br />

Conclude that H0 : p ≤ 0.<br />

91(<br />

91%)<br />

is true<br />

<strong>The</strong>re is a no significant (α = 5%) increase<br />

in the success rate of the new procedure<br />

over the older procedure<br />

Comments<br />

• When the decision is made to accept H 0 is<br />

made it should not be conclude that we have<br />

proven H 0 .<br />

• This is because when setting up the <strong>test</strong> we<br />

have not controlled β = P[type II error] =<br />

P[accepting H 0 when H 0 is FALSE]<br />

• Whenever H 0 is accepted there is a<br />

possibility that a type II error has been<br />

made.<br />

In the last example<br />

<strong>The</strong> conclusion that there is a no significant<br />

(α = 5%) increase in the success rate of the<br />

new procedure over the older procedure<br />

should be interpreted:<br />

We have been unable to proof that the new<br />

procedure is better than the old procedure<br />

An analogy – a jury trial<br />

<strong>The</strong> two possible decisions are<br />

– Declare the accused innocent.<br />

– Declare the accused guilty.<br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!