Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © Cengage Learning. All rights reserved. 15 Distribution-Free Procedures.

Similar presentations


Presentation on theme: "Copyright © Cengage Learning. All rights reserved. 15 Distribution-Free Procedures."— Presentation transcript:

1 Copyright © Cengage Learning. All rights reserved. 15 Distribution-Free Procedures

2 Copyright © Cengage Learning. All rights reserved. 15.3 Distribution-Free Confidence Intervals

3 3 Distribution-Free Confidence Intervals The method we have used so far to construct a confidence interval (CI) can be described as follows: Start with a random variable (Z, T, X 2, F, or the like) that depends on the parameter of interest and a probability statement involving the variable, manipulate the inequalities of the statement to isolate the parameter between random endpoints, and, finally, substitute computed values for random variables.

4 4 Distribution-Free Confidence Intervals Another general method for obtaining CIs takes advantage of a relationship between test procedures and CIs. A 100(1 –  )% CI for a parameter  can be obtained from a level  test for H 0 :  =  0 versus H a :  ≠  0. This method will be used to derive intervals associated with the Wilcoxon signed-rank test and the Wilcoxon rank-sum test.

5 5 Distribution-Free Confidence Intervals To appreciate how new intervals are derived, reconsider the one-sample t test and t interval. Suppose a random sample of n = 25 observations from a normal population yields = 100, s = 20. Then a 90% CI for  is (15.7)

6 6 Distribution-Free Confidence Intervals Now let’s switch gears and test hypotheses. For H 0 :  =  0 versus H a :  ≠  0, the t test at level.10 specifies that H 0 should be rejected if t is either  1.711 or  –1.711, where (15.8)

7 7 Distribution-Free Confidence Intervals Consider the null value  0 = 95. Then t = 1.25, so H 0 is not rejected. Similarly, if  0 = 104, then t = –1, so again H 0 is not rejected. However, if  0 = 90, then t = 2.5, so H 0 is rejected; and if  0 = 108, then t = –2, so H 0 is again rejected.

8 8 Distribution-Free Confidence Intervals By considering other values of  0 and the decision resulting from each one, the following general fact emerges: Every number inside the interval (15.7) specifies a value of  0 for which t of (15.8) leads to nonrejection of H 0,whereas every number outside the interval (15.7) corresponds to a t for which H 0 is rejected. That is, for the fixed values of n, and s, the set of all  0 values for which testing H 0 :  =  0 versus H a :  ≠  0 results in nonrejection of H 0 is precisely the interval (15.7).

9 9 Distribution-Free Confidence Intervals Proposition Suppose we have a level  test procedure for testing H 0 :  =  0 versus H a :  ≠  0. For fixed sample values, let A denote the set of all values  0 for which H 0 is not rejected. Then A is a 100(1 –  )% CI for . There are actually pathological examples in which the set A defined in the proposition is not an interval of  values, but instead the complement of an interval or something even stranger.

10 10 Distribution-Free Confidence Intervals To be more precise, we should really replace the notion of a CI with that of a confidence set. In the cases of interest here, the set A does turn out to be an interval.

11 11 The Wilcoxon Signed-Rank Interval

12 12 The Wilcoxon Signed-Rank Interval To test H 0 :  =  0 versus H a :  ≠  0 using the Wilcoxon signed-rank test, where  is the mean of a continuous symmetric distribution, the absolute values | x 1 –  0 |,..., | x n –  0 | are ordered from smallest to largest, with the smallest receiving rank 1 and the largest rank n. Each rank is then given the sign of its associated x i –  0, and the test statistic is the sum of the positively signed ranks.

13 13 The two-tailed test rejects H 0 if s + is either  c or  n(n + 1)/2 – c, where c is obtained from Appendix Table A.13 once the desired level of significance  is specified. For fixed x 1,   , x n, the 100(1 –  )% signed-rank interval will consist of all  0 for which H 0 :  =  0 is not rejected at level . To identify this interval, it is convenient to express the test statistic S + in another form. The Wilcoxon Signed-Rank Interval

14 14 The Wilcoxon Signed-Rank Interval S + = the number of pairwise averages (X i + X j )/2 with i  j that are   0 That is, if we average each x j in the list with each x i to its left, including (x j + x j )/2 (which is just x j ), and count the number of these averages that are   0, s + results. In moving from left to right in the list of sample values, we are simply averaging every pair of observations in the sample [again including (x j + x j )/2] exactly once, so the order in which the observations are listed before averaging is not important. (15.9)

15 15 The Wilcoxon Signed-Rank Interval The equivalence of the two methods for computing s + is not difficult to verify. The number of pairwise averages is (the first term due to averaging of different observations and the second due to averaging each x i with itself), which equals n(n + 1)/2. If either too many or too few of these pairwise averages are   0, H 0 is rejected.

16 16 Example 6 The following observations are values of cerebral metabolic rate for rhesus monkeys: x 1 = 4.51, x 2 = 4.59, x 3 = 4.90, x 4 = 4.93, x 5 = 6.80, x 6 = 5.08, x 7 = 5.67. The 28 pairwise averages are, in increasing order,

17 17 Example 6 The first few and the last few of these are pictured in Figure 15.2. Figure 15.2 Plot of the data for Example 6 cont’d

18 18 Example 6 Because S + is a discrete rv,  =.05 cannot be obtained exactly. The rejection region {0, 1, 2, 26, 27, 28} has  =.046, which is as close as possible to.05, so the level is approximately.05. Thus if the number of pairwise averages   0 is between 3 and 25, inclusive, H 0 is not rejected. From Figure 15.2 the (approximate) 95% CI for  is (4.59, 5.94). cont’d

19 19 The Wilcoxon Signed-Rank Interval In general, once the pairwise averages are ordered from smallest to largest, the endpoints of the Wilcoxon interval are two of the “extreme” averages. To express this precisely, let the smallest pairwise average be denoted by the next smallest by,   , and the largest by

20 20 The Wilcoxon Signed-Rank Interval Proposition If the level  Wilcoxon signed-rank test for H 0 :  =  0 versus H a :  ≠  0 is to reject H 0 if either s +  c or s +  n(n + 1)/2 – c, then a 100(1 –  )% CI for  is (15.10) In words, the interval extends from the dth smallest pairwise average to the dth largest average, where d = n(n + 1)/2 – c + 1. Appendix Table A.15 gives the values of c that correspond to the usual confidence levels for n = 5, 6,..., 25.

21 21 Example 7 Example 6 continued… For n = 7, an 89.1% interval (approximately 90%) is obtained by using c = 24 (since the rejection region {0, 1, 2, 3, 4, 24, 25, 26, 27, 28} has  =.109). The interval is = = (4.72, 5.85), which extends from the fifth smallest to the fifth largest pairwise average.

22 22 The Wilcoxon Signed-Rank Interval The derivation of the interval depended on having a single sample from a continuous symmetric distribution with mean (median) . When the data is paired, the interval constructed from the differences d 1, d 2,..., d n is a CI for the mean (median) difference  D. In this case, the symmetry of X and Y distributions need not be assumed; as long as the X and Y distributions have the same shape, the X – Y distribution will be symmetric, so only continuity is required.

23 23 The Wilcoxon Signed-Rank Interval For n > 20, the large-sample approximation to the Wilcoxon test based on standardizing S + gives an approximation to c in (15.10). The result [for a 100(1 –  )% interval] is

24 24 The Wilcoxon Signed-Rank Interval The efficiency of the Wilcoxon interval relative to the t interval is roughly the same as that for the Wilcoxon test relative to the t test. In particular, for large samples when the underlying population is normal, the Wilcoxon interval will tend to be slightly longer than the t interval, but if the population is quite nonnormal (symmetric but with heavy tails), then the Wilcoxon interval will tend to be much shorter than the t interval.

25 25 The Wilcoxon Rank-Sum Interval

26 26 The Wilcoxon Rank-Sum Interval The Wilcoxon rank-sum test for testing H 0 :  1 –  2 =  0 is carried out by first combining the (X i –  0 )s and Y j ’s into one sample of size m + n and ranking them from smallest (rank 1) to largest (rank m + n). The test statistic W is then the sum of the ranks of the (X i –  0 )s. For the two-sided alternative, H 0 is rejected if w is either too small or too large.

27 27 The Wilcoxon Rank-Sum Interval To obtain the associated CI for fixed x i ’s and y j ’s, we must determine the set of all  0 values for which H 0 is not rejected. This is easiest to do if the test statistic is expressed in a slightly different form.

28 28 The Wilcoxon Rank-Sum Interval The smallest possible value of W is m(m + 1)/2, corresponding to every (X i –  0 ) less than every Y j, and there are mn differences of the form (X i –  0 ) – Y j. A bit of manipulation gives Thus rejecting H 0 if the number of (x i – y j )s   0 is either too small or too large is equivalent to rejecting H 0 for small or large w. (15.11)

29 29 The Wilcoxon Rank-Sum Interval Expression (15.11) suggests that we compute x i – y j for each i and j and order these mn differences from smallest to largest. Then if the null value  0 is neither smaller than most of the differences nor larger than most, H 0 :  1 –  2 =  0 is not rejected. Varying  0 now shows that a CI for  1 –  2 will have as its lower endpoint one of the ordered (x i – y j )s, and similarly for the upper endpoint.

30 30 The Wilcoxon Rank-Sum Interval Proposition Let x 1,..., x m and y 1,..., y n be the observed values in two independent samples from continuous distributions that differ only in location (and not in shape). With d ij = x i – y j and the ordered differences denoted by d ij(1), d ij(2),..., d ij(mn), the general form of a 100(1 –  )% CI for is  1 –  2 is (d ij(mn – c + 1), d ij(c) ) where c is the critical constant for the two-tailed level  Wilcoxon rank-sum test. (15.12)

31 31 The Wilcoxon Rank-Sum Interval Notice that the form of the Wilcoxon rank-sum interval (15.12) is very similar to the Wilcoxon signed-rank interval (15.10); (15.10) uses pairwise averages from a single sample, whereas (15.12) uses pairwise differences from two samples. Appendix Table A.16 gives values of c for selected values of m and n.

32 32 Example 8 The article “Some Mechanical Properties of Impregnated Bark Board” (Forest Products J., 1977: 31–38) reports the following data on maximum crushing strength (psi) for a sample of epoxy-impregnated bark board and for a sample of bark board impregnated with another polymer: Let’s obtain a 95% CI for the true average difference in crushing strength between the epoxy-impregnated board and the other type of board.

33 33 Example 8 From Appendix Table A.16, since the smaller sample size is 5 and the larger sample size is 6, c = 26 for a confidence level of approximately 95%. The d ij ’s appear in Table 15.5. cont’d Table 15.5 Differences for the Rank-Sum Interval in Example 8

34 34 Example 8 The five smallest d ij ’s [d ij(1),..., d ij(5) ] are 4350, 4470, 4610, 4730, and 4830; and the five largest d ij ’s are (in descending order) 9790, 9530, 8740, 8480, and 8220. Thus the CI is (d ij(5), d ij(26) ) = (4830, 8220). cont’d

35 35 The Wilcoxon Rank-Sum Interval When m and n are both large, the Wilcoxon test statistic has approximately a normal distribution. This can be used to derive a large-sample approximation for the value c in interval (15.12). The result is (15.13)

36 36 The Wilcoxon Rank-Sum Interval As with the signed-rank interval, the rank-sum interval (15.12) is quite efficient with respect to the t interval; in large samples, (15.12) will tend to be only a bit longer than the t interval when the underlying populations are normal and may be considerably shorter than the t interval if the underlying populations have heavier tails than do normal populations.


Download ppt "Copyright © Cengage Learning. All rights reserved. 15 Distribution-Free Procedures."

Similar presentations


Ads by Google