Chi-Square Test [Simply explained]

Поделиться
HTML-код
  • Опубликовано: 30 янв 2022
  • The chi-square test is a hypothesis test used for categorical variables with nominal or ordinal measurement scale. The chi-square test checks whether the frequencies occurring in the sample differ significantly from the frequencies one would expect. Thus, the observed frequencies are compared with the expected frequencies in the Chi2-Test and their deviations are examined.
    Chi-Square test calculator:
    datatab.net/statistics-calcul...
    More Information about the Chi-Square test:
    datatab.net/tutorial/chi-squa...
    Chi-squared distribution:
    datatab.net/tutorial/chi-squa...

Комментарии • 179

  • @datatab
    @datatab  Год назад +5

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

  • @akackon
    @akackon Год назад +120

    For those wondering how to get the expected frequencies:
    For each cell
    ((Sum of row)*(Sum of columns))/Total number of observations

    • @datatab
      @datatab  Год назад +8

      Many many thanks!!!

    • @reyanshnambiar1524
      @reyanshnambiar1524 Год назад +2

      hi, thanks for the formula, May i kno the total number of observations is for the entire table or count of rows and column used in this section alone.

    • @akackon
      @akackon Год назад

      @reyanshnambiar1524 not so sure if I understand the question well but total number of observations should be sum of column totals or sum of row totals

    • @nikhilkenvetil1594
      @nikhilkenvetil1594 Год назад +21

      Example: Consider the "Observed Frequency" table at 7:00. For "Female without graduation", you calculate the Expected frequency like this: ((6+7) * 43)/(43+49). Similarly, for "Male without graduation", Expected frequency would be ((6+7) * 49)/(43+49) and so on or and so forth.
      Just adding to what @akackon said.

    • @frankl1
      @frankl1 Год назад

      The null hypothesis is that there is no relationship between those two variables, so there should be as many females as males for each educational level. So why do we have those differences in the expected frequencies?

  • @zohrehschuessler394
    @zohrehschuessler394 11 месяцев назад +2

    You are one of the best statisticians I have known via RUclips.

  • @omardiaaeldessouky7215
    @omardiaaeldessouky7215 2 года назад +40

    I love explaining concepts well and marketing for the product in the same time. Very creative and informative approach :)

    • @datatab
      @datatab  2 года назад +1

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

    • @moritzwolle2141
      @moritzwolle2141 2 года назад

      It´s a trap

  • @markfidelix
    @markfidelix Год назад +8

    By far the best quick video I've seen about the Chi-square test!

  • @krishnaiahkonda5916
    @krishnaiahkonda5916 6 месяцев назад +4

    Chi-Square Test is a hypothetical test to determine the relationship between two categorical variables like gender and highest qualification. Well explained with online and offline examples. Thank you DATAtab.

  • @thabangramashapa1094
    @thabangramashapa1094 Год назад +20

    This video might've helped me obtain my qualification, thank you!!!

    • @datatab
      @datatab  Год назад +2

      Glad I could help!

  • @anujsangal3886
    @anujsangal3886 Год назад +3

    The best explanation of Chi square test by a software company

  • @Becky71610
    @Becky71610 2 года назад +5

    This video was amazing, thank you so much! you make it so easy to understand!

    • @datatab
      @datatab  2 года назад +1

      Glad it was helpful!

  • @germanslobo
    @germanslobo Год назад +3

    Amazing explanation! So simple and easy to understand. Thanks.

    • @datatab
      @datatab  Год назад

      Glad it was helpful!

  • @PediaTricks007
    @PediaTricks007 10 месяцев назад

    Simplest video explanation on chi square test. Thanks

  • @danteperez5347
    @danteperez5347 2 года назад +5

    The best explanation on the Internet!

    • @datatab
      @datatab  2 года назад +1

      Many many thanks for the nice feedback! Regards, Hannah

    • @danjarupath
      @danjarupath 2 года назад

      Agreed 💯

  • @HemSingh-rt5bp
    @HemSingh-rt5bp Год назад

    Splendid explanation with examples thank you so much

  • @TR-rx5ej
    @TR-rx5ej Год назад

    Can I use mann kendall test for normally distributed data set? Mann kedall test is used for non normally distributed data set.

  • @asma7918
    @asma7918 2 года назад +5

    What a clear explanation. Thank you.You are helping many..👏👏🙏

    • @datatab
      @datatab  2 года назад

      It's my pleasure

  • @dstan16224
    @dstan16224 Год назад +2

    Thank you for the video! Finally understood the concept.

    • @datatab
      @datatab  Год назад +1

      Glad it helped!

  • @RameshKhanal16
    @RameshKhanal16 2 года назад +2

    Really Helpful.. Thank you for the quality content!

    • @datatab
      @datatab  2 года назад

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

  • @sajjadabdullah
    @sajjadabdullah 9 месяцев назад +1

    Very informative and easy. Thank you

  • @JagooTheBoss
    @JagooTheBoss Месяц назад

    best explanation of chi-square so far

  • @emmanuilovich
    @emmanuilovich 10 месяцев назад

    Thank you very much for such a clear explanation

  • @Vivek-np9vm
    @Vivek-np9vm Год назад +1

    Thank you so much for the calculator. This is exactly what I was looking for. Love from India.

  • @notabotbutarealperson
    @notabotbutarealperson Год назад +1

    I passed my whole test thanks to this one video.

  • @dr024
    @dr024 2 года назад +3

    Consider that this is the ChiSq test of independence.
    There are other chisq tests like chisquare test for variance, chi-sq test for goodness of fit, etc.

    • @datatab
      @datatab  2 года назад +1

      Many thanks for your feedback!!! Yes this is true! Ragards, Hannah

  • @cidc5067
    @cidc5067 2 года назад +3

    Hi! Is the significance level calculated also? or is it only based on judgement?

    • @datatab
      @datatab  2 года назад +1

      Yes, the p-value is also calculated. Regards, Hannah

  • @malaikaimtiaz6446
    @malaikaimtiaz6446 9 месяцев назад

    I want to ask a question.
    Will yes and no valued as 1 and 0 respectively be categorical?

  • @swatijadhav686
    @swatijadhav686 6 месяцев назад

    hey
    how did we get those expectd frequencies values?

  • @chamanthawickramarathne2029
    @chamanthawickramarathne2029 Год назад +2

    You executed this test for two nominal variables only. Can we use this for two ordinal variables as well and can we use this to find the relationship between nominal and ordinal variables?

  • @dr.kamrankundi9819
    @dr.kamrankundi9819 Год назад

    Dear researchers, I have MSR (meta cognitive self regulation) learning strategy as independent variable while Students' Score (Students'GPA) is my dependent variable. MSR is on five point Likert scale while for Students'GPA each student put his own GPA on the questionnaire in form of digits like 2 , 2.1, 2.7, 2.3, 3, 3.6, 4 etc.
    The students score is in random form.
    Each student put his own score whatever he got in the previous semester. Now my question is which kind of correlation should I use? Can I go for the Pearson correlation? How to handle with the Students'GPA variable? The sample size is 300 students which means that I have 300 Students'GPAs. It's a confusing whether I should consider the Students'GPA as ordinal, interval or ratio variable? Which kind of correlation should I go for?
    Please, guide.

    • @pghjmuhammadfirdauspghjrus8870
      @pghjmuhammadfirdauspghjrus8870 10 месяцев назад

      Use Correlation, you already have two sets of data MSR (Ordinal) and GPA (Ratio). But, check the correlation assumptions first, either to use mean or median type analysis. Correct me if im wrong, thanks.

  • @ajaya9355
    @ajaya9355 4 месяца назад

    whether Chi square test is used for Likert Scale questions
    Thank you

  • @sanjay8925
    @sanjay8925 Год назад +2

    What if critical value for .01 & .05 level of significance is given and our chi square value falls in between them, like if chi square value is lesser at .01 level of significance and more at .05 level of significance, so do we accept null hypothesis or reject??

    • @datatab
      @datatab  Год назад

      You define you significance level before the test and only one value, so either 0.01 or 0.05. Then the question is, is it smaller or greater.

  • @jygliocam7448
    @jygliocam7448 2 года назад +9

    Thank you for this, how did you get the expected frequencies for the perfectly independent variables?

    • @datatab
      @datatab  2 года назад +1

      Hello, you have to calculate the expected frequencies first!

    • @jygliocam7448
      @jygliocam7448 2 года назад +3

      @@datatab Hello thank you so much. Do you have video on how to solve?

    • @boosted91
      @boosted91 2 года назад +1

      I have the same question - how were the expected frequencies calculated? Is that using obtained data in previous studies?

    • @user-wr9ks3tf4n
      @user-wr9ks3tf4n 2 года назад +2

      @@boosted91 the expected frequencies for female without education , for example , is 43/(49+43)*(6+7).

    • @laradomingos6852
      @laradomingos6852 Год назад

      @@user-wr9ks3tf4n I don't understand, following your steps the results were 27.814 when the should be 6.08! I am doing something wrong, just don't know what!

  • @NK-iy6if
    @NK-iy6if 2 года назад +7

    God bless you!!! Your videos are very helpful, and your explanation is very clear and easy to follow. Thank you so much!!!

    • @datatab
      @datatab  2 года назад

      Many thanks for your nice feedback! 🙂 Regards, Hannah

    • @Hannah-brien
      @Hannah-brien 2 месяца назад

      no ur wrong

  • @ShadowRonan
    @ShadowRonan Год назад +1

    Thanks so much for explaining this clearly

    • @datatab
      @datatab  Год назад

      Glad it was helpful!

  • @vaishalijadhav862
    @vaishalijadhav862 2 года назад +1

    Thank u for wonderful explaination. I want to know wheather we have to purchase datatab software or it is freely available

    • @datatab
      @datatab  2 года назад

      With datatab we earn money, so we have to charge something, but it is very cheap! datatab.net/premium/packages

  • @Griffindor21
    @Griffindor21 4 месяца назад

    Great explanation👍👍, but....what was the null hypothesis in the first place?

  • @ma.cecillemanabat5617
    @ma.cecillemanabat5617 Год назад +1

    a very well explained for the CHI squared.help me alot

  • @ray2day354
    @ray2day354 7 месяцев назад +1

    Amazing video, you have explained everything very well

    • @datatab
      @datatab  7 месяцев назад

      Glad you liked it!

  • @applepakistan3164
    @applepakistan3164 2 года назад +3

    In this video (chi square) at 6:21 time span, if p value is smaller than .05 then we should accept the null hypothesis ( false ) or we reject the null hypothesis (true), please clarify 🙏🙏🌹thanks

    • @datatab
      @datatab  2 года назад +1

      if p value is smaller than .05 then we reject the null hypothesis

    • @suranjanasikdar6224
      @suranjanasikdar6224 2 года назад

      @@datatab if p value is exactly 0.5 then it means rejection of null hypothesis too?

    • @Sushi_10000
      @Sushi_10000 Год назад

      @@suranjanasikdar6224 p-value equal to 0.05 also results in rejecting null hypothesis

  • @ajmirasheed2385
    @ajmirasheed2385 2 года назад +1

    Do more videos. It was very understanding

    • @datatab
      @datatab  2 года назад

      Many thanks!!! We will do : ) Regards, Hannah

  • @shadialhag6616
    @shadialhag6616 Год назад +1

    Thank you very much for the wonderful way of explaining this topic, is there a video on SPSS topic.

    • @datatab
      @datatab  Год назад

      No only with DATAtab, sorry!

  • @rumipromitsett4588
    @rumipromitsett4588 2 года назад +1

    I can't believe it can be this good

    • @datatab
      @datatab  2 года назад

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

  • @sindilesira1117
    @sindilesira1117 Год назад

    how did u get the p value

  • @applepakistan3164
    @applepakistan3164 2 года назад +3

    Madam, what is the difference between Chi-square, and Chi-square Goodness of Fit test ? Thanks

    • @datatab
      @datatab  2 года назад +1

      There are several scenarios when using a Chi2 test, the two most common being that when two variables are tested to see if they are independent, the observed frequency is compared to the frequency distribution that would occur if both variables were completely independent. The second way is to compare the observed frequency with a given frequency, that would be goodness of fit.

  • @SmartLife123
    @SmartLife123 Год назад

    Is Datatab like spss, an analysing tool?

  • @newmercies1
    @newmercies1 Год назад +5

    Hi, nice video. Please clarify what is your null hypothesis (Ho) and your alternative hypothesis - it is significant to mention it before you run the test as it defines the area for rejection or FTR (fail to reject). Please clarify.

    • @datatab
      @datatab  Год назад

      Many thanks for your feedback!

    • @kenken578
      @kenken578 Год назад

      Same question, may I know for clarification of what's the specific null hypothesis and the alternative one for this prob?

    • @EranM
      @EranM Год назад

      @DATAtab Is this a bot writing the answers?? Just write the null hypothesis..

    • @datatab
      @datatab  Год назад

      @@EranM ​ @Beverly Cepeda I am sorry! No it is not a bot but there are so many comments that it is hard for me to read them carefully, sorry for that! We have just created a new Video for chi2 Test, I hope we explain the hypotheses better in this video: ruclips.net/video/EjtXk-yEK6w/видео.html.
      For the example in the "old" video:
      Null hypothesis: there is no relationship between gender and highest educational attainment.
      Alternative hypothesis: There is a correlation between gender and the highest educational attainment.
      Regards Hannah & Mathias

  • @LindaInHiding
    @LindaInHiding 2 месяца назад +1

    Thank you so much for this, it really helped me

    • @datatab
      @datatab  2 месяца назад +1

      Glad it helped! Regerds, Hannah

  • @noraelsamachi3102
    @noraelsamachi3102 Год назад

    Hello please I want to run a quistionnaire but I dont know exactly how to put my data in spss? Can you please help me? I have 2 categories of men , 75 smokers - no smokers 25 and 15 smokers women and 95 no smokers!

  • @matilderasori3251
    @matilderasori3251 2 года назад +1

    where do you take the expected frequency from?

    • @datatab
      @datatab  2 года назад

      The expected frequency is given by you (by the research question)!

  • @saidfawzy
    @saidfawzy Год назад +1

    لGreat explination but how did you get the values in the table of expected frequency ?

    • @datatab
      @datatab  Год назад +1

      Many thanks for your feedback! Please have a look here datatab.net/tutorial/chi-square-test and scroll a little bit down! Regards Hannah

    • @saidfawzy
      @saidfawzy Год назад

      @@datatab Thanks for your concern and kindness . The world is so beautiful ,only because there is someone like you.

  • @rasmitasharma4133
    @rasmitasharma4133 Год назад

    Difference between spearman rank and chi square test?

  • @glentox1563
    @glentox1563 Год назад +1

    Can this be used if I want to measure the relationship between gender and level of satisfaction?

    • @datatab
      @datatab  Год назад

      Without knowing the details I would rather say there fits the Mann-Whitney U-Test: Have a look at this video: ruclips.net/video/Twk6lBhBl88/видео.html

  • @applepakistan3164
    @applepakistan3164 2 года назад +3

    Madam, we apply chi square to check relationship of two variables, we apply linear correlation also to check relationship, what is the difference between these tests , 🙏🙏

    • @datatab
      @datatab  2 года назад +2

      In a correlation, your two variables must have a rank order. With the Chi2 test, you only need two nominal variables. Regards Hannah

    • @applepakistan3164
      @applepakistan3164 2 года назад

      @@datatab rank means likert scale n ordinal also ??🤲🙏🌹

    • @datatab
      @datatab  2 года назад +2

      @@applepakistan3164 Yes for a correlation you need two ordinal variables!

    • @applepakistan3164
      @applepakistan3164 2 года назад +1

      @@datatab thank you for your help 🤲🤲🤲🙏🌹

    • @miscelleneoustubes
      @miscelleneoustubes 2 года назад

      @@datatab For correlation, isn't that we need two scale variables?

  • @queenisforever1
    @queenisforever1 Год назад +1

    very good, keep up the good work

  • @Ssoonneess
    @Ssoonneess Год назад +1

    in 6:50 how do you get the "Expected Frequencies"?

    • @datatab
      @datatab  Год назад

      Many thanks for your feedback! Please have a look here datatab.net/tutorial/chi-square-test and scroll a little bit down! Regards Hannah

  • @muhammadwaseemassistantdea6073
    @muhammadwaseemassistantdea6073 6 месяцев назад

    very informative video

  • @thutrang638
    @thutrang638 4 месяца назад +1

    it's so useful. thank you very much

    • @datatab
      @datatab  3 месяца назад

      You are welcome!

  • @nesmamohamed4488
    @nesmamohamed4488 2 года назад +1

    very simple, thanks

    • @datatab
      @datatab  2 года назад

      You're welcome!

  • @MedicalDoctors-4-life
    @MedicalDoctors-4-life 4 месяца назад

    How to get expected frequency

  • @queensterlartey
    @queensterlartey Год назад +1

    How did you get the expected frequency.

    • @datatab
      @datatab  Год назад

      Hi please find the information here: datatab.net/tutorial/chi-square-test at Chi-Square Test of Independence!

  • @CoachPegasus
    @CoachPegasus 2 года назад +3

    Thank you

    • @datatab
      @datatab  2 года назад

      YOu are welcome! Regards, Hannah

  • @RobertaMontesdeOca
    @RobertaMontesdeOca 3 месяца назад +1

    is is possible to do this test for a Liker data?

    • @datatab
      @datatab  3 месяца назад

      Hi, without knowing your hypotheses exactly, you would rather use a Spearman rank correlation in this case. ruclips.net/video/XV_W1w4Nwoc/видео.html

  • @myobnp9684
    @myobnp9684 22 дня назад

    Constructive feedback. This is missing an explanation of the null hypothesis at the beginning. Then p values and chi-squared values are not clearly distinguished at the end.

  • @maykhaeunicebacalso4551
    @maykhaeunicebacalso4551 5 месяцев назад

    I got df=39 and the table doesn't have a value for 39 T_T how do you calculate that?

  • @ibrahimahmedtache3347
    @ibrahimahmedtache3347 2 года назад

    Why is chi-square test employed in categorical data analysis?

    • @datatab
      @datatab  2 года назад

      Hello, sorry, I do not quite understand your question! If you have two categorical variables and want to check if there is a relationship, you can do this with a Chi 2 test. Assuming all conditions are met.

  • @monsuratyusuf3252
    @monsuratyusuf3252 Год назад

    is this video for Alevel biolgy math skill?

    • @datatab
      @datatab  Год назад

      Hmm yes you can certainly use it for that!

  • @datadoctor10
    @datadoctor10 9 месяцев назад

    Thank you mam

  • @World_Exploror
    @World_Exploror Год назад +1

    Good Explanation

  • @tofunmialayode1927
    @tofunmialayode1927 Год назад +1

    Very useful 👌

    • @datatab
      @datatab  Год назад

      Glad to hear that

  • @marcelmaurice4586
    @marcelmaurice4586 Год назад +2

    Excellant tutorial without irrelevant peripheral presenter's ego.
    Could categorical variables be equated to discrete variables?

    • @datatab
      @datatab  Год назад

      Hi many thanks for your nice feedback! No actually, a discrete variable is e.g. how many people watched this video! In that case it is not possible but purely theoretically with discrete variables an infinitely large number can come out. Categorical variables include a finite number of categories or unique groups and there does not have to be a ranking. Regards Hannah

  • @micahmicz0917
    @micahmicz0917 8 месяцев назад +1

    I thought your stat-calculator was free but we need to buy it.

    • @datatab
      @datatab  8 месяцев назад

      otherwise, unfortunately, the calculator would not exist, as I would not be able to finance it! But it is very cheap for Staitsitk software solutions!

  • @Ilemaurice687
    @Ilemaurice687 2 года назад +2

    What if we have only one sample plz

    • @datatab
      @datatab  2 года назад

      Then you can also use the CHi 2 test!

  • @raylapikeri8766
    @raylapikeri8766 7 месяцев назад

    Good !

  • @applyalone
    @applyalone 2 месяца назад +1

    Perfect

    • @datatab
      @datatab  2 месяца назад +1

      Many thanks!

  • @ivysonmat
    @ivysonmat 2 года назад +1

    thanks a lot =)

    • @datatab
      @datatab  2 года назад

      You're welcome!

  • @abolajioluwadamilola400
    @abolajioluwadamilola400 Год назад

    I tried calculating the observed and expected frequencies all together just like you did, but I didn't get the same answer,pls can u make it clear to me🤲, and also the part where u used the chi square table,it feels like I'm the only one that doesn't understand here😭,I need ur answers pls

  • @PHALANGE1931
    @PHALANGE1931 2 года назад +1

    I love mathematics 😍💞

  • @pade9732
    @pade9732 6 месяцев назад +23

    This video is a commercial, not an explanation...

    • @tk006
      @tk006 4 месяца назад +5

      Still a good explanation

    • @victoriadamisa
      @victoriadamisa 3 месяца назад +1

      But at least, it provides a solution

  • @pelas91
    @pelas91 Год назад

    6:30

  • @Intorduceingtoself
    @Intorduceingtoself 2 года назад +2

    To Good

    • @datatab
      @datatab  2 года назад

      Glad it was helpful! Thanks for your nice feedback! Regards Hannah

  • @yimenugardie2923
    @yimenugardie2923 Год назад

    excuse, the display lecture is not visible

  • @yash1152
    @yash1152 10 месяцев назад

    nice (:

  • @akaezesamuel4688
    @akaezesamuel4688 Год назад

    Using DATAtab, you failed to reject the null hypothesis, but when you calculated by hand, you rejected the null hypothesis, please which is it? So confusing

  • @esqinmehemmedli5611
    @esqinmehemmedli5611 Год назад

    Done

  • @Ilemaurice687
    @Ilemaurice687 2 года назад +1

    One group

    • @datatab
      @datatab  2 года назад

      Then you can also use the CHi 2 test!

  • @ImTheCitizenInsane
    @ImTheCitizenInsane Год назад

    "Whether gender has an influence on education" suggests causality, which is wrong here

  • @leewilliam3417
    @leewilliam3417 6 месяцев назад

    Mmmmmmmm😊

  • @MarcLL
    @MarcLL Год назад

    But I was told there were an infinite number of genders 🤔

  • @JacSilverMoon
    @JacSilverMoon Месяц назад

    Too bad its not free, asks you to pay to get results!

  • @theliterunner
    @theliterunner Год назад

    i wish dislike button was still working for youtube