1 / 20

Lecture Slides

Learn about the Kruskal-Wallis test, a nonparametric test used to determine if independent samples come from populations with equal medians. This test is suitable for samples with at least 5 observations.

carnes
Download Presentation

Lecture Slides

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture Slides Elementary StatisticsEleventh Edition and the Triola Statistics Series by Mario F. Triola

  2. 13-1 Review and Preview 13-2 Sign Test 13-3 Wilcoxon Signed-Ranks Test for Matched Pairs 13-4 Wilcoxon Rank-Sum Test for Two Independent Samples 13-5 Kruskal-Wallis Test 13-6 Rank Correction 13-7 Runs Test for Randomness Chapter 13Nonparametric Statistics

  3. Section 13-5 Kruskal-Wallis Test

  4. Key Concept This section introduces the Kruskal-Wallis test, which uses ranks of data from three or more independent samples to test the null hypothesis that the samples come from populations with equal medians.

  5. We compute the test statistic , which has a distribution that can be approximated by the chi-square distribution as long as each sample has at least 5 observations. When we use the chi-square distribution in this context, the number of degrees of freedom is , where is the number of samples. Kruskal-Wallis Test

  6. The Kruskal-Wallis test (also called the H test) is a nonparametric test that uses ranks of simple random samples from three or more independent populations. It is used to test the null hypothesis that the independent samples come from populations with the equal medians. Definition : The samples come from populations with equal medians. : The samples come from populations with medians that are not all equal.

  7. = total number of observations in all observations combined = number of samples = sum of ranks for Sample 1 = number of observations in Sample 1 For Sample 2, the sum of ranks is and the number of observations is , and similar notation is used for the other samples. Kruskal-Wallis TestNotation

  8. 1. We have at least three independent random samples. 2. Each sample has at least 5 observations. Note: There is no requirement that the populations have a normal distribution or any other particular distribution. Kruskal-Wallis Test Requirements

  9. Test Statistic Critical Values 1. Test is right-tailed. 2. (Because the test statisticH can be approximated by the distribution, use Table A-4). Kruskal-Wallis Test

  10. Procedure for Finding the Value of the Test Statistic H 1 Temporarily combine all samples into one big sample and assign a rank to each sample value. 2. For each sample, find the sum of the ranks and find the sample size. 3. Calculate H by using the results of Step 2 and the notation and test statistic.

  11. Procedure for Finding the Value of the Test Statistic H The test statistic H is basically a measure of the variance of the rank sums If the ranks are distributed evenly among the sample groups, then H should be a relatively small number. If the samples are very different, then the ranks will be excessively low in some groups and high in others, with the net effect that H will be large.

  12. Example: The chest deceleration measurements resulting from car crash tests are listed in Table 13-6. The data are from the Chapter Problem in Chapter 12. Test the claim that the three samples come from populations with medians that are all equal. Use a 0.05 significance level.

  13. Example:

  14. Example: Are requirements met? Each of the three samples is a simple random independent and sample. Each sample size at least 5. : The populations of chest deceleration measurements from the three categories have the same median. : The populations of chest deceleration measurements from the three categories have medians that are not all the same.

  15. Example: The following statistics come from Table 13-6:

  16. Example: Evaluate the test statistic.

  17. Example: Find the critical value. . Because each sample has at least five observations, the distribution of H is approximately a chi-square distribution. (right-tail) From Table A-4 the critical value = 5.991.

  18. Example:

  19. Example: The test statistic 5.774 is NOT in the critical region bounded by 5.991, so we fail to reject the null hypothesis of equal medians. There is not sufficient evidence to reject the claim that chest deceleration measurements from small cars, medium cars, and large cars all have equal medians. The medians do not appear to be different.

  20. Recap In this section we have discussed: The Kruskal-Wallis Test is the non-parametric equivalent of ANOVA. It tests the hypothesis that three or more populations have equal means. The populations do not have to be normally distributed.

More Related