100 Statistical Tests - Test 6

24
TEST 6 Z-TEST FOR COMPARING TWO COUNTS

Transcript of 100 Statistical Tests - Test 6

Page 1: 100 Statistical Tests - Test 6

TEST 6

Z-TEST FOR COMPARING TWO COUNTS

Page 2: 100 Statistical Tests - Test 6

OBJECTIVE

To investigate the significance of the difference between two counts.

Page 3: 100 Statistical Tests - Test 6

LIMITATIONS

The test is approximate and assumes that the counts are large enough for the normal approximation to the Poisson to apply.

Page 4: 100 Statistical Tests - Test 6

METHOD

Let n1 and n2 be the two counts taken

over times t1 and t2, respectively. Then

the two average frequencies are R1 = n1/

To test the assumption of equal average frequencies we use the test statistic

Page 5: 100 Statistical Tests - Test 6

𝑍=𝑅1−𝑅2

√ 𝑅1

𝑡 1+

𝑅2

𝑡2

This may be compared with a standard normal distribution using either a one-tailed or two-tailed test.

Page 6: 100 Statistical Tests - Test 6

EXAMPLES

Page 7: 100 Statistical Tests - Test 6

1.) Two traffic roundabouts are compared for intensity of traffic at non-peak times with steady conditions. Roundabout one has 952 arrivals over 22 minutes and roundabout two has 1168 arrivals over 20 minutes. The arrival rates per minute are : 952/22 (43.27) and 1168/30 (38. 93) respectively. What do these results say about the two arrival rates or frequency taken over the two time intervals?

Page 8: 100 Statistical Tests - Test 6

GIVEN:

n1 = 952 , n2 = 1168 ,

t1 = 22 mins., t2 = 30

mins.,

R1 = n1/t1 = 43.27 , R2 = n1/t2 = 38.93

Page 9: 100 Statistical Tests - Test 6

( I ) STATE THE NULL AND ALTERNATIVE HYPOTHESIS

Ho : µ1 = µ2

Ha : µ1 µ2

Page 10: 100 Statistical Tests - Test 6

(II ) LEVEL OF SIGNIFICANCE

𝛼=0.05

2 =0.025

Page 11: 100 Statistical Tests - Test 6

(III) TEST STATISTIC

Z-test for comparing two counts (Poisson distribution)

Z = = = 2.40

Page 12: 100 Statistical Tests - Test 6

(IV) CRITICAL REGION

Reject Ho if 2.40

Page 13: 100 Statistical Tests - Test 6

(V) DECISION

Reject the Ho o f no

difference between two rates at 5 level of significance.

Page 14: 100 Statistical Tests - Test 6

(VI) CONCLUSION

Therefore, the roundabout one has an intensity of arrival significantly higher than the roundabout two.

Page 15: 100 Statistical Tests - Test 6

 2.) Mila and Christine are law students; they are being compared of their capacity to memorized laws and articles over times. Mila was able to memorized 604 words over 15 minutes, and Christine memorized 911 words over 23 minutes. The average frequency per minute are: 604/15 (40.27) and 911/23(39.01), respectively. At 5% level of significance, are the two counts differ significantly?

Page 16: 100 Statistical Tests - Test 6

GIVEN:

604,

= 39.61

Page 17: 100 Statistical Tests - Test 6

( I ) STATE THE NULL AND ALTERNATIVE HYPOTHESIS

Ho : µ1 = µ2

Ha : µ1 µ2

Page 18: 100 Statistical Tests - Test 6

(II) LEVEL OF SIGNIFICANCE

Page 19: 100 Statistical Tests - Test 6

(III) TEST STATISTIC

Z-test for comparing two counts (Poisson distribution)

Z = = = 0.31

Page 20: 100 Statistical Tests - Test 6

(IV) CRITICAL REGION

Reject Ho if 0.31<

Page 21: 100 Statistical Tests - Test 6

(V) DECISION

Fail to reject the

Ho at 5 level of

significance.

Page 22: 100 Statistical Tests - Test 6

(VI) CONCLUSION

Therefore, there is no significant difference between the two counts.

Page 23: 100 Statistical Tests - Test 6

THANK YOU!

Page 24: 100 Statistical Tests - Test 6

Nothing follows……