SlideShare una empresa de Scribd logo
1 de 17
NON-PARAMETRIC TEST
(a)Mann Whitney U test
(b) Median Test
( c) Kruskal Wallis H Test
(d) Friedman Test
Non-parametric tests
• Non-parametric tests are used when continuous
data are not normally distributed or when
dealing with discrete variables.
• Most widely used are chi-squared, Fisher's exact
tests, Wilcoxon's matched pairs, Mann–Whitney
U-tests, Kruskal–Wallis tests and Spearman rank
correlation.
Mann-Whiteny U Test
Appropriate data
• Two-sample data. That is data with two groups
only
• Dependent variable is ordinal, interval, or ratio
•Independent variable is a factor with two
levels. That is two groups
•Observations between groups are
independent. That is not paired or repeated
measures data
Hypotheses
• Null hypothesis: The two groups are sampled from
populations with identical distributions. Typically, that
the sampled populations show stochastic equality.
• Alternative hypothesis (two-sided): The two groups
are sampled from populations with different
distributions. Typically, that one sampled population
exhibits stochastic dominance.
Interpretation
Significant results can be reported as e.g. “Values
for group A were significantly different from those
for group B.”
Other notes and alternative tests
The Mann–Whitney U test can be considered
equivalent to the Kruskal–Wallis test with only two
groups.
Two-sample Mann–Whitney U test- example
• Are B.Ed.-General scores significantly different
from those of B.Ed.-Special?
• The Mann–Whitney U test is conducted with
the wilcox.test function, which produces a p-
value for the hypothesis.
Kruskal-Wallis Test
• A collection of data samples are independent if they
come from unrelated populations and the samples do
not affect each other.
• Using the Kruskal-Wallis Test, we can decide whether
the population distributions are identical without
assuming them to follow the normal distribution.
Example
• The daily air quality measurements in Delhi, November
to March, are recorded. The ozone density are
presented in the data frame column Ozone.
Mood’s Median Test
• Mood’s median test is used to compare the
medians for two samples drawn from different
populations to find out if they are different.
• For example- you might want to compare the
median number of positive calls to a hotline vs.
the median number of negative comment calls to
find out if you’re getting significantly more
negative comments than positive comments (or
vice versa).
Population 1 Population 2
Sample-1 Sample-2
Continue-
• This test is the nonparametric.
- Nonparametric means that you don’t have to know what
distribution your sample came from (i.e. a normal
distribution) before running the test.
• Samples should have been drawn from distributions with
the same shape.
• The null hypothesis for this test is that the medians are the
same for both groups.
• The alternate hypothesis for the test is that the medians
are different for both groups.
Results for The Test
• Like most hypothesis tests, your results will
include a p-value and an alpha level (usually
5% or 0.05).
• If your p-value is less than or equal to alpha,
the medians are different and you can reject
the null hypothesis that they are the same.
Friedman test
• The Friedman test is the non-parametric
alternative to the one-way ANOVA with repeated
measures.
• It is used to test for differences between groups
when the dependent variable being measured is
ordinal.
• It can also be used for continuous data that has
violated the assumptions necessary to run the
one-way ANOVA with repeated measures (e.g.,
data that has marked deviations from normality).
Assumptions
• One group that is measured on three or more
different occasions.
• Group is a random sample from the
population.
• Your dependent variable should be measured at the
ordinal or continuous level.
- Examples of ordinal variables include Likert scales (e.g., a 7-
point scale from strongly agree through to strongly disagree),
amongst other ways of ranking categories (e.g., a 5-point scale
explaining how much a customer liked a product, ranging
from "Not very much" to "Yes, a lot").
- Examples of continuous variables include revision time
(measured in hours), intelligence (measured using IQ score),
exam performance (measured from 0 to 100), weight
(measured in kg), and so forth.
• Samples do NOT need to be normally distributed.
Example
• A researcher wants to examine whether music has an effect on the
perceived psychological effort required to perform an exercise
session.
• The dependent variable is "perceived effort to perform exercise"
and the independent variable is "music type", which consists of
three groups: "no music", "classical music" and "dance music". To
test whether music has an effect on the perceived psychological
effort required to perform an exercise session, the researcher
recruited 12 runners who each ran three times on a treadmill for 30
minutes. For consistency, the treadmill speed was the same for all
three runs. In a random order, each subject ran: (a) listening to no
music at all; (b) listening to classical music; and (c) listening to
dance music. At the end of each run, subjects were asked to record
how hard the running session felt on a scale of 1 to 10, with 1 being
easy and 10 extremely hard. A Friedman test was then carried out
to see if there were differences in perceived effort based on music
type.

Más contenido relacionado

La actualidad más candente (20)

QCI WORKSHOP- Factor analysis-
QCI WORKSHOP- Factor analysis-QCI WORKSHOP- Factor analysis-
QCI WORKSHOP- Factor analysis-
 
Biostatistics ii
Biostatistics iiBiostatistics ii
Biostatistics ii
 
Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student
 
Nonparametric Statistics
Nonparametric StatisticsNonparametric Statistics
Nonparametric Statistics
 
Parametric test
Parametric testParametric test
Parametric test
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Non Parametric Tests
Non Parametric TestsNon Parametric Tests
Non Parametric Tests
 
Repeated anova measures ppt
Repeated anova measures pptRepeated anova measures ppt
Repeated anova measures ppt
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
Data Analysis
Data AnalysisData Analysis
Data Analysis
 
Statistical test
Statistical testStatistical test
Statistical test
 
t-test vs ANOVA
t-test vs ANOVAt-test vs ANOVA
t-test vs ANOVA
 
Chosing the appropriate_statistical_test
Chosing the appropriate_statistical_testChosing the appropriate_statistical_test
Chosing the appropriate_statistical_test
 
Assumptions about parametric and non parametric tests
Assumptions about parametric and non parametric testsAssumptions about parametric and non parametric tests
Assumptions about parametric and non parametric tests
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Parametric and Non Parametric methods
Parametric and Non Parametric methods Parametric and Non Parametric methods
Parametric and Non Parametric methods
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 

Similar a Workshop on Data Analysis and Result Interpretation in Social Science Research Day 03-non-parametric tests-presentation

Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Mero Eye
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametricSoniaBabaee
 
Summary of statistical tools used in spss
Summary of statistical tools used in spssSummary of statistical tools used in spss
Summary of statistical tools used in spssSubodh Khanal
 
Biomedical statistics
Biomedical statisticsBiomedical statistics
Biomedical statisticsAbdullaAhmad6
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologistsxeonfusion
 
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 CorrelationRizwan S A
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethicsAbhishek Thakur
 
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 anovanaranbatn
 
When to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxWhen to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxAsokan R
 
Statistical test in spss
Statistical test in spssStatistical test in spss
Statistical test in spssBipin Neupane
 

Similar a Workshop on Data Analysis and Result Interpretation in Social Science Research Day 03-non-parametric tests-presentation (20)

1 ANOVA.ppt
1 ANOVA.ppt1 ANOVA.ppt
1 ANOVA.ppt
 
Statistics using SPSS
Statistics using SPSSStatistics using SPSS
Statistics using SPSS
 
Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametric
 
Summary of statistical tools used in spss
Summary of statistical tools used in spssSummary of statistical tools used in spss
Summary of statistical tools used in spss
 
Biomedical statistics
Biomedical statisticsBiomedical statistics
Biomedical statistics
 
Scales of measurement
Scales of measurementScales of measurement
Scales of measurement
 
The t test
The t testThe t test
The t test
 
statistical test.pptx
statistical test.pptxstatistical test.pptx
statistical test.pptx
 
tests of significance
tests of significancetests of significance
tests of significance
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologists
 
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
 
F unit 5.pptx
F unit 5.pptxF unit 5.pptx
F unit 5.pptx
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
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
 
When to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxWhen to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptx
 
Statistical test in spss
Statistical test in spssStatistical test in spss
Statistical test in spss
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
Annova test
Annova testAnnova test
Annova test
 
t-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodologyt-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodology
 

Más de Academy for Higher Education and Social Science Research (8)

Learning styles pedagogy - ppt presented in Pondicherry university Workshop
Learning styles pedagogy - ppt presented in Pondicherry university Workshop Learning styles pedagogy - ppt presented in Pondicherry university Workshop
Learning styles pedagogy - ppt presented in Pondicherry university Workshop
 
Constructivism learning/Learning Styles
Constructivism learning/Learning StylesConstructivism learning/Learning Styles
Constructivism learning/Learning Styles
 
Blended and online Learning PPT Presented in Pondicherry university
Blended and online Learning PPT Presented in Pondicherry universityBlended and online Learning PPT Presented in Pondicherry university
Blended and online Learning PPT Presented in Pondicherry university
 
Workshop QCI- regression_analysis
Workshop QCI- regression_analysis Workshop QCI- regression_analysis
Workshop QCI- regression_analysis
 
IRT in Test Construction
IRT in Test Construction IRT in Test Construction
IRT in Test Construction
 
Digital Initiative in Higher Education (Flipped and Online Learning)
Digital Initiative in Higher Education (Flipped and Online Learning)Digital Initiative in Higher Education (Flipped and Online Learning)
Digital Initiative in Higher Education (Flipped and Online Learning)
 
Median from grouped data (special case)
Median from grouped data (special case)Median from grouped data (special case)
Median from grouped data (special case)
 
Classical Test Theory (CTT)- By Dr. Jai Singh
Classical Test Theory (CTT)- By Dr. Jai SinghClassical Test Theory (CTT)- By Dr. Jai Singh
Classical Test Theory (CTT)- By Dr. Jai Singh
 

Último

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 

Último (20)

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 

Workshop on Data Analysis and Result Interpretation in Social Science Research Day 03-non-parametric tests-presentation

  • 1. NON-PARAMETRIC TEST (a)Mann Whitney U test (b) Median Test ( c) Kruskal Wallis H Test (d) Friedman Test
  • 2. Non-parametric tests • Non-parametric tests are used when continuous data are not normally distributed or when dealing with discrete variables. • Most widely used are chi-squared, Fisher's exact tests, Wilcoxon's matched pairs, Mann–Whitney U-tests, Kruskal–Wallis tests and Spearman rank correlation.
  • 4.
  • 5. Appropriate data • Two-sample data. That is data with two groups only • Dependent variable is ordinal, interval, or ratio •Independent variable is a factor with two levels. That is two groups •Observations between groups are independent. That is not paired or repeated measures data
  • 6. Hypotheses • Null hypothesis: The two groups are sampled from populations with identical distributions. Typically, that the sampled populations show stochastic equality. • Alternative hypothesis (two-sided): The two groups are sampled from populations with different distributions. Typically, that one sampled population exhibits stochastic dominance.
  • 7. Interpretation Significant results can be reported as e.g. “Values for group A were significantly different from those for group B.” Other notes and alternative tests The Mann–Whitney U test can be considered equivalent to the Kruskal–Wallis test with only two groups.
  • 8. Two-sample Mann–Whitney U test- example • Are B.Ed.-General scores significantly different from those of B.Ed.-Special? • The Mann–Whitney U test is conducted with the wilcox.test function, which produces a p- value for the hypothesis.
  • 9. Kruskal-Wallis Test • A collection of data samples are independent if they come from unrelated populations and the samples do not affect each other. • Using the Kruskal-Wallis Test, we can decide whether the population distributions are identical without assuming them to follow the normal distribution. Example • The daily air quality measurements in Delhi, November to March, are recorded. The ozone density are presented in the data frame column Ozone.
  • 10. Mood’s Median Test • Mood’s median test is used to compare the medians for two samples drawn from different populations to find out if they are different. • For example- you might want to compare the median number of positive calls to a hotline vs. the median number of negative comment calls to find out if you’re getting significantly more negative comments than positive comments (or vice versa).
  • 11. Population 1 Population 2 Sample-1 Sample-2
  • 12. Continue- • This test is the nonparametric. - Nonparametric means that you don’t have to know what distribution your sample came from (i.e. a normal distribution) before running the test. • Samples should have been drawn from distributions with the same shape. • The null hypothesis for this test is that the medians are the same for both groups. • The alternate hypothesis for the test is that the medians are different for both groups.
  • 13. Results for The Test • Like most hypothesis tests, your results will include a p-value and an alpha level (usually 5% or 0.05). • If your p-value is less than or equal to alpha, the medians are different and you can reject the null hypothesis that they are the same.
  • 14. Friedman test • The Friedman test is the non-parametric alternative to the one-way ANOVA with repeated measures. • It is used to test for differences between groups when the dependent variable being measured is ordinal. • It can also be used for continuous data that has violated the assumptions necessary to run the one-way ANOVA with repeated measures (e.g., data that has marked deviations from normality).
  • 15. Assumptions • One group that is measured on three or more different occasions. • Group is a random sample from the population.
  • 16. • Your dependent variable should be measured at the ordinal or continuous level. - Examples of ordinal variables include Likert scales (e.g., a 7- point scale from strongly agree through to strongly disagree), amongst other ways of ranking categories (e.g., a 5-point scale explaining how much a customer liked a product, ranging from "Not very much" to "Yes, a lot"). - Examples of continuous variables include revision time (measured in hours), intelligence (measured using IQ score), exam performance (measured from 0 to 100), weight (measured in kg), and so forth. • Samples do NOT need to be normally distributed.
  • 17. Example • A researcher wants to examine whether music has an effect on the perceived psychological effort required to perform an exercise session. • The dependent variable is "perceived effort to perform exercise" and the independent variable is "music type", which consists of three groups: "no music", "classical music" and "dance music". To test whether music has an effect on the perceived psychological effort required to perform an exercise session, the researcher recruited 12 runners who each ran three times on a treadmill for 30 minutes. For consistency, the treadmill speed was the same for all three runs. In a random order, each subject ran: (a) listening to no music at all; (b) listening to classical music; and (c) listening to dance music. At the end of each run, subjects were asked to record how hard the running session felt on a scale of 1 to 10, with 1 being easy and 10 extremely hard. A Friedman test was then carried out to see if there were differences in perceived effort based on music type.