Kruskal-Wallis-Test (Simply explained)

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 130

  • @datatab
    @datatab  Рік тому +8

    If you like, please find our e-Book here: datatab.net/statistics-book 😎

  • @notnominal7013
    @notnominal7013 11 місяців тому +4

    This is the best explanation I have found for this test yet, thank you so much! The only thing I would add in an updated version is the solving of a full question from start to finish (as a university student, questions usually indicate that normality is not guaranteed, and leave the rest to you. It would be nice to see the process of completing this test in questions with a specific provided scenario.)

    • @datatab
      @datatab  11 місяців тому +1

      Hi many thanks for your feedback! That is a great point! I will have a look at it. Regards Hannah

  • @shawnaoflaherty6592
    @shawnaoflaherty6592 Рік тому +3

    This was so clear, thank you! I've been struggling to understand this concept for a while now.

  • @deepap1307
    @deepap1307 7 місяців тому +1

    Best statistical tutorials for those who want to study it. Thank you very much for your help.

  • @jacobobesser
    @jacobobesser 3 місяці тому +2

    I feel like what I struggle with the most in my career, is developing the familiarity I need to confidently pick the most appropriate statistical test. You have to develop some level of intimate familiarity with each test to know when it is appropriate and when it is not and that actually takes a lot of time to get decent at.

  • @jumanahsaleh4412
    @jumanahsaleh4412 10 місяців тому +1

    I was struggling to understand this test
    Thank you so much for this simple and easy video !

    • @datatab
      @datatab  10 місяців тому

      Glad it helped!

  • @jamesdellaneve9005
    @jamesdellaneve9005 10 місяців тому +1

    This is an excellent, clear and concise explanation

    • @datatab
      @datatab  10 місяців тому

      Glad it was helpful and many thanks for your feedback! Regards Hannah

  • @rescatando_la_sabiduria
    @rescatando_la_sabiduria 2 роки тому +6

    You explain the information so well. Thank you!

  • @risaanggraeni6312
    @risaanggraeni6312 Рік тому +6

    Thank you so much. I'm not fluent in English, but I can understand your explanation really well. It's very helpful. I have a question, how to do Kruskal-Wallis Test on sample data of plant leaf growth that were observed at 1-week intervals. Is the Kruskal-Wallis Test conducted for each observation (such as the first observation, second observation, etc.) or is it conducted only once with the data made one from all observations from the first to the end?

  • @david_r
    @david_r 2 роки тому +4

    Wonderful presentation, thank you for simplifying the explanation!

    • @datatab
      @datatab  2 роки тому +3

      Glad it was helpful!

  • @kristinomalley4519
    @kristinomalley4519 Рік тому +1

    This was such an easy to follow example. Thank you so very much!!

    • @datatab
      @datatab  Рік тому

      Glad it was helpful!

  • @zafarnasim9267
    @zafarnasim9267 2 роки тому +1

    Very nice comprehensive explanation

    • @datatab
      @datatab  2 роки тому

      Glad you liked it and many thanks for the nice feedback! Regards Hannah

  • @toptier8647
    @toptier8647 2 роки тому +1

    Thanks for your time and teaching Madam

    • @datatab
      @datatab  2 роки тому

      It's my pleasure

  • @darkredrose7683
    @darkredrose7683 2 місяці тому

    Would it make sense to do a kruskal-wallis significance test for scaled indices that have been scaled 0-1 with min-max? Thank you ❤
    (for microbiome data, comparing 3 groups)

  • @JamesSmith-xp6ni
    @JamesSmith-xp6ni 10 місяців тому +1

    Thanks for the informative video!
    Can the Kruskal-Wallis test be used instead of a 2-way ANOVA when assumptions have been violated? If not, which test would you recommend?
    Best James

    • @datatab
      @datatab  10 місяців тому

      The Kruskal-Wallis test is more closely aligned with a one-way ANOVA, as it's used to compare three or more independent groups on a single, continuous dependent variable. If you're dealing with a situation that would normally require a two-way ANOVA (involving two independent variables), the Kruskal-Wallis test wouldn't be the direct equivalent because it doesn't accommodate the analysis of interaction effects between two independent variables. Unfortunately there is no non-parametric counterpart, at least not that I know of! Regards Hannah

  • @ConnoisseurOfExistence
    @ConnoisseurOfExistence 9 місяців тому +1

    Helpful, thanks! So it's like the Mann-Whitney test, but for more than 2 groups.

    • @datatab
      @datatab  9 місяців тому

      Glad it was helpful! Yes exactly! Regards Hannah

  • @sib7024
    @sib7024 9 місяців тому +2

    Can we also use paired ANOVA ?? Because I am working on Spss and after inserting data I checked normality test and it says that it's parametric

    • @datatab
      @datatab  9 місяців тому +1

      A repeated Mesures ANOVA is the parametric copunterpart to the Kruskal Wallis Test. So if all assumptions are meet you can use the rm ANOVA. Regards Hannah

  • @wisnuops
    @wisnuops 2 роки тому +1

    I am curious about why chi-squared can be used at the end. When reading about chi-squared, it says it is only suitable for a large sample size (about N>50). But Kruskal-Wallis-Test can be used even with a much smaller sample size. My guess is chi-squared is just an approximation of the actual distribution (H distribution?), but I am not very sure.

  • @madhavkumarudayasankarmyth4346

    Nice presentation. The tutorial is a great help.

  • @syasyashamsuri233
    @syasyashamsuri233 2 роки тому +1

    may i ask, if the data are not normally distributed, is it the null hypothesis should be rejected?

    • @datatab
      @datatab  2 роки тому +1

      Hello, I think I do not quite understand the question unfortunately! The normal distribution has nothing to do with the null hypothesis. Regards Hannah

  • @datatab
    @datatab  2 роки тому

    Calculate the example directly with DATAtab for free, just click on the link:
    datatab.net/statistics-calculator/hypothesis-test/kruskal-wallis-test-calculator?example=kruskal_wallis_test_reaction_time

  • @pradiphui7983
    @pradiphui7983 2 роки тому +1

    Very well explained. Thankyou Mam

    • @datatab
      @datatab  2 роки тому

      Most welcome 😊

  • @annisaseminar7214
    @annisaseminar7214 Рік тому

    Hello! Thank you for your video. You said that the expected value equation is when there is no difference in the group? Do you mean the same number of samples in each group? What if there is different number of samples in each group? Thank you

  • @isagani9048
    @isagani9048 3 місяці тому

    For H value, is the denominator a constant 12 or a variable n?

  • @yannickklein7981
    @yannickklein7981 3 роки тому +1

    Gutes Video :) Es gibt einen Versprecher bei 2:15 min (Ranksum 42 gesagt statt 54). Danke für Euren Content!

    • @datatab
      @datatab  3 роки тому

      Oh danke für dein Feedback!!!! LG Hannah & Mathias

  • @BabraKayango
    @BabraKayango Рік тому +1

    Thank you so much. I have understood😊

    • @datatab
      @datatab  Рік тому

      You're welcome 😊

  • @lianneshaneamoguis5090
    @lianneshaneamoguis5090 2 роки тому +1

    Hello, may i ask if there would be other tests to use if the null is rejected?

    • @datatab
      @datatab  2 роки тому

      Hello many thanks for your question! Ff the requirements for the test are met and it is suitable it should be used. Just because the p value does not come out as you want it, you should not simply change the test, that is not scientifically clean! Regards Hannah

    • @lianneshaneamoguis5090
      @lianneshaneamoguis5090 2 роки тому +1

      @@datatab oh sorry, I think my sentence construction is incorrect. What I was actually meaning to say was would there be other tests that can be used to find which among the variables is/are the odd one out (if null is rejected)

  • @sadrgbzdhxjyugfcsh
    @sadrgbzdhxjyugfcsh 2 роки тому +2

    Can this test be used to determine normal distribution?

    • @datatab
      @datatab  2 роки тому +1

      hmm I don't think so!

  • @dennisjecool
    @dennisjecool 3 місяці тому

    Thank you! Really helped me

  • @tarkwensejudy8333
    @tarkwensejudy8333 2 роки тому +2

    Thank you so much! This tutorial helps me greatly!

    • @datatab
      @datatab  2 роки тому

      Glad it helped!

  • @Tomasloy
    @Tomasloy 2 роки тому +2

    Thank you so much for the video! I'm currently running this test with ordinal categories (salary range) and number of right answers on a test (discrete variable), is this appropriate?

    • @datatab
      @datatab  2 роки тому +1

      Many thanks! Yes this sound correct! Regards Hannah

  • @MalaMala-os2no
    @MalaMala-os2no 2 роки тому +4

    Hi! at 6:59, for rank variance, is the 12 in the denominator due to the number of cases you have, or will 12 always be used? Great video btw

    • @datatab
      @datatab  2 роки тому

      Hi, 12 will always be there! Regards, Hannah

  • @aliaabelal9742
    @aliaabelal9742 Місяць тому

    Best explanation

  • @1805pooja
    @1805pooja 2 роки тому +1

    Which test should I use when I have an independent variable with 2 levels and dependent variable with 3 levels?

    • @datatab
      @datatab  2 роки тому

      Maybe Chi2-Test? datatab.net/tutorial/chi-square-test

  • @thomaswright7841
    @thomaswright7841 2 роки тому +2

    Fantastic video, great work!

    • @datatab
      @datatab  2 роки тому

      Many thanks for the nice Feedback! Regards Hannah

  • @lydiay566
    @lydiay566 2 роки тому +1

    This saved my life

  • @ahmedswidan1358
    @ahmedswidan1358 2 роки тому +1

    Thanks for your wonderful explanation

    • @datatab
      @datatab  2 роки тому +1

      Many thanks! Regards Hannah

  • @shreedevihalawar2112
    @shreedevihalawar2112 Рік тому

    Thank you for clear explanation

  • @Caroline-vy1co
    @Caroline-vy1co 2 роки тому +2

    Thank you so much! It was very helpful!

    • @datatab
      @datatab  2 роки тому

      You're very welcome! Many thanks for your nice Feedback! Regards Hannah

  • @meeraanil382
    @meeraanil382 2 роки тому +1

    Thank you so much ma'am ❤

  • @sarkar_ma
    @sarkar_ma 2 роки тому +2

    Won't the null-hypothesis be rejected in this case? I think you said it will be retained or in other words, not rejected. The critical value is shown to be 5.901 while the H-value comes out to be 0.5; doesn't that mean that the chance of our observation as a result is less than 5% had the null-hypothesis been true, and hence it should be rejected?
    Thank you in advance.

    • @joe8829
      @joe8829 2 роки тому

      No. That H-stat corresponds to the Chi^2 stat. We are reading from a table of critical values and finding that our H stat would have to exceed 5.901 to yield a p-value below our alpha threshold of .05

  • @rakthestudentactuary5077
    @rakthestudentactuary5077 2 роки тому +1

    Does this H formula still hold even if there are ties in ranks?

    • @datatab
      @datatab  2 роки тому

      When you have tied ranks the calculation is a little different! Regards Hannah

    • @rakthestudentactuary5077
      @rakthestudentactuary5077 2 роки тому

      @@datatab Different how?🙂
      How were we going to approach it if there were ties?

    • @datatab
      @datatab  2 роки тому

      @@rakthestudentactuary5077 Unfortunately I haven't prepared anything for that yet, maybe it will come soon! I can't answer it here in the comments, just google it : )

    • @woodchuk1
      @woodchuk1 2 роки тому

      Count how many of each type of tie there are (2-way tie, 3-way tie, etc.) and assign each tie a weight. An “n-way” tie for the purposes of the correction has weight n^3-n. Add up all the weights and divide by x^3 - x, where x is the total number of data points. Subtract this fraction from 1 to get the correction factor, then divide the calculated test statistic by the correction factor.
      For example, say we have 25 data points in all that have between them 3 2-way ties and 2 4-way ties in the ranks. A 2-way tie has a weight of 2^3 - 2, or 6, and we have 3 of them, so that adds up to 3*6, or 18. The 4-way ties each have a weight of 4^3 - 4, or 60, and there are 2, so that makes 2*60, or 120. The sum is 18 + 120, or 138. So, divide 138 by (25^3 - 25) to get (138/15600) and subtract this from 1 to get (15462/15600). Divide your calculated test statistic by (15462/15600) to get the corrected value.

  • @wenkanglee9596
    @wenkanglee9596 2 роки тому

    Hi, I noticed that your equation is different from the the one I found online( with 3(N+1)), why is that so?

  • @Pilotamericano
    @Pilotamericano 2 роки тому +1

    beautifully explained! thanks

    • @datatab
      @datatab  2 роки тому

      Glad it was helpful!

  • @GreyHatGenX
    @GreyHatGenX 3 роки тому +1

    What is the non-parametric test for 2 way and higher factorial anova?

    • @datatab
      @datatab  3 роки тому

      Oh sorry, I can't tell you off the top of my head either! Maybe you use a generalized regression model with ranks and there is no separate name for the method, but I do not know exactly!

    • @woodchuk1
      @woodchuk1 3 роки тому +1

      I don’t know about whether there even exists a non parametric alternative for 3-way ANOVA or higher, but for 2-way balanced factorial ANOVA, it’s called the Schierer Ray Hare test.

    • @datatab
      @datatab  3 роки тому

      @@woodchuk1 Great! Many thanks!!!! Regards, Hannah

  • @rajalakshmipunampalam4578
    @rajalakshmipunampalam4578 2 роки тому +1

    Awesome ! Very helpful. Thank you!!

    • @datatab
      @datatab  2 роки тому

      Glad it was helpful!

  • @Serialgamerlk
    @Serialgamerlk 2 роки тому +1

    Can run this test for measure relationship in continous and catergarical variable

    • @datatab
      @datatab  2 роки тому

      In this case you will use the Friedman Test: The Friedman test analyzes whether there are statistically significant differences between three or more dependent samples. Here is my Video for the Friedman Test ua-cam.com/video/2moNzzkkZwU/v-deo.html

  • @kindhx1639
    @kindhx1639 2 роки тому

    hello! if i have 13 variables and i want to know how to check which one is significant and which one is not?

  • @aishwaryan5905
    @aishwaryan5905 2 роки тому

    Which test can i use if my groups are not mutually exclusive?

  • @johnny1737
    @johnny1737 3 роки тому +1

    Thank you very much for online lesson

    • @datatab
      @datatab  3 роки тому

      Thanks for your Feedback! Regards Hannah

  • @learn5081
    @learn5081 Рік тому

    can we use the same method when we have tie ranks? If so, how do we rank the ties?

  • @mehdihjamadi3225
    @mehdihjamadi3225 2 роки тому +1

    thanks for the great video. how can I do kruskal -wallis for the 60 column and 40 raw?

    • @datatab
      @datatab  2 роки тому

      With datatab : ) datatab.net/statistics-calculator/hypothesis-test/kruskal-wallis-test-calculator

    • @mehdihjamadi3225
      @mehdihjamadi3225 2 роки тому

      @@datatab Thanks
      Is it free? I could not get result, I think it is not free software. right?

  • @Manny123-y3j
    @Manny123-y3j 4 місяці тому

    Good video. One small bit of feedback: it's "Kai" squared, not "chee" squared. The funky X is pronounced "Kai." Otherwise, great video. Thanks!

  • @428中野
    @428中野 3 роки тому +1

    What are the indicators of if null hypothesis is not rejected

    • @datatab
      @datatab  3 роки тому +1

      Hi, thanks for your question, what do you mean by indicators?

    • @428中野
      @428中野 3 роки тому +1

      The question been answered around last part thanks datatab for replying!

    • @datatab
      @datatab  3 роки тому +1

      @@428中野 Greate! Regards Hannah

  • @profrands4067
    @profrands4067 2 роки тому +1

    Thank you

    • @datatab
      @datatab  2 роки тому +1

      You're welcome

  • @hrr-k1z
    @hrr-k1z 2 роки тому +1

    Thanks very helpful

    • @datatab
      @datatab  2 роки тому

      Thanks for your nice feedback! : )

  • @DramaNetSeries-b4d
    @DramaNetSeries-b4d 2 роки тому

    Madam, Kruskal Wallis is non parametric test compared to ANoVa. Once there is group difference later we go for post hoc to observe which group is different from others. For kruskal Wallis, in data tab, is there feature available for post hoc ? Thanks for your time 🤲🤲🌹🙏

  • @alifhazmi7341
    @alifhazmi7341 2 роки тому +1

    What is the P-value?

    • @datatab
      @datatab  2 роки тому

      Please watch my video about the p-Value: ua-cam.com/video/CL9MsExcKfU/v-deo.html

    • @alifhazmi7341
      @alifhazmi7341 2 роки тому

      @@datatab Can you explain the expected value with more detail? I do not get it what is the explanation in this video.

  • @hawarm.mohammad1569
    @hawarm.mohammad1569 2 роки тому +1

    Thank you.

    • @datatab
      @datatab  2 роки тому

      You're welcome!

  • @ivarravi1000
    @ivarravi1000 2 роки тому +1

    you are too good

  • @larissacury7714
    @larissacury7714 2 роки тому +2

    THANK YOU! I should use this test for an Ordinal (1-5 from a Likert scale) Depend Variable, with Independet nominal variables with more than 2 levels, right?

    • @datatab
      @datatab  2 роки тому +2

      Yes exactly! It may also be that the Likert scale can be assumed to be metric and normally distributed, then you could even take an ANOVA!

    • @larissacury7714
      @larissacury7714 2 роки тому

      @@datatab thank you! But what if the Levene() test comes out not and there's no homogeinity?

  • @mvulaaaron7504
    @mvulaaaron7504 2 роки тому +1

    Job well done

    • @datatab
      @datatab  2 роки тому

      Many thanks! Regards Hannah

  • @appusuriya6895
    @appusuriya6895 3 роки тому +1

    superb, please give the video for "BOX PLOTS" in english.

    • @datatab
      @datatab  3 роки тому

      Thanks for the Feedback, the english version will be there next week!

  • @sudeebt1562
    @sudeebt1562 2 роки тому

    Refered book?

  • @mehdihjamadi3225
    @mehdihjamadi3225 2 роки тому +3

    It is not chi squar
    It is called kai square

    • @datatab
      @datatab  2 роки тому +1

      Many thanks for your Feedabck! In the latest videos we have paid attention to it! Regards Hannah

  • @imanjanani2657
    @imanjanani2657 3 роки тому +1

    perfect job!

    • @datatab
      @datatab  3 роки тому

      Many thanks! Regards Hannah

  • @taitai645
    @taitai645 2 роки тому

    Crystal clear

  • @sandaminiyatapana9630
    @sandaminiyatapana9630 2 роки тому +1

    🖤

  • @MaoTseFunkadelic
    @MaoTseFunkadelic 2 роки тому

    Useful video.
    I will always be a little uncomfortable hearing a German (edit: accent) discussing methodologies of dividing people into groups.

  • @fredrickelvis7883
    @fredrickelvis7883 Рік тому

    "chi" is pronounced wrong the whole time I have to quit the video...