How To... Perform a Kruskal-Wallis H Test (By Hand)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ค. 2024
  • The Kruskal-Wallis H Test is a nonparametric test similar to an ANOVA test. Use it to compare three or more sets of data that could be categorical data or data that are not normally distributed. This video shows how the calculation is done manually.

ความคิดเห็น • 161

  • @hanklibman2515
    @hanklibman2515 5 ปีที่แล้ว +37

    YOUR VIDEOS HAVE SAVED MY LIFE OMG I HAVE MY STATS FINAL IN 30 MIN

    • @kathyglass2922
      @kathyglass2922 ปีที่แล้ว

      As long as there are math tests, there will be prayer in school. Praying for you!

    • @zuhaibaktharali1724
      @zuhaibaktharali1724 7 หลายเดือนก่อน

      I too had stat finals today 🗿😭

  • @ronaldstimphil7039
    @ronaldstimphil7039 4 ปีที่แล้ว +2

    Short and sweet. Concise and to -the -point. Thanks.

  • @Naqh_
    @Naqh_ 5 หลายเดือนก่อน +1

    Less than an hour, i easily understand Wilcoxon Sum, Rank test and Kruskal. Your explanations is really clear and easy to understand. Thanks for the video ✨

  • @ericawolfe1445
    @ericawolfe1445 7 ปีที่แล้ว +7

    You've taught me more than my biometry prof, thank you so much!

  • @kennethpeoples6355
    @kennethpeoples6355 5 ปีที่แล้ว +2

    Thanks so much for the step by step instructions, as they were thorough and easy to follow. Thanks so much.

  • @ScarabKing143
    @ScarabKing143 4 ปีที่แล้ว +4

    Thank you so much Sir! You're my hero. You're explanation is very comprehensive.
    Love from the Philippines!

  • @tawandagame6406
    @tawandagame6406 ปีที่แล้ว +1

    Thank you so much.I've just learned a whole lecture in just 10 minutes.Great video easy to follow and comprehend😊

  • @user-hh3oy5yg2r
    @user-hh3oy5yg2r 7 ปีที่แล้ว +11

    I love your Videos! You have saved my life for 100 times! Thank you so much! Keep going on!

  • @sarahmanuel2798
    @sarahmanuel2798 9 หลายเดือนก่อน

    I was having a hard time with this, but you, Sir, made it easy. Thank you so much!❤

  • @shiek568
    @shiek568 3 หลายเดือนก่อน

    You're an absolute legend Dr Loughlin, thank you very much!

  • @SashaFoxfort
    @SashaFoxfort 7 ปีที่แล้ว +3

    In class I did not really get it, now I really do. Thank you a lot !!!

  • @checkerbearhair
    @checkerbearhair 4 ปีที่แล้ว

    Thank you SO much for posting this.

  • @marlinagustin5946
    @marlinagustin5946 7 ปีที่แล้ว

    Thank You so much.. you're my teacher. God Bless You

  • @ayandamthiya9713
    @ayandamthiya9713 5 ปีที่แล้ว

    This was very helpful man. Thank you.

  • @linalou1199
    @linalou1199 3 ปีที่แล้ว

    English isnt even my 1. language but i couldnt have understand this more clearly. Thank you so much!!!

  • @wellwithmeri8222
    @wellwithmeri8222 3 ปีที่แล้ว

    Thanks again for your great content!

  • @joelcobblah608
    @joelcobblah608 2 ปีที่แล้ว +1

    You teach really good sir !

  • @dragoncurveenthusiast
    @dragoncurveenthusiast 6 ปีที่แล้ว

    Very useful indeed!
    Thank you!

  • @mobkimarkus1424
    @mobkimarkus1424 6 ปีที่แล้ว

    thanks alot it really helped in clarifying some aspects.

  • @sebastiandama702
    @sebastiandama702 ปีที่แล้ว

    Great explanation! Thank you! 😊

  • @ZeroParanoia
    @ZeroParanoia 4 ปีที่แล้ว +1

    Thank you so much for this video! It helped me in my class report. ♥♥

  • @tiangehou9154
    @tiangehou9154 6 ปีที่แล้ว

    Excellent!!!! Thank you so much!

  • @illas14
    @illas14 5 ปีที่แล้ว

    Thank You for helping me understand!!!!

  • @formelfabrik-mathenachhilf8327
    @formelfabrik-mathenachhilf8327 8 ปีที่แล้ว

    brilliant. thank you so much!

  • @dorcaskiliswa2359
    @dorcaskiliswa2359 3 หลายเดือนก่อน

    Very useful...thank you for making it so easy

  • @beninmushi5503
    @beninmushi5503 7 ปีที่แล้ว

    Thank you for this a great lecture............

  • @AJAYKUMAR-mc4gl
    @AJAYKUMAR-mc4gl 2 ปีที่แล้ว

    you are a legend bro op!

  • @readingtimewithpickle
    @readingtimewithpickle 3 ปีที่แล้ว

    Thank you sooo much... FINALLY, I understand!

  • @njeriarthur3657
    @njeriarthur3657 7 หลายเดือนก่อน

    This was very helpful.Thankyou

  • @gabrielsegatti8017
    @gabrielsegatti8017 6 ปีที่แล้ว

    this was great, thanks!

  • @pantsharad
    @pantsharad 6 ปีที่แล้ว

    Thanks a lot Sir, its really helps me lot.

  • @cradle2grave15
    @cradle2grave15 5 ปีที่แล้ว

    Thanks for explaining it very clearly...sir

  • @Itania333
    @Itania333 8 ปีที่แล้ว +1

    thank you, that's very helpful :)

  • @banu6705
    @banu6705 5 ปีที่แล้ว

    You are awesome ,thanks nicely explained

  • @netjavier7559
    @netjavier7559 2 ปีที่แล้ว

    Thanks sir! This helped me a lot! New subscriber here!

  • @dilanchathuranga5702
    @dilanchathuranga5702 2 ปีที่แล้ว

    Clearly understandable ❤

  • @wesselerasmus9997
    @wesselerasmus9997 7 ปีที่แล้ว

    Thank You, this helped alot :)

  • @ninaad765
    @ninaad765 22 วันที่ผ่านมา

    So helpful! Thanks!😭

  • @danicastaneda6991
    @danicastaneda6991 2 ปีที่แล้ว

    Muchas gracias, excelente explicación c:

  • @UnpluggedPerformance
    @UnpluggedPerformance 3 ปีที่แล้ว

    you are so awesome!!!!

  • @mariakara4848
    @mariakara4848 ปีที่แล้ว

    thnx alot u are an amazing teacher🌹

  • @Aroura577
    @Aroura577 6 ปีที่แล้ว

    very helpful thank u you are great .

  • @avneetkalra1178
    @avneetkalra1178 3 ปีที่แล้ว

    Thank u sir for this informative video

  • @thehechang8546
    @thehechang8546 7 หลายเดือนก่อน

    Great lecture

  • @jad3ruby_
    @jad3ruby_ 3 ปีที่แล้ว

    Thank you so much🙏🏾

  • @benyasmine583
    @benyasmine583 4 ปีที่แล้ว

    very helpful video thanks a lot :D

  • @beluga9466
    @beluga9466 9 หลายเดือนก่อน

    Thanks you save me a lot 😍💝

  • @danielhernandezcervantes9954
    @danielhernandezcervantes9954 4 ปีที่แล้ว

    Excellent

  • @amishachauhan224
    @amishachauhan224 5 ปีที่แล้ว

    Thank you so much, you saved me

  • @subhashreemohanty2032
    @subhashreemohanty2032 9 หลายเดือนก่อน

    Thank you so much

  • @zuhaibaktharali1724
    @zuhaibaktharali1724 7 หลายเดือนก่อน

    LEGENDARY 🗿🔥🔱
    You've Saved me from failing exam😭

  • @MrAmithvikram
    @MrAmithvikram 7 ปีที่แล้ว

    Thank you so much sir

  • @joudalzamel2478
    @joudalzamel2478 5 ปีที่แล้ว

    Thank you soooo much ❤

  • @TheDzikunus
    @TheDzikunus 5 ปีที่แล้ว +1

    Big thank you from Poland!:))) wish me good luck tomorrow...I have statistic exam:)

  • @diyasekar581
    @diyasekar581 4 ปีที่แล้ว

    Thank you sir

  • @cathrineloukham7050
    @cathrineloukham7050 5 ปีที่แล้ว

    excellent!

  • @_M_D_M_
    @_M_D_M_ 3 ปีที่แล้ว

    Terrific!

  • @ganeshghadge4988
    @ganeshghadge4988 8 ปีที่แล้ว

    thank you!

  • @ebrahimmookadam1539
    @ebrahimmookadam1539 4 ปีที่แล้ว +2

    BEAUTIFUL I WANT TO CRY RIGT NOW

  • @hatrelladayrit6055
    @hatrelladayrit6055 6 ปีที่แล้ว +3

    Thank you for this great lecture ! I have a question: if the null hypotheses is rejected, are you going to use SPSS to perform pairwise comparison between the samples when a significant difference is found or doesn't matter if the null hypotheses is rejected or not? thank you

  • @ogunyilmaz1996
    @ogunyilmaz1996 6 ปีที่แล้ว

    allah razı olsun (thank youuu)

  • @MemphianSounds
    @MemphianSounds 6 ปีที่แล้ว +1

    Love these videos but wonder: if the we had fewer than 6 rows and had to use the Kruskal-wallis table how would go about that?

  • @prasanthvenkat759
    @prasanthvenkat759 5 ปีที่แล้ว

    Thank you

  • @hamnafarah7039
    @hamnafarah7039 7 หลายเดือนก่อน

    Ah I have finals today and this helps me alot

  • @aboodelawi9567
    @aboodelawi9567 5 ปีที่แล้ว

    Thanks 😍

  • @thalytasilva1062
    @thalytasilva1062 4 ปีที่แล้ว

    thank you sooooooo muchhhh

  • @ashrafmohamedalimohamed7634
    @ashrafmohamedalimohamed7634 7 ปีที่แล้ว

    thanks teacher i was wondering if their definition to use this test not a nova with contrast

  • @ranjankumar8728
    @ranjankumar8728 4 ปีที่แล้ว

    All I have to say you sir is 🙏🙏🙏🙏🙏🙏

  • @ST-111
    @ST-111 7 ปีที่แล้ว

    you saved my life bruh

  • @vismayadinesh745
    @vismayadinesh745 6 ปีที่แล้ว

    Thank u sir for this lecture.....and I have a doubt in probabilities questions like Additional Theorem on Total probability and Multiplication Theorem on probability. From question it's self how can we find the question is from this 2 heading...

  • @hassainkhan4639
    @hassainkhan4639 8 ปีที่แล้ว

    thank u

  • @Ritsushima_
    @Ritsushima_ 5 ปีที่แล้ว

    If nos. 4 and 5 have the same value and you will find the average of the mean the ranking has a decimal like 5.5, will you still put '5.5' in the table? or will you just round it off ?

  • @Cut3Sku11
    @Cut3Sku11 5 ปีที่แล้ว

    thanks

  • @brianthomasmatthews3986
    @brianthomasmatthews3986 2 ปีที่แล้ว

    How could you tell if you will have to perform an ANOVA ( Parametric) vs Kurstal Wallis ( Non-parametric)? Please provide some example questions. Thank you.

  • @mgangakulanga2733
    @mgangakulanga2733 7 ปีที่แล้ว

    what if there are ties in our data ,can we still use the same formula as that used there when we want to compare means of more than three groups by nonparametric test??

  • @gul-e-lala213
    @gul-e-lala213 5 ปีที่แล้ว

    Can we say that when we have observations in points like 2.3, 5.8 etc we will use KW TEST, and when we have whole no we will use ANOVA?

  • @brendawhite6309
    @brendawhite6309 7 ปีที่แล้ว

    genial!!!!!

  • @shamsajabbar6322
    @shamsajabbar6322 6 ปีที่แล้ว

    Great

  • @calvinmudzingiri4824
    @calvinmudzingiri4824 6 ปีที่แล้ว

    Technology breaking geographic barriers

  • @ibragim_on
    @ibragim_on ปีที่แล้ว

    Cool🎉❤

  • @drallisimo34
    @drallisimo34 6 ปีที่แล้ว

    cool!!!

  • @kalumalu5367
    @kalumalu5367 6 ปีที่แล้ว +4

    The content is superb. Would you please tell me how can i retrieve P value from H value of kruskal-wallis test? Is there any chart like chi square to obtain P value for H value? Please let me know. Thanks

    • @Sarah-bo7xs
      @Sarah-bo7xs 5 ปีที่แล้ว +1

      He said it follows a chi square distribution, so that is the chart you use

  • @hilalchaudhry5141
    @hilalchaudhry5141 7 ปีที่แล้ว +1

    Thank you, illustrated very simply and effectively. I am a student of biology and have very little understanding of statistics, i have a question, on what basis we select p-value, i mean when to use 0.05 and when 0.01? this may be a silly question for someone but i am a beginner so asking

    • @EugeneOLoughlin
      @EugeneOLoughlin  7 ปีที่แล้ว +5

      Hi Hilal,
      The significance level is decided by you the researcher, depending on what level of risk of making a Type I error you are prepared to take. 95% (p value of 0.05 or less) is generally accepted in statistical tests as an appropriate level in most cases. However, a 99% significance level (a much harder test) would be more appropriate for research in areas such as medicine, drug trials, or where accuracy is vital.
      Dr E.

  • @dodgelet
    @dodgelet 4 ปีที่แล้ว

    Is this the suitable test to use if group sizes are different?

  • @bahodireshchanov6715
    @bahodireshchanov6715 8 ปีที่แล้ว

    Thank you very much. You are an excellent teacher. Is there any video after statistically significan to find with one is significant?

    • @bahodireshchanov6715
      @bahodireshchanov6715 8 ปีที่แล้ว +1

      I have 6 treatments with equal sample size. Does this method work for it. My data did not meet ANOVA assumptions. None normal distribution. Is it okey to use this method?

    • @EugeneOLoughlin
      @EugeneOLoughlin  8 ปีที่แล้ว +2

      Yes - it is OK to use 6 samples.

  • @manojitbhowmick6550
    @manojitbhowmick6550 7 ปีที่แล้ว

    Sir I have one question, if in place of sample, mark of any subject is given. In that case also I will take rank one to that score which is least among all the marks.

  • @ukaszmatusiak7005
    @ukaszmatusiak7005 4 ปีที่แล้ว

    Thank you! I have only one question, is it acceptable to use this formula, as we deal with 3 ties here?
    Or the number of the ties is so small that the difference between this simplified model and corrected one is irrelevant?

    • @woodchuk1
      @woodchuk1 2 ปีที่แล้ว

      With only 1 three way tie involved in an 18 item data set, the correction factor is only 1 - (3^3 -3)/(18^3 - 18), or 0.9969. This means that the factor by which we need to increase the test statistic is 1/0.9969, or 1.0031. Since the uncorrected test statistic value of 1.82 will not exceed the critical value of 5.991 even when multiplied by 1.0031, our conclusion will not change. Most of the time, this will be the case unless the number of ties are quite extensive.

  • @alexdolan3348
    @alexdolan3348 7 ปีที่แล้ว +1

    Hi Eugene, I have found your video very useful. However my lecturer states that the H formula used is for when no ties are present. Is this correct or will it not make a significant difference? Thanks

    • @woodchuk1
      @woodchuk1 7 ปีที่แล้ว

      Alex Dolan Most of the time, the correction for ties will not make a statistical difference, unless there are quite a number of them. The correction always increases the value of the test statistic, so correction is not needed if the test statistic is greater than the critical value to start with.
      In case you were wondering how to do it, you'd find the number of ties in the data and assign each of them a weight. Generally, an N-way tie has a weight of N^3 - N. So a 3-way tie has a weight of 3^3 - 3, or 24. You'd add all the weights for each case of ties and divide that by N^3 - N, where N here represents the total number of data points across all groups. Subtract this fractional result from 1 to get the correction factor, and divide H by this correction factor to get the result you should use. Since you're dividing H by something that's always less than 1, H is always larger after the correction.

  • @tarunbirgambhir3627
    @tarunbirgambhir3627 5 ปีที่แล้ว

    Isn’t the H statistic formula in the video, is for when there are no ties in the rankings?

  • @cookiegirl9100
    @cookiegirl9100 4 ปีที่แล้ว

    can the ranks for repeated values contain a decimal? or do I round it?
    Ex. (30 + 31 + 32)/3 = 30.3

    • @kouprianov
      @kouprianov 2 ปีที่แล้ว

      Even though (30 + 31 + 32)/3 = 31 you should not round mean ranks for ties. E.g. for 30th and 31st tied values the mean rank would be (30 + 31)/2 = 30.5

  • @huanghouWuZetian
    @huanghouWuZetian 7 ปีที่แล้ว

    I have three samples, each one of different size. Is it possible and how to perform a Kruskal-Wallis test in this case ?
    Thank you in advance

  • @shannonstubbs1377
    @shannonstubbs1377 7 ปีที่แล้ว

    Totally thought I understood this but I can't get 1.8 on my calculator no matter how I put it in! Keep getting 1.2 or something totally different!

  • @user-wh4ke3rd5u
    @user-wh4ke3rd5u 3 ปีที่แล้ว

    Why some videos are private? are they important?

  • @kendrickleyson
    @kendrickleyson 5 ปีที่แล้ว +1

    Ahm Sir, should we use a correction factor since there is a tie between the values of the data?

    • @woodchuk1
      @woodchuk1 5 ปีที่แล้ว

      Kendrick Leyson You can, certainly, but most of the time it won’t make a difference in the conclusion, unless you have quite an extensive number of ties. Did you want to know the procedure for adjusting for ties?

    • @kendrickleyson
      @kendrickleyson 5 ปีที่แล้ว

      @@woodchuk1 Thank you Maam/Sir, that would be really great! 🤩

    • @woodchuk1
      @woodchuk1 5 ปีที่แล้ว

      Kendrick Leyson Okay, here it is. First, you’d find out how many of each kind of tie (2-way tie, 3-way tie, etc) there are in the entire data set. Next, you need to figure out the weight for each kind of tie. In general, an n-way tie has a weight of (n^3-n), so a 2 way tie has a weight of 6, and a 3-way tie has a weight of 24, and so on. You add up all the weights for each case of ties and divide this total by (x^3-x), where x is the total number of data points across all groups. Subtract this fraction from 1 to get your correction factor. Divide your calculated H by the correction factor to get the true H value you should use. Note that since the correction factor is always less than 1, the corrected H will always be larger after adjusting for ties.

  • @huyoi6552
    @huyoi6552 7 ปีที่แล้ว +1

    Thank you for this great lecture ! I have a question: As we know that the Kruskal-Wallis test is a nonparametric test, and is used when the assumptions of one-way ANOVA are not met. In 1-way ANOVA, if there are significant difference between 3,4,... groups, we will need to do the tukey test to determine which mean pairs are differ or not. How about the Kruskal Wallis test ? Do I need to do the Tukey test when there are significant difference between ........groups or not ?

    • @EugeneOLoughlin
      @EugeneOLoughlin  7 ปีที่แล้ว

      Hi Becks Huy,
      I use SPSS to perform a pairwise comparison between the samples when a significant difference is found. See ibm.co/2oKHmQi. It is not a Tukey Test.
      Thanks for your kind comments!
      Dr E.

    • @huyoi6552
      @huyoi6552 7 ปีที่แล้ว

      Thank you for your kind answer ! I have another question related to the formula of Kruskal Wallis Test. I read in the Fundamentals of Biostatistics and compared to the formula test statistics in your great lecture, I found that the formula test statistics in your lecture was applied when there were no ties observations. How about the formula test statistics when there are ties observations ? Thank you in advance

    • @woodchuk1
      @woodchuk1 7 ปีที่แล้ว

      Becks Huy Here's how to correct the H value for ties in the KW test. First find out what kind of ties are involved in the entire data set (2-way ties, 3-way ties, etc.), as well as how many of each kind there are. Next, calculate the weight for each type of tie. An n-way tie has a weight of (n^3-n), so a 2-way tie has a weight of (2^3-2), or 6. A 3-way tie would have a weight of 3^3-3, or 24, and so on. Add up all the weights for all the tied cases and divide this by N^3-N, where N is the total number of data points across all groups. Subtract this fraction from 1 to get the correction factor, then divide the calculated H by the correction factor to obtain the corrected result. It will always increase after the correction, so if the result is significant before adjusting for ties, strictly speaking the adjustment is not necessary, since it makes no difference in the conclusion.

    • @getwiser7136
      @getwiser7136 6 ปีที่แล้ว

      Hi Pham, I am answering very late, but may be it helps you. There are ties in the example solved by @Eugene O'Loughlin. You see score 9.1 appeared thrice.

  • @marcitustangens9251
    @marcitustangens9251 7 ปีที่แล้ว +3

    Why 12 in the first fraction? How do you know its 12, is it always that number?

    • @franciscomelojunior2535
      @franciscomelojunior2535 7 ปีที่แล้ว

      that is my question too!

    • @franciscomelojunior2535
      @franciscomelojunior2535 7 ปีที่แล้ว

      tks, I took sometime to go in the formula today and it is applied when the data contain no ties the denominator of the expression.

    • @antonia.s92
      @antonia.s92 6 ปีที่แล้ว +1

      12 is apart of the formula

  • @darylmaeclavo6567
    @darylmaeclavo6567 ปีที่แล้ว

    Can i ask for help?

  • @jopscuevas6594
    @jopscuevas6594 ปีที่แล้ว

    what is the example that you show in the test? Is that a survey margin of error or what?

    • @EugeneOLoughlin
      @EugeneOLoughlin  ปีที่แล้ว +1

      Hi Jops,
      The data are fictitious and made up by me for demonstration purposes. The sample sizes are small, and normality is in doubt - hence the use of the Kruskal-Wallis Test.
      Hope this helps,
      Dr E.

  • @bengrief4191
    @bengrief4191 7 ปีที่แล้ว

    can you do a run through of the calculation step by step, no matter what i do i can't get 1.8

    • @woodchuk1
      @woodchuk1 7 ปีที่แล้ว +1

      Ben Grief 43^2/6 = 308.167
      61^2/6 = 620.167
      67^2/6 = 748.167
      308.167+620.167+748.167 = 1676.501
      (1676.501*12) = 20118.012
      (20118.012)/(18*19) = 58.824596
      58.824596 - (3)(19) = 1.825

  • @thisiswhoiam7249
    @thisiswhoiam7249 6 ปีที่แล้ว

    Sir if you don't mind, I have a little question about the formula of your H. Is it small "n" or big "N"?

    • @thisiswhoiam7249
      @thisiswhoiam7249 6 ปีที่แล้ว

      I think "n" is different from "N". "N" is the total number of observations or the sample rather while "n" is just a part of it.