SlideShare a Scribd company logo
1 of 12
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

One Way Anova
One Way AnovaOne Way Anova
One Way Anova
shoffma5
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anova
naranbatn
 

What's hot (20)

One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
The Kruskal-Wallis H Test
The Kruskal-Wallis H TestThe Kruskal-Wallis H Test
The Kruskal-Wallis H Test
 
Kruskal Wallis test, Friedman test, Spearman Correlation
Kruskal Wallis test, Friedman test, Spearman CorrelationKruskal Wallis test, Friedman test, Spearman Correlation
Kruskal Wallis test, Friedman test, Spearman Correlation
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square test
Chi square testChi square test
Chi square test
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
Multiple Linear Regression II and ANOVA I
Multiple Linear Regression II and ANOVA IMultiple Linear Regression II and ANOVA I
Multiple Linear Regression II and ANOVA I
 
Chi sqaure test
Chi sqaure testChi sqaure test
Chi sqaure test
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Statistical test
Statistical testStatistical test
Statistical test
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anova
 
Statistical Power
Statistical PowerStatistical Power
Statistical Power
 
Survival analysis
Survival  analysisSurvival  analysis
Survival analysis
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample size
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
3.1 non parametric test
3.1 non parametric test3.1 non parametric test
3.1 non parametric test
 

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

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

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