Presentation is loading. Please wait.

Presentation is loading. Please wait.

Section 13.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.

Similar presentations


Presentation on theme: "Section 13.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series."— Presentation transcript:

1 Section 13.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series by Mario F. Triola

2 Section 13.2-2 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Chapter 13 Nonparametric Statistics 13-1Review and Preview 13-2Sign Test 13-3Wilcoxon Signed-Ranks Test for Matched Pairs 13-4Wilcoxon Rank-Sum Test for Two Independent Samples 13-5Kruskal-Wallis Test 13-6Rank Correction 13-7Runs Test for Randomness

3 Section 13.2-3 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concept The main objective of this section is to understand the sign test procedure, which involves converting data values to plus and minus signs, then testing for disproportionately more of either sign.

4 Section 13.2-4 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Definition The sign test is a nonparametric (distribution-free) test that uses plus and minus signs to test different claims, including: 1. Claims involving matched pairs of sample data 2. Claims involving nominal data 3. Claims about the median of a single population

5 Section 13.2-5 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Basic Concept of the Sign Test The basic idea underlying the sign test is to analyze the frequencies of the plus and minus signs to determine whether they are significantly different. For consistency, we will use a test statistic based on the number of time the less frequent sign occurs.

6 Section 13.2-6 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Requirements The sample data have been randomly selected. Note: There is no requirement that the sample data come from a population with a particular distribution, such as a normal distribution.

7 Section 13.2-7 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Notation for Sign Test x = the number of times the less frequent sign occurs n = the total number of positive and negative signs combined

8 Section 13.2-8 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Test Statistic For n ≤ 25: Test statistic is x = the number of times the less frequent sign occurs For n > 25: Test statistic is

9 Section 13.2-9 Copyright © 2014, 2012, 2010 Pearson Education, Inc. P-Values and Critical Values P-Values: P-values are often provided by technology, or can be often found using the z test statistic. Critical Values: For n ≤ 25, critical x values are in Table A-7. For n > 25, critical z values are in Table A-2.

10 Section 13.2-10 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Caution When applying the sign test in a one-tailed test, we need to be very careful to avoid making the wrong conclusion when one sign occurs significantly more often than the other, but the sample data contradict the alternative hypothesis. See the following example.

11 Section 13.2-11 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example Among 945 couples who used the XSORT method of gender selection, 66 had boys, so the sample proportion of boys is 66 / 945 or 0.0698. Consider the claim that the XSORT method increases the likelihood of baby boys so that the probability of a boy is p > 0.5. This claim becomes the alternative hypothesis. Using common sense, we see that with a sample proportion of boys of 0.0698, we can never support a claim that p > 0.5. The sample proportion contradicts the alternative hypothesis because it is not greater than 0.5.

12 Section 13.2-12 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued We must be careful to avoid making the fundamental mistake of thinking that a claim is supported because the sample results are significant. The sample results must be significant in the same direction as the alternative hypothesis.

13 Section 13.2-13 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Sign Test Procedure

14 Section 13.2-14 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Sign Test Procedure

15 Section 13.2-15 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Sign Test Procedure

16 Section 13.2-16 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Claims Involving Matched Pairs When using the sign test with data that are matched pairs, we convert the raw data to plus and minus signs as follows: 1.Subtract each value of the second variable from the corresponding value of the first variable. 2.Record only the sign of the difference found in step 1. Exclude ties: that is, any matched pairs in which both values are equal.

17 Section 13.2-17 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concept Underlying This Use of the Sign Test If the two sets of data have equal medians, the number of positive signs should be approximately equal to the number of negative signs.

18 Section 13.2-18 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example Table 13-3 includes taxi-out times and taxi-in times for a sample of American Airlines Flight 21. Use the sign test to test the claim that there is no difference between taxi-out and taxi-in times. Use a 0.05 significance level.

19 Section 13.2-19 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Requirement Check: We only need the sample data to be a simple random sample, and that requirement is satisfied. We have 8 positive signs, 3 negative signs, and 1 difference of 0. The sign test tells us whether or not the numbers of positive and negative signs are approximately equal.

20 Section 13.2-20 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The hypotheses are: We let n = 11 and x = 3. We should proceed to find the critical value from Table A-7. In Table A-7, the critical value of 1 is found for n = 11 and α = 0.05 in two tails.

21 Section 13.2-21 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Since n ≤ 25, the test statistic is x = 3, and with a critical value of 1, we fail to reject the null hypothesis of no difference. We conclude that there is not sufficient evidence to warrant rejection of the claim of no difference between taxi-out times and taxi-in times. There does not appear to be a difference.

22 Section 13.2-22 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Claims Involving Nominal Data The nature of nominal data limits the calculations that are possible, but we can identify the proportion of the sample data that belong to a particular category. Then we can test claims about the corresponding population proportion p.

23 Section 13.2-23 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example As of this writing, 879 of 945 babies born to parents using the XSORT method of gender selection were girls. Use the sign test and a 0.05 level of significance to test the claim that this method of gender selection is effective in increasing the likelihood of a baby girl.

24 Section 13.2-24 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Requirement Check: The only requirement is that the sample be a simple random sample, and based on the design of the experiment, we can assume so. Let p denote the population proportion of baby girls. The claim is that the XSORT method increases the likelihood of having a girl, so the hypotheses are:

25 Section 13.2-25 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Denoting girls by (+) and boys by (  ), we have 879 positive signs and 66 negative signs. The test statistic is

26 Section 13.2-26 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued With a test statistic of z = –26.41 and a critical value of z = –1.645, we can reject the null hypothesis.

27 Section 13.2-27 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued The XSORT method of gender selection does appear to be associated with an increase in the likelihood of a girl.

28 Section 13.2-28 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Claims About the Median of a Single Population The negative and positive signs are based on the claimed value of the median. See the next example.

29 Section 13.2-29 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example Data Set 3 in Appendix B includes measured body temperatures of adults. Use the 106 temperatures listed for 12 A.M. on Day 2 with the sign test to test the claim that the median is less than 98.6ºF. Of the 106 subjects, 68 had temperatures below 98.6ºF, 23 had temperatures above 98.6ºF, and 15 had temperatures equal to 98.6ºF.

30 Section 13.2-30 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued We test the claim: We discard the 15 data values of 98.6 since they result in differences of zero. We have 68 negative signs and 23 positive signs, so n = 91. The value of n exceeds 25, so we obtain the test statistic:

31 Section 13.2-31 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued

32 Section 13.2-32 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued In this one-tailed test with α = 0.05, we can reject the null hypothesis: There is sufficient evidence to support the claim that the median body temperature of healthy adults is less than 98.6ºF.


Download ppt "Section 13.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series."

Similar presentations


Ads by Google