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

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ •

  • @00DCSY
    @00DCSY 12 років тому +52

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

    • @musicaccount2703
      @musicaccount2703 3 роки тому +5

      How are you doing in life nowadays?

    • @user-cx5wq9rn6e
      @user-cx5wq9rn6e Рік тому +7

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

  • @slipperyjack007
    @slipperyjack007 9 років тому +30

    "erbs" :) . Great video

  • @Qomri
    @Qomri 7 років тому +1

    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 :)

  • @marlenirigoyen6573
    @marlenirigoyen6573 3 роки тому +3

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

  • @lisatibbitts4489
    @lisatibbitts4489 7 років тому +9

    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

  • @kalleidoskop2
    @kalleidoskop2 9 років тому +6

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

  • @divyanaik8867
    @divyanaik8867 12 років тому +3

    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.

  • @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.

  • @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...

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

    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.

  • @amysarver2586
    @amysarver2586 12 років тому +2

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

  • @1LifeOnLine
    @1LifeOnLine 6 років тому +9

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

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

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

  • @whyteart68
    @whyteart68 13 років тому +1

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

  • @gloriaa0214
    @gloriaa0214 9 років тому +1

    Thank goodness for this channel!

  • @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?

    • @BiggyToothpick
      @BiggyToothpick 19 днів тому +1

      Probably the easiest way to calculate expected values is to memorize the formula: (row total * column total) / grand total

  • @emilrajan7995
    @emilrajan7995 9 років тому +6

    Impressive piece of art :)

  • @muhammadzeeshanawan154
    @muhammadzeeshanawan154 11 місяців тому

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

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

    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?

  • @nibiyabi
    @nibiyabi 13 років тому +1

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

  • @delirmaryland
    @delirmaryland 4 роки тому

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

  • @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).

  • @mrjohnzon
    @mrjohnzon 11 років тому

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

  • @navodya5194
    @navodya5194 7 років тому +1

    Damn you're life savior ♥️♥️

  • @LinasJusys
    @LinasJusys 9 років тому +2

    Where did you got that p table?

  • @GloGlo315
    @GloGlo315 7 років тому

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

  • @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?

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

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

  • @constanzaelenaibarracastro3309
    @constanzaelenaibarracastro3309 6 років тому

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

  • @evilmarc
    @evilmarc 8 років тому

    Thanks, using this as class prep!

  • @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?

  • @noel8421
    @noel8421 9 років тому +2

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

    • @bryansalgado7269
      @bryansalgado7269 9 років тому

      +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

  • @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??

  • @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 :)

  • @RazikhShaik19
    @RazikhShaik19 8 років тому +12

    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 років тому +5

      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.

  • @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?

  • @dudzcom
    @dudzcom 13 років тому +1

    shouldn't you be squaring the numerator AND denominator?

  • @angshumanchatterjee7769
    @angshumanchatterjee7769 5 років тому

    On what condition we will reject the null hypothesis ?

  • @workh4rd
    @workh4rd 11 років тому

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

  • @amandavargo4629
    @amandavargo4629 12 років тому

    makes sense. the first video was a little clearer however

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

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

  • @nrabatin
    @nrabatin 12 років тому

    I think i pretty much understand the concept now!

  • @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.

  • @anthonyselvaggio211
    @anthonyselvaggio211 12 років тому

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

  • @bradenpoe1301
    @bradenpoe1301 12 років тому

    Pretty good, class review would be magnificent

  • @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?

  • @yy8848
    @yy8848 11 років тому

    Great course! More are wanted.

  • @sudaputhe
    @sudaputhe 12 років тому

    nice work!

  • @04lewzale
    @04lewzale 12 років тому

    Thank you so much

  • @osu6813
    @osu6813 12 років тому

    makes sense, but a review would help
    -Tyler

  • @kellybejger5066
    @kellybejger5066 12 років тому

    more examlpes would help

  • @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.

  • @gabbygamad
    @gabbygamad 12 років тому

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

  • @brooketurk2029
    @brooketurk2029 12 років тому

    makes sense!

  • @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

  • @halleponter7718
    @halleponter7718 12 років тому

    pretty good

  • @jessicajohn627
    @jessicajohn627 5 років тому

    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 Рік тому

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

  • @morganwinston9689
    @morganwinston9689 12 років тому

    this makes sense

  • @v.c.4861
    @v.c.4861 10 років тому

    Thanks, this helped soo much :)

  • @Donyvi
    @Donyvi 12 років тому

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

  • @AryanSingh-eq2jv
    @AryanSingh-eq2jv 2 роки тому

    helpful

  • @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?

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

    Splendid

  • @AnesthesiaNuggets
    @AnesthesiaNuggets 12 років тому

    Makes sense

  • @notfree25
    @notfree25 12 років тому +1

    y isnt the placebo a standard?

  • @jessicabiben6956
    @jessicabiben6956 12 років тому

    Confusing, need more examples for in class.

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

    how did u get 25.3...?

  • @Wfhcoffeebar
    @Wfhcoffeebar 12 років тому +1

    I want that calculator :O

  • @mrcarter023
    @mrcarter023 11 років тому

    Thanks a very much!! :)

  • @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?

  • @oluwanifemikim1996
    @oluwanifemikim1996 Місяць тому +1

    People from 2024
    👇

  • @gagnon11amelia
    @gagnon11amelia 12 років тому

    sounds goood.

  • @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?

  • @nicolemarkey286
    @nicolemarkey286 12 років тому

    a little bit more confusing but i think i get it

  • @THE16THPHANTOM
    @THE16THPHANTOM 13 років тому +1

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

  • @RavensDude52
    @RavensDude52 12 років тому

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

  • @JaredHulme
    @JaredHulme 12 років тому

    kinda makes sense

  • @MizCrazyhotchoco
    @MizCrazyhotchoco 8 років тому

    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?

  • @chrisedwards4584
    @chrisedwards4584 10 років тому

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

  • @nicolescaffide8770
    @nicolescaffide8770 12 років тому +1

    This example is more confusing

  • @Koontish
    @Koontish 13 років тому

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

  • @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

  • @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?

  • @kellyfrantz2653
    @kellyfrantz2653 12 років тому

    this is a little more confusing. more examples would help

  • @alessan9
    @alessan9 12 років тому

    really cool videos but you should spend less time using calculator

  • @acemendez23
    @acemendez23 10 років тому

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

    • @tlema21
      @tlema21 10 років тому

      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 5 років тому

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

  • @agasper94
    @agasper94 12 років тому

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

  • @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.

  • @oling2812
    @oling2812 11 років тому

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

  • @dylangugliotta9004
    @dylangugliotta9004 12 років тому

    This is a little more confusing

  • @Koontish
    @Koontish 13 років тому

    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!

  • @Gzorz
    @Gzorz 12 років тому

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

  • @Rcgl12
    @Rcgl12 12 років тому

    Still a little confusing

  • @vincedisidoro6722
    @vincedisidoro6722 12 років тому

    porinchaks videos r better

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

    erbs

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

    grape

  • @kylelavine3695
    @kylelavine3695 12 років тому

    sorry for making fun of your voice ha!

  • @Brobestime
    @Brobestime 12 років тому

    this is confusing.

  • @SiddharthSharma15
    @SiddharthSharma15 9 років тому +1

    help pervert? xD