Вы находитесь на странице: 1из 5

CHAPTER 5: TWO SAMPLES TESTS OF

HYPOTHESIS
Difference Between Two Population Means (Large Samples)
- By ‘independent’ samples we mean that the selection of one sample is in no way
affected by the selection of the other. Thus, the theory does not apply to ‘before
and after’ kinds of comparisons.
- In most practical situations,  1 and  2 are unknown, but if we limit ourselves
to large samples (neither n1 nor n2 should be less than 30), we can use the sample
standard deviations, s1 and s2, as estimates of  1 and  2 , and base the test of
the null hypothesis 1   2 = 0 on the statistic
 x1  x2    1   2 
Z
s12 s 22

n1 n2
which has approximately the standard normal distribution.

Large-sample Test of Hypothesis for ( 1   2 )


1. Null hypothesis, H0: ( 1   2 ) = D0
2. Alternative hypothesis:
One-tailed test Two-tailed test
H 1: (  1   2 ) > D 0 H1: ( 1   2 )  D0
[or H1: ( 1   2 ) < D0]
where D0 is the hypothesize difference between the means (this difference is often
hypothesized to be equal to 0).
3. Test statistic:
 x1  x 2    1   2 
Z
12  22

n1 n 2
4. Rejection region:
One-tailed test Two-tailed test
Z Z
Z > Z Z >  or Z < - 
2 2

(or Z < - Z  when the alternative hypothesis is H1: ( 1   2 ) < D0)


Assumptions: The two samples are randomly selected in an independent manner from the two
populations. The sample sizes, n1 and n2, are large enough so that x1 and
x 2 each have approximately normal sampling distributions and so that s12
and s 22 provide good approximations to 12 and  22 . This will be true if n1
 30 and n2  30.
e.g.1 Two manufacturers of corrugated fiberboard both claim that the strength of their
product tests on the average at more than 360 pounds per square inch. As a result of
consumer complaints, a consumer products testing firm suspects that firm A’s product
is more than 5 pounds per square inch stronger than firm B’s. To test its suspicion,
100 fiberboard were chosen randomly from firm A’s inventory and 100 were chosen
from firm B’s inventory. The results of tests run on the samples are shown in the
table.

Firm A Firm B

1
x 1 = 365 x 2 = 352
s1 = 23 s2 = 41

(i) Use a 0.05 significance level to test the testing firm’s belief.
(ii) Form a 95% confidence interval for the difference between the means.
Interpret the result.

e.g.2 A company employing a new sales-plus-commission compensation plan for its sales
personnel wants to compare the annual salary expectations of its female and male
sales personnel under the new plan. Random samples of n1 = 40 female and n2 = 40
male sales representatives were asked to forecast their annual incomes under the new plan.
Sample means and standard deviations were
x 1 = $31,083 x 2 = $29,745
s1 = $2,312 s2 = $2,569
Do the data provide sufficient evidence to indicate a difference in mean expected
annual income between female and male sales representatives? Test using  = 0.05.

Test for the difference between two population means (small samples)

e.g.3 The following are measurements of the heat-producing capacity (in million of
calories per ton) of random samples of five specimens each of coal from two mines:
Mine 1: 8380, 8210, 8360, 7840, 7910
Mine 2: 7540, 7720, 7750, 8100, 7690
(i) Use the 0.05 level of significance to test whether the difference between the
means of these two mines is significant.
(ii) Construct a 90% confidence interval for the difference between the means.
Comment.

e.g.4 Katy Fit, aerobics instructor at the Anderson Recreation Center, is analyzing the
attendance at her classes. She wonders if the mean number of people who come on
Monday morning is the same as on Wednesday morning. Some people may be
exhausted from their other weekend activities and skip Mondays. Yet others may get
busy midweek and be unable to fit exercise into their schedules. Attendance data for
5 randomly selected Mondays and 6 randomly selected Wednesdays are reported in
the accompanying table. The sample means are 5 and 6.5. Is there a significant
difference in the mean numbers of people who come to class on the 2 days? Test at
the 0.01 significance level.

Aerobics attendance:
Monday Wednesday
4 9
3 6
5 8
7 4
6 7
- 5

Test for the difference between paired observations


- In some experiments, the investigator is concerned with the difference in a pair of
related observations. In other words, the samples are dependent or related.
- We can identify two types of dependent samples:-
1. those characterized by ‘before’ and ‘after’ measurements;
2. those where the subjects have been ‘matched’.

2
- The first type of dependent sample is a measurement, followed by an intervention of
some type, followed by another measurement of the same trait.
If, for example, we wished to show the effectiveness of a diet program in terms of
weight loss, we would weigh the patients first, then have them follow the diet for a
period, and finally weigh them again. The data used in the test would then be the
differences between their weights before the diet and their weights after the diet.
- The second type of dependent sample occurs when the researcher ‘pairs’ subjects in
an attempt to eliminate or control for the effects of other variables.
If, for example, we wished to compare the intelligence of men and women, we might
select married couples and administer an intelligence test to both the husband and the
wife. In this way, we would hope to eliminate other effects, such as age, race, or
socioeconomic status, and measure only the difference in intelligence between men
and women.
- The formula for t is
d  0
t
sd
n
where d = the mean difference between the paired observations.
sd = the standard deviation of the differences between the paired observations.
n = the number of paired observations.

e.g.5 The following are the average weekly losses of worker-hours due to accidents in 10
industrial plants before and after a certain safety program was put into operation:
45 and 36 73 and 60 46 and 44 124 and 119 33 and 35
57 and 51 83 and 77 34 and 29 26 and 24 17 and 11

(i) Use the 0.05 level of significance to test whether the safety program is
effective.
(ii) Form a 99% confidence interval for the mean of the paired differences.
Comment.

e.g.6 ETM Chemical Company is considering the purchase of a new Colton word
processor. Colton claims that its new-model word processor increases data entry
efficiency. Ten data entry clerks randomly selected from the typing pool are assigned
to test the new model. The results are:
Clerk Proposed model Current model
Woodstock 61 55
LaRoche 60 54
Hayes 56 47
Kootz 63 59
Kinney 56 51
Markas 63 61
Chung 59 57
Jaynes 56 54
Shue 62 63
Keller 61 58

Using the 0.01 level of significance, what would you conclude?

STA2204.chap5

3
THE DISTRIBUTION FUNCTION F(z) OF
THE NORMAL DISTRIBUTION N(0, 1)

z 0 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
ADD
0.0 .5000 .5040 .5080 .5120 .5160 .5199 .5239 .5279 .5319 .5359 4 8 12 16 20 24 28 32 36
0.1 .5398 .5438 .5478 .5517 .5557 .5596 .5636 .5675 .5714 .5753 4 8 12 16 20 24 28 32 36
0.2 .5793 .5832 .5871 .5910 .5948 .5987 .6026 .6064 .6103 .6141 4 8 12 15 19 23 27 31 35
0.3 .6179 .6217 .6255 .6293 .6331 .6368 .6406 .6443 .6480 .6517 4 7 11 15 19 22 26 30 34
0.4 .6554 .6591 .6628 .6664 .6700 .6736 .6772 .6808 .6844 .6879 4 7 11 14 18 22 25 29 32

0.5 .6915 .6950 .6985 .7019 .7054 .7088 .7123 .7157 .7190 .7224 3 7 10 14 17 20 24 27 31
0.6 .7257 .7291 .7324 .7357 .7389 .7422 .7454 .7486 .7517 .7549 3 7 10 13 16 19 23 26 29
0.7 .7580 .7611 .7642 .7673 .7704 .7734 .7764 .7794 .7823 .7852 3 6 9 12 15 18 21 24 27
0.8 .7881 .7910 .7939 .7967 .7995 .8023 .8051 .8078 .8106 .8133 3 5 8 11 14 16 19 22 25
0.9 .8159 .8186 .8212 .8238 .8264 .8289 .8315 .8340 .8365 .8389 3 5 8 10 13 15 18 20 23

1.0 .8413 .8438 .8461 .8485 .8508 .8531 .8554 .8577 .8599 .8621 2 5 7 9 12 14 16 19 21
1.1 .8643 .8665 .8686 .8708 .8729 .8749 .8770 .8790 .8810 .8830 2 4 6 8 10 12 14 16 18
1.2 .8849 .8869 .8888 .8907 .8925 .8944 .8962 .8980 .8997 .9015 2 4 6 7 9 11 13 15 17
1.3 .9032 .9049 .9066 .9082 .9099 .9115 .9131 .9147 .9162 .9177 2 3 5 6 8 10 11 13 14
1.4 .9192 .9207 .9222 .9236 .9251 .9265 .9279 .9292 .9306 .9319 1 3 4 6 7 8 10 11 13

1.5 .9332 .9345 .9357 .9370 .9382 .9394 .9406 .9418 .9429 .9441 1 2 4 5 6 7 8 10 11
1.6 .9452 .9463 .9474 .9484 .9495 .9505 .9515 .9525 .9535 .9545 1 2 3 4 5 6 7 8 9
1.7 .9554 .9564 .9573 .9582 .9591 .9599 .9608 .9616 .9625 .9633 1 2 3 4 4 5 6 7 8
1.8 .9641 .9649 .9656 .9664 .9671 .9678 .9686 .9693 .9699 .9706 1 1 2 3 4 4 5 6 6
1.9 .9713 .9719 .9726 .9732 .9738 .9744 .9750 .9756 .9761 .9767 1 1 2 2 3 4 4 5 5

2.0 .9772 .9778 .9783 .9788 .9793 .9798 .9803 .9808 .9812 .9817 0 1 1 2 2 3 3 4 4
2.1 .9821 .9826 .9830 .9834 .9838 .9842 .9846 .9850 .9854 .9857 0 1 1 2 2 2 3 3 4
2.2 .9861 .9864 .9868 .9871 .9875 .9878 .9881 .9884 .9887 .9890 0 1 1 1 2 2 2 3 3
2.3 .9893 .9896 .9898 0 1 1 1 1 2 2 2 2
.9901 .99036 .99061 .99086 3 5 8 10 13 15 18 20 23
.99111 .99134 .99158 2 5 7 9 12 14 16 18 21
2.4 .99180 .99202 .99224 .99245 .99266 2 4 6 8 11 13 15 17 19
.99286 .99305 .99324 .99343 .99361 2 4 6 7 9 11 13 15 17

2.5 .99379 .99396 .99413 .99430 .99446 .99461 .99477 .99492 .99506 .99520 2 3 5 6 8 9 11 12 14
2.6 .99534 .99547 .99560 .99573 .99585 .99598 .99609 .99621 .99632 .99643 1 2 3 5 6 7 8 9 10
2.7 .99653 .99664 .99674 .99683 .99693 .99702 .99711 .99720 .99728 .99736 1 2 3 4 5 6 7 8 9
2.8 .99744 .99752 .99760 .99767 .99774 .99781 .99788 .99795 .99801 .99807 1 1 2 3 4 4 5 6 6
2.9 .99813 .99819 .99825 .99831 .99836 .99841 .99846 .99851 .99856 .99861 0 1 1 2 2 3 3 4 4

3.0 .99865 .99869 .99874 .99878 .99882 .99886 .99889 .99893 .99896 .99900 0 1 1 2 2 2 3 3 4
3.1 .93032 .93065 .93096 3 6 9 13 16 19 22 25 28
.93126 .93155 .93184 .93211 3 6 8 11 14 17 20 22 25
.93238 .93264 .93289 2 5 7 10 12 15 17 20 22
3 3 3 3 3
3.2 .9 313 .9 336 .9 359 .9 381 .9 402 2 4 7 9 11 13 15 18 20
.93423 .93443 .93462 .93481 .93499 2 4 6 8 9 11 13 15 17
3 3 3 3 3
3.3 .9 517 .9 534 .9 550 .9 566 .9 581 2 3 5 6 8 10 11 13 14
.93596 .93610 .93624 .93638 .93651 1 3 4 5 7 8 9 10 12
3.4 .93663 .93675 .93687 .93698 .93709 .93720 .93730 .93740 .93749 .93758 1 2 3 4 5 6 7 8 9

3.5 .93767 .93776 .93784 .93792 .93800 .93807 .93815 .93822 .93828 .93835 1 1 2 3 4 4 5 6 7
3
3.6 .9 841 .93847 .93853 .93858 .93864 .93869 .93874 .93879 .93883 .93888 0 1 1 2 2 3 3 4 5
3
3.7 .9 892 .93896 .9390 .9404 .9408 .9412 .9415 .9418 .9422 .94250
4 4 4 4
3.8 .9 28 .9 31 .9 33 .9 36 .9438 .9441 .9443 .9446 .9448 .94500
4 4 4 4
3.9 .9 52 .9 54 .9 56 .9 58 .9459 .9461 .9463 .9464 .9466 .94670
For negative values of z use F(z) = 1 - F(-z)

4
t distribution

How to Use the Table:


 Find your degrees of freedom in the df column and use that row to find the next smaller number.

 Read the probability in the top row. Since your t will probably be
a little bit bigger than the value in the table, your P will be smaller, eg., P < 0.01

 If your t is to the right of all numbers, then P < 0.0005 (good!)

 Remember that P < 0.05 is the arbitrary value that is generally accepted to be significant
(There must be less than a 5% possibility that the difference between means is due to chance.)
(Values in the table are critical values of the t- random variable for right hand tails of the indicated areas, alpha).
df .25 .20 .15 .10 .05 .025 .02 .01 .005 .0025 .001 .0005
1 1.000 1.376 1.963 3.078 6.314 12.71 15.89 31.82 63.66 127.3 318.3 636.6
2 .816 1.061 1.386 1.886 2.920 4.303 4.849 6.965 9.925 14.09 22.33 31.60
3 .765 .978 1.250 1.638 2.353 3.182 3.482 4.541 5.841 7.453 10.21 12.92
4 .741 .941 1.190 1.533 2.132 2.776 2.999 3.747 4.604 5.598 7.173 8.610
5 .727 .920 1.156 1.476 2.015 2.571 2.757 3.365 4.032 4.773 5.893 6.869
6 .718 .906 1.134 1.440 1.943 2.447 2.612 3.143 3.707 4.317 5.208 5.959
7 .711 .896 1.119 1.415 1.895 2.365 2.517 2.998 3.499 4.029 4.785 5.408
8 .706 .889 1.108 1.397 1.860 2.306 2.449 2.896 3.355 3.833 4.501 5.041
9 .703 .883 1.100 1.383 1.833 2.262 2.398 2.821 3.250 3.690 4.297 4.781
10 .700 .879 1.093 1.372 1.812 2.228 2.359 2.764 3.169 3.581 4.144 4.587
11 .697 .876 1.088 1.363 1.796 2.201 2.328 2.718 3.106 3.497 4.025 4.437
12 .695 .873 1.083 1.356 1.782 2.179 2.303 2.681 3.055 3.428 3.930 4.318
13 .694 .870 1.079 1.350 1.771 2.160 2.282 2.650 3.012 3.372 3.852 4.221
14 .692 .868 1.076 1.345 1.761 2.145 2.264 2.624 2.977 3.326 3.787 4.140
15 .691 .866 1.074 1.341 1.753 2.131 2.249 2.602 2.947 3.286 3.733 4.073
16 .690 .865 1.071 1.337 1.746 2.120 2.235 2.583 2.921 3.252 3.686 4.015
17 .689 .863 1.069 1.333 1.740 2.110 2.224 2.567 2.898 3.222 3.646 3.965
18 .688 .862 1.067 1.330 1.734 2.101 2.214 2.552 2.878 3.197 3.611 3.922
19 .688 .861 1.066 1.328 1.729 2.093 2.205 2.539 2.861 3.174 3.579 3.883
20 .687 .860 1.064 1.325 1.725 2.086 2.197 2.528 2.845 3.153 3.552 3.850
21 .663. .859 1.063 1.323 1.721 2.080 2.189 2.518 2.831 3.135 3.527 3.819
22 .686 .858 1.061 1.321 1.717 2.074 2.183 2.508 2.819 3.119 3.505 3.792
23 .685 .858 1.060 1.319 1.714 2.069 2.177 2.500 2.807 3.104 3.485 3.768
24 .685 .857 1.059 1.318 1.711 2.064 2.172 2.492 2.797 3.091 3.467 3.745
25 .684 .856 1.058 1.316 1.708 2.060 2.167 2.485 2.787 3.078 3.450 3.725
26 .684 .856 1.058 1.315 1.706 2.056 2.162 2.479 2.779 3.067 3.435 3.707
27 .684 .855 1.057 1.314 1.703 2.052 2.15 2.473 2.771 3.057 3.421 3.690
28 .683 .855 1.056 1.313 1.701 2.048 2.154 2.467 2.763 3.047 3.408 3.674
29 .683 .854 1.055 1.311 1.699 2.045 2.150 2.462 2.756 3.038 3.396 3.659
30 .683 .854 1.055 1.310 1.697 2.042 2.147 2.457 2.750 3.030 3.385 3.646
40 .681 .851 1.050 1.303 1.684 2.021 2.123 2.423 2.704 2.971 3.307 3.551
50 .679 .849 1.047 1.299 1.676 2.009 2.109 2.403 2.678 2.937 3.261 3.496
60 .679 .848 1.045 1.296 1.671 2.000 2.099 2.390 2.660 2.915 3.232 3.460
80 .678 .846 1.043 1.292 1.664 1.990 2.088 2.374 2.639 2.887 3.195 3.416
100 .677 .845 1.042 1.290 1.660 1.984 2.081 2.364 2.626 2.871 3.174 3.390
1000 .675 .842 1.037 1.282 1.646 1.962 2.056 2.330 2.581 2.813 3.098 3.300
inf. .674 .841 1.036 1.282 1.645 1.960 2.054 2.326 2.576 2.807 3.091 3.291

Вам также может понравиться