1 / 8

Statistical Methods II

Statistical Methods II. Session 10 Non Parametric Testing – The Kruskal-Wallis Test . Kruskal-Wallis Test. Recall what we know about ANOVA: Used when we want to test if the means of 3 or more groups are different. Hypotheses are written as: H 0 : The k level means are the same

eliza
Download Presentation

Statistical Methods II

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. Statistical Methods II Session 10 Non Parametric Testing – The Kruskal-Wallis Test

  2. Kruskal-Wallis Test Recall what we know about ANOVA: • Used when we want to test if the means of 3 or more groups are different. • Hypotheses are written as: H0: The k level means are the same H1: At least one of means is different • Assumptions include: • All the groups are normally distributed. • All the populations sampled have approximately equal variance (you can check this by generating side-by-side boxplots). • The samples of the groups are independent of each other and subjects within the groups were randomly selected.

  3. Kruskal-Wallis Test From these assumptions, what deviations should concern us the most? If the normality assumptions are not met AND we do not have a balanced design, ANOVA is not an appropriate tool. If these assumptions are violated, Plan B is the non parametric alternative – The Kruskal-Wallis Test.

  4. Kruskal-Wallis Test Things to know about the K-W Test: • It is a non-parametric alternative and therefore should never be “Plan A”. • Like all non-parametric tests, the focus is on ranks, counting and the medians. • The hypotheses statements are written as: H0: All k populations have the same median. H1: Not all of the k population medians are the same. • As the ANOVA is a conceptual extension of the two sample ttest, so the K-W test is a conceptual extension of the Wilcoxon Rank Sum (Mann Whitney) test.

  5. Kruskal-Wallis Test Steps for the K-W Test: • Rank the entire dataset from highest to lowest. Handle ties by assigning the average of the tied ranks to all involved in the tie. • Compute Ti as the sum of the ranks for group i, for each of the k groups. • The test statistic is: H={12/N(N+1)}Σni{Ri – ((1+N)/2)2} Where, N = the total number of obs in the sample ni= the number of obs in group i Ri = the average of the ranks in group i

  6. Kruskal-Wallis Test Consider the following example – To assess the effects of expectation on the aesthetic quality, an investigator randomly sorts 24 amateur wine aficionados into three groups – A, B and C of 8 subjects each. Each subject is scheduled for an individual interview to taste and rate wines. The only difference among the three groups is the expectations set regarding the quality of the wine (it’s the same wine being tested across the groups). Group A is told that the wine is of VERY fine quality, Group B is told that the wine is medium quality and Group C is told that the wine is of low quality. The wine will be ranked from 1 (low) to 10 (high).

  7. Kruskal-Wallis Test Unfortunately, on the day of the interviews, some people don’t show up. By the end of the day, the researcher has the following data:

  8. Kruskal-Wallis Test Lets execute this test using SAS…

More Related