1 / 20

Mann Whitney U For comparison data

Mann Whitney U For comparison data. Using Mann Whitney U. Non-parametric i.e. no assumptions are made about data fitting a normal distribution Is used to compare the medians of two sets of data It measures the overlap between the two data sets

gali
Download Presentation

Mann Whitney U For comparison data

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. Mann Whitney U For comparison data

  2. Using Mann Whitney U Non-parametric i.e. no assumptions are made about data fitting a normal distribution Is used to compare the medians of two sets of data It measures the overlap between the two data sets You must have between 6 and 20 replicates of data The data sets can have unequal numbers of replicates

  3. Example of normally distributed data

  4. When to use Mann-Whitney U-test Compares overlap between two data sets Curve not normally distributed ie. non parametric

  5. The Equation

  6. The Equation

  7. Method 1. Establish the Null Hypothesis H0 (this is always the negative form. i.e. there is no significant correlation between the variables) and the alternative hypothesis (H1). H0 - There is no significant difference between the variable at Site 1 and Site 2 H1 - There is a significant difference between the variable at Site 1 and Site 2

  8. 2. Copy your data into the table below as variable x and variable y and label the data sets

  9. 3. Treat both sets of data as one data set and rank them in increasing order (the lowest data value gets the lowest rank) Start from the lowest and put the numbers in order: 16, 17, 18, 19, 20, 20, 21, 21, 22, 23, 23, 24, 25

  10. The lowest data value gets a rank of 1 When you have data values of the same value, they must have the same rank. Take the ranks you would normally assign (5 and 6) and add them together (11) and divide the ranks between the data values(5.5) The same thing is done for all data values that are the same

  11. The lowest data value gets a rank of 1 When you have data values of the same value, they must have the same rank. Take the ranks you would normally assign (5 and 6) and add them together (11) and divide the ranks between the data values(5.5) The assigned ranks can then be put into the table

  12. 4. Sum the ranks for each set of data ( R)  R1 = 10.5 + 7.5 + 10.5 + 5.5 + 12 + 13 + 9 = 68  R2 = 1 + 3 + 4 + 2 + 5.5 + 7.5 = 23

  13. 5. Calculate the number of samples in each data set (n) Count the number of samples in each of the data sets n1 = 7 n2 = 6

  14. 6. Calculate the Values for U1 and U2 using the equations It is a good idea to break the equations down into three bite size chunks that will then give you a very easy three figure sum

  15. 6. Calculate the Values for U1 and U2 using the equations (7x6) +3(6+1) -23 (7x6) +3(7) -23 U1 = 42 +21 -23 = 40 (7x6) +3.5(7+1) -68 (7x6) +3.5(8) -68 U2 = 42 +28 -68 = 2

  16. 6. Compare the smallest U value against the table of critical values The smallest U value is U2 = 2 If the U value is less than (or equal to) the critical value then there is a significant difference between the data sets and the null hypothesis can be rejected

  17. (at the 0.05 or 95% confidence level i.e. we are 95% confident our data was not due to chance) Critical Values for the Mann Whitney U test We us the values of n1 and n2 to find our critical value

  18. Is there a significant difference? Smaller Is 2 (our smallest U value) smaller or larger than 6 (our critical value from the Mann Whitney Table)? If the U value is less than (or equal to) the critical value then there is a significant difference between the data sets and the null hypothesis can be rejected The smallest U value is less than the critical value; therefore the null hypothesis is rejected The alternative Hypothesis can be accepted – There is a significant difference between the tree heights of Beech Hill and Rushey Plain

  19. Use the following data to calculate U values independently Abundance of Gammarus pulex in pools and riffles of an Exmoor stream

  20. Key questions Is there a significant relationship? Which data value/s would you consider to be anomalous and why? What graph would you use to present this data?

More Related