SlideShare a Scribd company logo
Kruskal-Wallis Test
The non-parametric analogue for a one-way ANOVA 
test is the Kruskal-Wallis test.
The non-parametric analogue for a one-way ANOVA 
test is the Kruskal-Wallis test. 
Remember that a non-parametric test is used when 
the distribution is either highly skewed or we are 
comparing ordinal or rank ordered data.
Example of a skewed distribution 
1 2 3 4 5 6
Example of rank ordered data 
Football Players Basketball Players 
1st 
2nd 
3rd 
4th 
5th 
6th 
7th 
8th 
9th 
10th 
Rank ordered-comparison 
of 
amount of pizza 
slices eaten in one 
sitting
Similar to the Mann-Whitney U test, the Kruskal-Wallis 
test evaluates the differences among groups by 
estimating differences in ranks among them.
Similar to the Mann-Whitney U test, the Kruskal-Wallis 
test evaluates the differences among groups by 
estimating differences in ranks among them. 
For example, four groups of students, freshman, 
sophomores, juniors, and seniors might be tested for 
their preference to watch rugby.
The measurement of their preference might be 
conducted on an ordinal scale with five points on the 
scale; strong dislike, dislike, neutral, like, and strong 
like. Such a Like-it scale renders ordinal preference 
and should be treated with a non-parametric test.
The measurement of their preference might be 
conducted on an ordinal scale with five points on the 
scale; strong dislike, dislike, neutral, like, and strong 
like. Such a Like-it scale renders ordinal preference 
and should be treated with a non-parametric test. 
Freshmen Sophomores Juniors Seniors 
strong dislike dislike like strong like 
dislike Neutral Neutral like 
strong dislike like like strong like 
Neutral like strong like Neutral 
strong dislike Neutral dislike like 
strong dislike strong dislike like strong like
Here is the data rank ordered using the “like it” scale 
Freshmen Sophomores Juniors Seniors 
5th 4th 2nd 1st 
4th 3rd 3rd 2nd 
5th 2nd 2nd 1st 
3rd 2nd 1st 3rd 
5th 3rd 4th 2nd 
5th 5th 2nd 1st
As with ANOVA, here we are determining how more 
than two levels (Freshmen, Sophomores, Juniors, and 
Seniors) of the independent variable (year in school) 
compare in terms of the dependent variable (their 
preference for rugby). 
preference for 
Freshman 
Sophomore 
Junior 
Senior
Similar to one-way ANOVA, a significant Kruskal-Wallis 
result should be followed up with post-hoc tests (also 
non-parametric) to determine where the differences 
between groups are occurring. 
preference for 
Freshman 
Sophomore 
Junior 
Senior

More Related Content

What's hot

Friedman test Stat
Friedman test Stat Friedman test Stat
Friedman test Stat
Kate Malda
 

What's hot (20)

What is a Mann Whitney U?
What is a Mann Whitney U?What is a Mann Whitney U?
What is a Mann Whitney U?
 
Parametric vs Nonparametric Tests: When to use which
Parametric vs Nonparametric Tests: When to use whichParametric vs Nonparametric Tests: When to use which
Parametric vs Nonparametric Tests: When to use which
 
SIGN TEST SLIDE.ppt
SIGN TEST SLIDE.pptSIGN TEST SLIDE.ppt
SIGN TEST SLIDE.ppt
 
Mann Whitney U test
Mann Whitney U testMann Whitney U test
Mann Whitney U test
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Anova, ancova
Anova, ancovaAnova, ancova
Anova, ancova
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
Student's T-Test
Student's T-TestStudent's T-Test
Student's T-Test
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
Friedman test Stat
Friedman test Stat Friedman test Stat
Friedman test Stat
 
Factorial Design
Factorial DesignFactorial Design
Factorial Design
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test
 
Degree of freedom
Degree of freedomDegree of freedom
Degree of freedom
 

Viewers also liked (6)

Null hypothesis for Kruskal Wallis Test
Null hypothesis for Kruskal Wallis TestNull hypothesis for Kruskal Wallis Test
Null hypothesis for Kruskal Wallis Test
 
Reporting a Kruskal Wallis Test
Reporting a Kruskal Wallis TestReporting a Kruskal Wallis Test
Reporting a Kruskal Wallis Test
 
Uji kruskal wallis
Uji kruskal wallisUji kruskal wallis
Uji kruskal wallis
 
Kruskal-Wallis H test
Kruskal-Wallis H testKruskal-Wallis H test
Kruskal-Wallis H test
 
Matrix - Invers, tranpose, determinant. (2x2, 3x3) XII Science LN
Matrix - Invers, tranpose, determinant. (2x2, 3x3) XII Science LNMatrix - Invers, tranpose, determinant. (2x2, 3x3) XII Science LN
Matrix - Invers, tranpose, determinant. (2x2, 3x3) XII Science LN
 
GCSE Geography: How And Why To Use Spearman’s Rank
GCSE Geography: How And Why To Use Spearman’s RankGCSE Geography: How And Why To Use Spearman’s Rank
GCSE Geography: How And Why To Use Spearman’s Rank
 

More from Ken Plummer

More from Ken Plummer (20)

Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)Diff rel gof-fit - jejit - practice (5)
Diff rel gof-fit - jejit - practice (5)
 
Learn About Range - Copyright updated
Learn About Range - Copyright updatedLearn About Range - Copyright updated
Learn About Range - Copyright updated
 
Inferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright UpdatedInferential vs descriptive tutorial of when to use - Copyright Updated
Inferential vs descriptive tutorial of when to use - Copyright Updated
 
Diff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright UpdatedDiff rel ind-fit practice - Copyright Updated
Diff rel ind-fit practice - Copyright Updated
 
Normal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updatedNormal or skewed distributions (inferential) - Copyright updated
Normal or skewed distributions (inferential) - Copyright updated
 
Normal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updatedNormal or skewed distributions (descriptive both2) - Copyright updated
Normal or skewed distributions (descriptive both2) - Copyright updated
 
Nature of the data practice - Copyright updated
Nature of the data practice - Copyright updatedNature of the data practice - Copyright updated
Nature of the data practice - Copyright updated
 
Nature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updatedNature of the data (spread) - Copyright updated
Nature of the data (spread) - Copyright updated
 
Mode practice 1 - Copyright updated
Mode practice 1 - Copyright updatedMode practice 1 - Copyright updated
Mode practice 1 - Copyright updated
 
Nature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updatedNature of the data (descriptive) - Copyright updated
Nature of the data (descriptive) - Copyright updated
 
Dichotomous or scaled
Dichotomous or scaledDichotomous or scaled
Dichotomous or scaled
 
Skewed less than 30 (ties)
Skewed less than 30 (ties)Skewed less than 30 (ties)
Skewed less than 30 (ties)
 
Skewed sample size less than 30
Skewed sample size less than 30Skewed sample size less than 30
Skewed sample size less than 30
 
Ordinal (ties)
Ordinal (ties)Ordinal (ties)
Ordinal (ties)
 
Ordinal and nominal
Ordinal and nominalOrdinal and nominal
Ordinal and nominal
 
Relationship covariates
Relationship   covariatesRelationship   covariates
Relationship covariates
 
Relationship nature of data
Relationship nature of dataRelationship nature of data
Relationship nature of data
 
Number of variables (predictive)
Number of variables (predictive)Number of variables (predictive)
Number of variables (predictive)
 
Levels of the iv
Levels of the ivLevels of the iv
Levels of the iv
 
Independent variables (2)
Independent variables (2)Independent variables (2)
Independent variables (2)
 

Recently uploaded

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 

Recently uploaded (20)

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
Research Methods in Psychology | Cambridge AS Level | Cambridge Assessment In...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 

What is a Kruskal Wallis-Test?

  • 2. The non-parametric analogue for a one-way ANOVA test is the Kruskal-Wallis test.
  • 3. The non-parametric analogue for a one-way ANOVA test is the Kruskal-Wallis test. Remember that a non-parametric test is used when the distribution is either highly skewed or we are comparing ordinal or rank ordered data.
  • 4. Example of a skewed distribution 1 2 3 4 5 6
  • 5. Example of rank ordered data Football Players Basketball Players 1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th Rank ordered-comparison of amount of pizza slices eaten in one sitting
  • 6. Similar to the Mann-Whitney U test, the Kruskal-Wallis test evaluates the differences among groups by estimating differences in ranks among them.
  • 7. Similar to the Mann-Whitney U test, the Kruskal-Wallis test evaluates the differences among groups by estimating differences in ranks among them. For example, four groups of students, freshman, sophomores, juniors, and seniors might be tested for their preference to watch rugby.
  • 8. The measurement of their preference might be conducted on an ordinal scale with five points on the scale; strong dislike, dislike, neutral, like, and strong like. Such a Like-it scale renders ordinal preference and should be treated with a non-parametric test.
  • 9. The measurement of their preference might be conducted on an ordinal scale with five points on the scale; strong dislike, dislike, neutral, like, and strong like. Such a Like-it scale renders ordinal preference and should be treated with a non-parametric test. Freshmen Sophomores Juniors Seniors strong dislike dislike like strong like dislike Neutral Neutral like strong dislike like like strong like Neutral like strong like Neutral strong dislike Neutral dislike like strong dislike strong dislike like strong like
  • 10. Here is the data rank ordered using the “like it” scale Freshmen Sophomores Juniors Seniors 5th 4th 2nd 1st 4th 3rd 3rd 2nd 5th 2nd 2nd 1st 3rd 2nd 1st 3rd 5th 3rd 4th 2nd 5th 5th 2nd 1st
  • 11. As with ANOVA, here we are determining how more than two levels (Freshmen, Sophomores, Juniors, and Seniors) of the independent variable (year in school) compare in terms of the dependent variable (their preference for rugby). preference for Freshman Sophomore Junior Senior
  • 12. Similar to one-way ANOVA, a significant Kruskal-Wallis result should be followed up with post-hoc tests (also non-parametric) to determine where the differences between groups are occurring. preference for Freshman Sophomore Junior Senior