Contingency table chi-square test | Probability and Statistics | Khan Academy

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Courses on Khan Academy are always 100% free. Start practicing-and saving your progress-now: www.khanacadem...
    Contingency Table Chi-Square Test
    Watch the next lesson: www.khanacadem...
    Missed the previous lesson?
    www.khanacadem...
    Probability and statistics on Khan Academy: We dare you to go through a day in which you never consider or use probability. Did you check the weather forecast? Busted! Did you decide to go through the drive through lane vs walk in? Busted again! We are constantly creating hypotheses, making predictions, testing, and analyzing. Our lives are full of probabilities! Statistics is related to probability because much of the data we use when determining probable outcomes comes from our understanding of statistics. In these tutorials, we will cover a range of topics, some which include: independent events, dependent probability, combinatorics, hypothesis testing, descriptive statistics, random variables, probability distributions, regression, and inferential statistics. So buckle up and hop on for a wild ride. We bet you're going to be challenged AND love it!
    About Khan Academy: Khan Academy offers practice exercises, instructional videos, and a personalized learning dashboard that empower learners to study at their own pace in and outside of the classroom. We tackle math, science, computer programming, history, art history, economics, and more. Our math missions guide learners from kindergarten to calculus using state-of-the-art, adaptive technology that identifies strengths and learning gaps. We've also partnered with institutions like NASA, The Museum of Modern Art, The California Academy of Sciences, and MIT to offer specialized content.
    For free. For everyone. Forever. #YouCanLearnAnything
    Subscribe to KhanAcademy’s Probability and Statistics channel:
    / @khanacademyprobabilit...
    Subscribe to KhanAcademy: www.youtube.co...

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

  • @00DCSY
    @00DCSY 12 ปีที่แล้ว +49

    You taught me an entire semesters worth of content in a few hours. bless your soul

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

      How are you doing in life nowadays?

    • @user-cx5wq9rn6e
      @user-cx5wq9rn6e ปีที่แล้ว +5

      @@musicaccount2703 maybe he is dead. maybe you are also dead.

  • @slipperyjack007
    @slipperyjack007 9 ปีที่แล้ว +29

    "erbs" :) . Great video

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

    Thanks for this. Just sorted my assessment for this week.

  • @kalleidoskop2
    @kalleidoskop2 9 ปีที่แล้ว +6

    Brilliant! You explain it so well, thank you! I just might pass after all..

  • @norwayte
    @norwayte 14 ปีที่แล้ว +3

    Could you explain more precisely the difference of
    test - Goodness of fit (is distribution the assumed) and
    test - (In-)dependence of two "things" (contingency table...) of
    the chi square test?
    Keep on going.

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

    So impressed by this Khan guy, he literally knows everything single shit no matter what you are searching for, his videos will pop up. Thank you very much though :)

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

    Around 4:45 It is said that 80 out of 380 did not get sick but 80 is in the sick row. Or am I not understanding the row label? Confused

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

    It seems like this video (and others) focus a bit too much on talking through basic arithmetic. It could be more concisely presented by showing a few examples and fast-forwarding through repetitive content (including repeating what you're writing down because we talk faster than we write). This is especially true in previous videos in this series. Sometimes you say what you're going to multiply to another number 3 times and repeat the result more than 2 times.

  • @BodModGuy
    @BodModGuy 11 ปีที่แล้ว +6

    In my stats class the professor said NO DECIMALS. Bc you can't have a % of a person. Chi squared is a counting system...

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

    Thank goodness for this channel!

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

    Hello thank you for this video why is it called contingency table

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

    Aren't you assuming the herbs don't work when you use 80/380 even though you have no information about it before knowing the result of the test?
    Seems more logical to me to use the 30/120 ratio to calculate expected values. Could you clarify?

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

    this is still doing mighty wonders. thanks, Proff...

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

    Why do you use the total to calculate the expected value? I think using the placebo is more logical (ie. 30/120, 90/120).

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

    The chi squared test assumes that the underlying distribution is bernoilli right? That's where the divide by expected comes from. Since we are adding bernoillis the variance can be assumed to be the mean, this allows us to use this mean to normalize our errors and get their appropriately normalized normal distributions.
    I didn't understand the degrees of freedom part. Three normals is three normals right? Why would we use a distribution made of one less normal than the model we have?

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

    Ok, so in this video you were comparing the actual results vs expected results from the placebo and H1 and H2 groups. However, although in this example everything is very balanced and even, how robust is the test against a strong placebo effect or herb effect (in this example). In other words, why don't you compare the data obtained against people getting sick without placebo and without herbs, what if the herbs and the placebo are all protecting people in a statistically significant way compared to naive population?

  • @divyanaik8867
    @divyanaik8867 12 ปีที่แล้ว +2

    I don't understand how the expected proportion can be the proportion calculated from the total of the samples. Could use some more clarification on that. The contingency table is easy to understand though.

  • @marlenirigoyen6573
    @marlenirigoyen6573 3 ปีที่แล้ว +2

    10 years later and you still saved my grade :')

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

    if the herbs do nothing would you not Expect them to have the same %'s as the plecebo, not the totals?

  • @emilrajan7995
    @emilrajan7995 9 ปีที่แล้ว +6

    Impressive piece of art :)

  • @amandavargo4629
    @amandavargo4629 12 ปีที่แล้ว

    makes sense. the first video was a little clearer however

  • @RazikhShaik19
    @RazikhShaik19 8 ปีที่แล้ว +11

    When our Hypothesis is Herbs do nothing then why include placebo entries? Shouldn't we just compare the two herbs ?
    If we are to include placebo shouldn't the hypothesis be herbs and place do nothing?
    What if there was actually placebo effect meaning more people were not affected just by the sugar pill, will the same procedure help in figuring that out?

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

      You're probably done your semester? The placebo allows us to calculate a weighted average. In other words, it tells us how many people in a natural, untreated environment are expected to get sick.

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

      Thank you. It can also show whether there are any effects from either herb that are unexpected and have not been accounted for. Comparing two herbs doesn't tell us anything unless we compare both to something that is expected not to cause changes. In answer to Razikh, the placebo or sugar pills expected effects on a human or animal are already accounted for so there is no unexpected results coming from the placebo. No more than if each persons was given one m and m.

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

      You need a control in any study like this.

  • @mrjohnzon
    @mrjohnzon 11 ปีที่แล้ว

    I have the exact same question. Good that someone else saw it aswell.

  • @muhammadzeeshanawan154
    @muhammadzeeshanawan154 8 หลายเดือนก่อน

    How did you assume the null hypothesis that herbs do nothing ?

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

    Why do you use the placebo measurements in looking at the significance of the herbs? Surely the result from the placebo shouldn't factor into it?

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

    I'm learning about this in uni rn, I love to try this in English

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

    Sir, thank you for explaining with reasons why we are multiplying the totals🤩I clearly understood

  • @brooketurk2029
    @brooketurk2029 12 ปีที่แล้ว

    makes sense!

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

    After all those times you said squaaare during the calculation it sounded funny lol. Thanks for your video!

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

    By including the herbs when calculating your expected values, aren't you skewing the data toward non-significance?

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

    It seems to me that three of the pairs are dependent on the other 3. The top row determines the bottom row and vice versa, so one row is redundant, eliminating independence. Shouldn't we use only the 3 number pairs from the sick row? Or maybe the 3 pairs from the not sick row?

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

    Your example doesn't make sense to me...
    Why would you use the total from all three groups as the comparison distribution? If you're looking for whether the herb data is different from what is expected without them, wouldn't you want to use the placebo group as your comparison distribution?
    Also, why are you lumping two different herbs into the same analysis? I could understand this if the data were on the same herb from two different flu seasons, or something like that. But it doesn't make any sense to test two different hypotheses (that Herb 1 works and that Herb 2 works) with one statistical test.

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

      goroth01 Yeah, imagine the case where one helps and the other worsen the flu, but when mixed, it cancels out, and we have the ironic result that Herbs do nothing. But we kinda know it is not the case here from the table. He just did not specify the question, maybe in the Question they mentioned Herb 1 and Herb 2 are kinda the same ingredients.

  • @AryanSingh-eq2jv
    @AryanSingh-eq2jv 2 ปีที่แล้ว

    helpful

  • @lloyb3036
    @lloyb3036 9 ปีที่แล้ว

    Thank you sooo much

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

    This video is kind of confusing. I think that more examples would help.

  • @yy8848
    @yy8848 11 ปีที่แล้ว

    Great course! More are wanted.

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

    i'm looking for that p-value table and i'm unable to find it. it would have been nice if you'd included a link to it in the description

  • @sudaputhe
    @sudaputhe 12 ปีที่แล้ว

    nice work!

  • @nrabatin
    @nrabatin 12 ปีที่แล้ว

    I think i pretty much understand the concept now!

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

    Thanks, using this as class prep!

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

    I like how at the end it was like "well, we've learned absolutely nothing about the plants" :) great video

  • @bradenpoe1301
    @bradenpoe1301 12 ปีที่แล้ว

    Pretty good, class review would be magnificent

  • @morganwinston9689
    @morganwinston9689 12 ปีที่แล้ว

    this makes sense

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

    Splendid

  • @christieel3158
    @christieel3158 12 ปีที่แล้ว

    Like all the colors, but has no one made a program to find chi on the computer yet? :( And is this used for two-variables only then? I don't really see the purpose of the table, is it to ease our work??

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

    Damn you're life savior ♥️♥️

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

    But if our result is closer to 0, doesn't it mean that the real value are actually somewhat close to expected value, which would mean that this was expected and herbs didn't do anything.

  • @halleponter7718
    @halleponter7718 12 ปีที่แล้ว

    pretty good

  • @AnesthesiaNuggets
    @AnesthesiaNuggets 12 ปีที่แล้ว

    Makes sense

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

    ok... and now he does the d.f. = (rows -1) x (columns-1). Last video he just did n-1

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

      +noel8421 This is because he is doing the Chi-Square Statistic for Independence...for this type of Chi-Square the Degrees of Freedom are (R-1)(C-1)
      The previous video he was doing the Chi-Square Statistic for Goodness of Fit...for that type of Chi-Square the Degrees of Freedom are just n-1

  • @malinahoward
    @malinahoward 12 ปีที่แล้ว

    i kinda understand until the end...instaed of using the charts could we just use tehe calculator and find an actual pvalue?

  • @v.c.4861
    @v.c.4861 10 ปีที่แล้ว

    Thanks, this helped soo much :)

  • @chrisedwards4584
    @chrisedwards4584 10 ปีที่แล้ว

    thx for the knowledge of 'sugar pill' ... again for briefly explanation of something doesn't related to stats .. .

  • @LinasJusys
    @LinasJusys 9 ปีที่แล้ว +2

    Where did you got that p table?

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

    shouldn't you be squaring the numerator AND denominator?

  • @kellybejger5066
    @kellybejger5066 12 ปีที่แล้ว

    more examlpes would help

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

    On what condition we will reject the null hypothesis ?

  • @anthonyselvaggio211
    @anthonyselvaggio211 12 ปีที่แล้ว

    I'm just a little confused on this one. Maybe an example in class on Monday?

  • @workh4rd
    @workh4rd 11 ปีที่แล้ว

    Still pretty impressive. I can't even stay awake for 1 full video...guess that explains my bad grades.

  • @gabbygamad
    @gabbygamad 12 ปีที่แล้ว

    please just do more examples in class. i like all the colors he used though.

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

    £9000 of tuition fees + hours spent studying = no understanding of chi squared
    Free video + 20 minutes = complete understanding of chi squared
    Thank you for the video :)

  • @gagnon11amelia
    @gagnon11amelia 12 ปีที่แล้ว

    sounds goood.

  • @mrcarter023
    @mrcarter023 11 ปีที่แล้ว

    Thanks a very much!! :)

  • @rebeccaaira831
    @rebeccaaira831 9 ปีที่แล้ว

    on some point, you said "21% did not get sick" but you wrote the value under the number of people that did not get sick. so which is it?

  • @osu6813
    @osu6813 12 ปีที่แล้ว

    makes sense, but a review would help
    -Tyler

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

    The method that you used to get the expected values, is it different from the method used to get the expected values in a four fold test.. Please could someone answer 😊

    • @parakhmody1413
      @parakhmody1413 11 หลายเดือนก่อน

      Was thinking the same thing, although I'm leaning toward no.....

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

    Shouldn't the hypothesis of "herbs do nothing" be the same as "herbs are placebos"? Is the placebo in this case being the same as some "Herb 3"? Why would "Herbs do nothing" have a relation to the average of the number of sick (and non-sick) people on all 3 categories?

  • @cuiyan2222
    @cuiyan2222 11 ปีที่แล้ว

    Are you assuming the three groups have the same distribution?

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

    I don't understand how he found the alpha/critical value. Can anyone explain that to me?

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

    if the hypothesis test is herbs do nothing, that means people who are not sick taking the herbs are also sick? So in the end everyone is sick? But in the video the cases are taken the same manner as earlier so what conditions basically the hypothesis put on this?

  • @jessicabiben6956
    @jessicabiben6956 12 ปีที่แล้ว

    Confusing, need more examples for in class.

  • @JaredHulme
    @JaredHulme 12 ปีที่แล้ว

    kinda makes sense

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

    I want that calculator :O

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

    y isnt the placebo a standard?

  • @Donyvi
    @Donyvi 12 ปีที่แล้ว

    aaarrrrrr, I fell asleep at part 43 of this playlist.

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

    I'm confused earlier in video you said 21% should not get sick if herbs did nothing and then later you say that 21% should get sick

  • @RavensDude52
    @RavensDude52 12 ปีที่แล้ว

    sort of confusing. more examples would definitely help. -matt

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

    why didn't he just have the total as the expected and the number who got sick as the observed instead of doing all of the other things he did?

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

    how did u get 25.3...?

  • @nicolemarkey286
    @nicolemarkey286 12 ปีที่แล้ว

    a little bit more confusing but i think i get it

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

    why do you say "erb", when its "herb"

  • @Koontish
    @Koontish 12 ปีที่แล้ว

    80 out 380 DID fall sick, you did confuse us brah!!
    Thumps up so he changes it!

  • @kellyfrantz2653
    @kellyfrantz2653 12 ปีที่แล้ว

    this is a little more confusing. more examples would help

  • @oling2812
    @oling2812 11 ปีที่แล้ว

    Do Americans actually say "erbs"?! They sound French!! Great work as usual Sal, sorry to digress.

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

    This example is more confusing

  • @alessan9
    @alessan9 11 ปีที่แล้ว

    really cool videos but you should spend less time using calculator

  • @Koontish
    @Koontish 12 ปีที่แล้ว

    Actually I have no idea, how this video is factually correct, far as I know my text says you get expected values by multiplying say 120 x 80/380 to give 21.05, so what's the logic here? Please remake the freaking video! You don't explain assumptions like how you use 21% for a completely diff column!

  • @acemendez23
    @acemendez23 10 ปีที่แล้ว

    Um I'm kind of confused why use the 10%?

    • @tlema21
      @tlema21 9 ปีที่แล้ว

      this would be given in the problem, usually you get 1%,5% or 10% for the alpha, but again it is given in the problem

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

      It prevents you from rejecting the null hypothesis when it's true 90 percent of the time.

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

    @4:44 he says 80 did not get sick but that's the sum of the sick people. Did he say it wrong or did I understand it wrong?

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

      Nvm ignore My comment, he just misspoke he corrects it later.

  • @Gzorz
    @Gzorz 12 ปีที่แล้ว

    DE ERBZ DO SOMA TING. jus da same as doin nothing tho. ahaha

  • @Rcgl12
    @Rcgl12 12 ปีที่แล้ว

    Still a little confusing

  • @dylangugliotta9004
    @dylangugliotta9004 12 ปีที่แล้ว

    This is a little more confusing

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

    erbs

  • @agasper94
    @agasper94 12 ปีที่แล้ว

    im kind of lost listening to him. last video made more sense than this.

  • @vincedisidoro6722
    @vincedisidoro6722 12 ปีที่แล้ว

    porinchaks videos r better

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

    So, EFFECTIVENESS of WUHAN VIRUS vaccine is calculated by similar stats?

  • @kylelavine3695
    @kylelavine3695 12 ปีที่แล้ว

    sorry for making fun of your voice ha!

  • @Brobestime
    @Brobestime 12 ปีที่แล้ว

    this is confusing.

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

    help pervert? xD

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

    The erb tihihihi