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

Поділитися
Вставка
  • Опубліковано 10 лис 2010
  • Courses on Khan Academy are always 100% free. Start practicing-and saving your progress-now: www.khanacademy.org/math/stat...
    Contingency Table Chi-Square Test
    Watch the next lesson: www.khanacademy.org/math/prob...
    Missed the previous lesson?
    www.khanacademy.org/math/prob...
    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: ua-cam.com/users/subscription_...

КОМЕНТАРІ • 117

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

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

    "erbs" :) . Great video

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

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

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

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

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

    Thank goodness for this channel!

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

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

    Great course! More are wanted.

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

    Thanks, using this as class prep!

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

    Impressive piece of art :)

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

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

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

  • @BodModGuy
    @BodModGuy 10 років тому +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...

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

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

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

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

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

    Thanks, this helped soo much :)

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

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

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

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

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

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

  • @norwayte
    @norwayte 13 років тому +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.

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

    Pretty good, class review would be magnificent

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

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

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

    Damn you're life savior ♥️♥️

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

    Thanks a very much!! :)

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

    makes sense!

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

    Thank you sooo much

  • @1LifeOnLine
    @1LifeOnLine 5 років тому +8

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

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

    nice work!

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

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

    Thank you so much

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

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

    I think i pretty much understand the concept now!

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

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

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

    Splendid

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

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

    helpful

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

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

    this makes sense

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

    pretty good

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

    makes sense. the first video was a little clearer however

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

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

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

    Makes sense

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

    sounds goood.

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

    makes sense

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

    Where did you got that p table?

  • @hannahnelson4569
    @hannahnelson4569 4 місяці тому

    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?

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

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

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

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

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

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

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

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

      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 4 роки тому

      You need a control in any study like this.

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

    more examlpes would help

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

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

    makes sense, but a review would help
    -Tyler

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

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

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

    I want that calculator :O

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

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

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

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

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

    kinda makes sense

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

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

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

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

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

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

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

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

    On what condition we will reject the null hypothesis ?

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

    shouldn't you be squaring the numerator AND denominator?

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

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

    Confusing, need more examples for in class.

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

    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?

  • @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 8 місяців тому

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

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

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

    a little bit more confusing but i think i get it

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

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

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

    Are you assuming the three groups have the same distribution?

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

    y isnt the placebo a standard?

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

    This example is more confusing

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

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

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

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

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

    this is a little more confusing. more examples would help

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

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

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

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

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

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

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

    how did u get 25.3...?

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

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

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

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

    really cool videos but you should spend less time using calculator

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

    erbs

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

    This is a little more confusing

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

    Still a little confusing

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

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

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

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

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

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

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

    help pervert? xD

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

    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.

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

    The erb tihihihi

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

    porinchaks videos r better

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

    sorry for making fun of your voice ha!