SlideShare uma empresa Scribd logo
1 de 8
Comparing medians: the Man Whitney U-test The Mann Whitney U-test is a fairly complicated statistical test to understand, though it is quite easy to apply to a set of data. So, while the calculation is relatively easy, knowing when to apply it, and what the calculation actually means, is a little more difficult. It is also important not to be put off by the formula.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],KEY TERMS Nonparametric test : statistical test that assumes that the data is not normally distributed. Ordinal data : data that can be ranked, i.e. put into order from highest to lowest
Though this is a nonparametric statistical test, both samples should have a similar distribution. You can plot the data for each set on a simple graph to check this. Like many of the other statistical tests, you have to start with a null hypothesis (H o). However, unlike some of the other tests, the null hypothesis  (H o) is always the same: There is no significant difference between the two samples.
Applying the Mann Whitney U-test Comparing two traffic flows in a town centre A student was interested in finding out if a new retail development had an impact upon traffic (and therefore congestion) in the local area near to the development. There were two parts to the primary data collection. The first part was conducted before the construction of the planned development (sample x).  Methodology for primary data collection She recorded the time of day and date. She counted traffic (in both directions) on 10 streets around the development selected randomly). She counted for 10 minutes. She used a stopwatch for timing and a simple tally chart for recording the data. She completed the tally at different times of the day. TIP Is it a one-tailed or a two-tailed test? This relates to the difference between the data sets. If you assume one specified data set will be larger than the other, you are investigating a one-tailed distribution. If you assume differences can operate in both directions, i.e. up or down, you are investigating a two-tailed distribution. This is important when you interpret you findings using the critical values. In this example, the student is assuming traffic can go up or down in study 2 for all sites, despite the fact that more customers are likely to be attracted to the development. In this case, this makes it a two-tailed test
For the second study (sample y), she waited until 2 months after the development had been completed. She went to another 10 sites (selected randomly) and repeated the test. She then devised the following null hypothesis (H ₒ): ‘ There is no significant difference in traffic flows before and after the development.’ Now let’s take a look at the formula: U ₓ = Nₓ.N ᵧ  +  N ₓ(Nₓ + 1) 2 -  Σ rₓ U ₓ is the Mann Whitney calculation for sample x n is the number in the sample Σ rₓ is the sum of ranks for sample x (‘sum of’ just means added together)
The best way to proceed is to incorporate the findings into a table that also allows you to calculate the result.  When you get two or more equal values, use the mean rank. Here are the student’s findings: Complete the table by ranking all the data from highest to lowest. Total traffic flow in 10 minutes ( ₓ ) Rank r ₓ Site Number Total traffic flow in 10 minutes ( ᵧ ) Rank r ᵧ 126 11 1 194 148 7 2 128 85 15.5 3 69 61 19 4 135 179 4 5 171 93 12.5 6 149 45 20 7 89 189 3 8 248 1 85 15.5 9 79 93 12.5 10 137
Σ rₓ = 120 Σr ᵧ  =  Ranking puts values in order from highest to lowest . Next, she substituted the data into the formula : U ₓ = 10x10 + Uₓ = 100 +  Uₓ = 100 + 55 – 120 Uₓ = 35 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],U ₓ = Nₓ.N ᵧ  +  N ₓ(Nₓ + 1) 2 -  Σ rₓ 10(10 + 1) 2 -  120 110 2 -  120 TIP There is a useful way of checking the accuracy of your calculations. U ₓ + U ᵧ  should be the same number as Nₓ.N ᵧ  (which in this case is 10x10 = 100). If it is not, you have made a mistake somewhere
TASKS ,[object Object],[object Object],[object Object],[object Object],[object Object],U ᵧ = Nₓ.N ᵧ  +  N ᵧ(N ᵧ  + 1) 2 -  Σ r ᵧ

Mais conteúdo relacionado

Mais procurados

One Way Anova
One Way AnovaOne Way Anova
One Way Anova
shoffma5
 
Nonparametric tests
Nonparametric testsNonparametric tests
Nonparametric tests
Arun Kumar
 
Analysis of covariance
Analysis of covarianceAnalysis of covariance
Analysis of covariance
mikko656
 

Mais procurados (20)

Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
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
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
Nonparametric tests
Nonparametric testsNonparametric tests
Nonparametric tests
 
Analysis of covariance
Analysis of covarianceAnalysis of covariance
Analysis of covariance
 
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 Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical tests
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
T test
T testT test
T test
 
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
 
The Kruskal-Wallis H Test
The Kruskal-Wallis H TestThe Kruskal-Wallis H Test
The Kruskal-Wallis H Test
 
Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESIS
 

Semelhante a Mann Whitney U Test

Elementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyElementary statistics for Food Indusrty
Elementary statistics for Food Indusrty
Atcharaporn Khoomtong
 
In the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docxIn the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docx
bradburgess22840
 
In a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docxIn a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docx
bradburgess22840
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
Qasim Raza
 
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docxUsing the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
daniahendric
 

Semelhante a Mann Whitney U Test (20)

Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
elementary statistic
elementary statisticelementary statistic
elementary statistic
 
SPSS statistics - get help using SPSS
SPSS statistics - get help using SPSSSPSS statistics - get help using SPSS
SPSS statistics - get help using SPSS
 
Elementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyElementary statistics for Food Indusrty
Elementary statistics for Food Indusrty
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
 
In the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docxIn the t test for independent groups, ____.we estimate µ1 µ2.docx
In the t test for independent groups, ____.we estimate µ1 µ2.docx
 
Non-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingNon-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testing
 
MPhil clinical psy Non-parametric statistics.pptx
MPhil clinical psy Non-parametric statistics.pptxMPhil clinical psy Non-parametric statistics.pptx
MPhil clinical psy Non-parametric statistics.pptx
 
Advanced statistics Lesson 1
Advanced statistics Lesson 1Advanced statistics Lesson 1
Advanced statistics Lesson 1
 
In a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docxIn a left-tailed test comparing two means with variances unknown b.docx
In a left-tailed test comparing two means with variances unknown b.docx
 
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
 
ICTIR2016tutorial
ICTIR2016tutorialICTIR2016tutorial
ICTIR2016tutorial
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
 
DATA COLLECTION IN RESEARCH
DATA COLLECTION IN RESEARCHDATA COLLECTION IN RESEARCH
DATA COLLECTION IN RESEARCH
 
biostat__final_ppt_unit_3.pptx
biostat__final_ppt_unit_3.pptxbiostat__final_ppt_unit_3.pptx
biostat__final_ppt_unit_3.pptx
 
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docxUsing the data in the file named Ch. 11 Data Set 2, test the resea.docx
Using the data in the file named Ch. 11 Data Set 2, test the resea.docx
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 

Mais de John Barlow (14)

Haiti Earthquake Twitter Feed
Haiti Earthquake Twitter FeedHaiti Earthquake Twitter Feed
Haiti Earthquake Twitter Feed
 
Chi Square Worked Example
Chi Square Worked ExampleChi Square Worked Example
Chi Square Worked Example
 
Where Plates Meet
Where Plates MeetWhere Plates Meet
Where Plates Meet
 
Mountain Building
Mountain BuildingMountain Building
Mountain Building
 
Touching The Void
Touching The VoidTouching The Void
Touching The Void
 
High In The Andes
High In The AndesHigh In The Andes
High In The Andes
 
Easter Revision Session
Easter Revision SessionEaster Revision Session
Easter Revision Session
 
Globalisation
GlobalisationGlobalisation
Globalisation
 
Industries In LEDC's
Industries In LEDC'sIndustries In LEDC's
Industries In LEDC's
 
Industry2
Industry2Industry2
Industry2
 
Types Of Manufacturing Industry
Types Of Manufacturing IndustryTypes Of Manufacturing Industry
Types Of Manufacturing Industry
 
Footloose Industries
Footloose IndustriesFootloose Industries
Footloose Industries
 
Urbanisation
UrbanisationUrbanisation
Urbanisation
 
Globalisation Of Food Production
Globalisation Of Food ProductionGlobalisation Of Food Production
Globalisation Of Food Production
 

Último

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Último (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 

Mann Whitney U Test

  • 1. Comparing medians: the Man Whitney U-test The Mann Whitney U-test is a fairly complicated statistical test to understand, though it is quite easy to apply to a set of data. So, while the calculation is relatively easy, knowing when to apply it, and what the calculation actually means, is a little more difficult. It is also important not to be put off by the formula.
  • 2.
  • 3. Though this is a nonparametric statistical test, both samples should have a similar distribution. You can plot the data for each set on a simple graph to check this. Like many of the other statistical tests, you have to start with a null hypothesis (H o). However, unlike some of the other tests, the null hypothesis (H o) is always the same: There is no significant difference between the two samples.
  • 4. Applying the Mann Whitney U-test Comparing two traffic flows in a town centre A student was interested in finding out if a new retail development had an impact upon traffic (and therefore congestion) in the local area near to the development. There were two parts to the primary data collection. The first part was conducted before the construction of the planned development (sample x). Methodology for primary data collection She recorded the time of day and date. She counted traffic (in both directions) on 10 streets around the development selected randomly). She counted for 10 minutes. She used a stopwatch for timing and a simple tally chart for recording the data. She completed the tally at different times of the day. TIP Is it a one-tailed or a two-tailed test? This relates to the difference between the data sets. If you assume one specified data set will be larger than the other, you are investigating a one-tailed distribution. If you assume differences can operate in both directions, i.e. up or down, you are investigating a two-tailed distribution. This is important when you interpret you findings using the critical values. In this example, the student is assuming traffic can go up or down in study 2 for all sites, despite the fact that more customers are likely to be attracted to the development. In this case, this makes it a two-tailed test
  • 5. For the second study (sample y), she waited until 2 months after the development had been completed. She went to another 10 sites (selected randomly) and repeated the test. She then devised the following null hypothesis (H ₒ): ‘ There is no significant difference in traffic flows before and after the development.’ Now let’s take a look at the formula: U ₓ = Nₓ.N ᵧ + N ₓ(Nₓ + 1) 2 - Σ rₓ U ₓ is the Mann Whitney calculation for sample x n is the number in the sample Σ rₓ is the sum of ranks for sample x (‘sum of’ just means added together)
  • 6. The best way to proceed is to incorporate the findings into a table that also allows you to calculate the result. When you get two or more equal values, use the mean rank. Here are the student’s findings: Complete the table by ranking all the data from highest to lowest. Total traffic flow in 10 minutes ( ₓ ) Rank r ₓ Site Number Total traffic flow in 10 minutes ( ᵧ ) Rank r ᵧ 126 11 1 194 148 7 2 128 85 15.5 3 69 61 19 4 135 179 4 5 171 93 12.5 6 149 45 20 7 89 189 3 8 248 1 85 15.5 9 79 93 12.5 10 137
  • 7.
  • 8.