Pearson's chi square test (goodness of fit) | Probability and Statistics | Khan Academy

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

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

  • @mcorving
    @mcorving 11 ปีที่แล้ว +621

    you make me want to burn my statistics book. I just spent 2.5 hours trying to understand a chapter and came out clueless, and then you made everything perfectly clear in 15 minutes (i paused a few times)
    YOU ARE AMAZING

    • @mcorving
      @mcorving 11 ปีที่แล้ว +23

      thank you so so so much for making this. you don't understand how much this helped me; my textbook could not have done a poorer job explaining it

    • @YuzuruA
      @YuzuruA 7 ปีที่แล้ว +43

      most statistic books should be burned anyway
      also statistic teachers

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

      He is really amazing

    • @XKK85
      @XKK85 5 ปีที่แล้ว +4

      The ASA Statement on p-Values: Context, Process, and Purpose
      www.tandfonline.com/doi/full/10.1080/00031305.2016.1154108
      "Failing Grade: 89% of Introduction-to-Psychology Textbooks That Define or Explain Statistical Significance Do So Incorrectly"
      journals.sagepub.com/doi/10.1177/2515245919858072

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

      I know Im asking randomly but does someone know a tool to get back into an Instagram account?
      I was dumb lost my password. I would appreciate any tips you can give me

  • @Gloraxi
    @Gloraxi 10 ปีที่แล้ว +184

    Hi there, thank you Khan Academy this really helped me and its already 5 years since this was uploaded. I am so glad to be born into this generation of freedom of information online.

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

      It's 6 years since you made this comment.

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

      Did you find ur role in this world?!

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

      What do you do now?

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

      But my dad didn't let me have access

  • @olehede3795
    @olehede3795 7 ปีที่แล้ว +14

    literally the only video on youtube that gets right on the point! No bullshit intro, just right to point on what i need to know, Love it!

  • @pablofernandezesteberena7456
    @pablofernandezesteberena7456 4 ปีที่แล้ว +15

    A clarification for anyone arriving directly at this video like me: the definition of the chi squared statistic for a sample is the sum of (x-E(x))^2/s^2, where s^2 is the variance of the data. When the variable is Poisson-distributed, like in this case, then you are in the particular case where s^2=E(x), as appears in the video

  • @JelinekFS
    @JelinekFS 8 ปีที่แล้ว +54

    I have massive respect for your work, man! Thanks for making people throughout the world more educated, that´s one of the essential things this world needs. And it´s one of the essential things I need haha.

  • @radubirta6389
    @radubirta6389 9 ปีที่แล้ว +21

    This material helped me out a lot! I know about khan academy since about 5 years ago and i just want to tell you guys to keep doing what you are doing, you probably account for more than 40% of my education

  • @tmskatap
    @tmskatap 12 ปีที่แล้ว +221

    you are the reason im getting a degree at harvard

    • @rohailshah9938
      @rohailshah9938 4 ปีที่แล้ว +51

      Did u get that degree bro it's been 7 years can I get a update?

    • @CheetahNuggs
      @CheetahNuggs 4 ปีที่แล้ว +25

      hes also the reason your degree is overpriced

    • @bakhodiryakubov3981
      @bakhodiryakubov3981 4 ปีที่แล้ว +3

      I wonder if you had to also watch his videos to study for stat tests at Harvard ;)

    • @randomman1000tweeny1
      @randomman1000tweeny1 3 ปีที่แล้ว +12

      @@bakhodiryakubov3981 I'm doing a Master in Physics at Oxford and I've found these videos more useful then my statistics lectures lol

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

      @@randomman1000tweeny1 wow didnt expect that

  • @thomassteffora2210
    @thomassteffora2210 3 ปีที่แล้ว +5

    it's relieving to read others in higher levels of school similarly benefiting from these vids. They're a lifesaver. Thanks Sal!

  • @seltzerwater9052
    @seltzerwater9052 8 ปีที่แล้ว +448

    When the AP test is in 2 hours and you're finally trying to study 😬

    • @whostolemyTV
      @whostolemyTV 7 ปีที่แล้ว +51

      Statistics is fucking impossible to study for. I've never taken such a dry class in my life

    • @erwinjedracho640
      @erwinjedracho640 7 ปีที่แล้ว +20

      i study the time im taking the test

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

      Why do you think it is boring? personally I quite enjoy it.

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

      I’m actually cramming for a university exam in like 4hrs...

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

      @@stoirmdraodih6810 same right now

  • @thtprettiichick6920
    @thtprettiichick6920 10 ปีที่แล้ว +29

    Thank you so much! You just taught me how to calculate Chi-squared and my finals are tomorrow. :)

  • @PearlAlex
    @PearlAlex 6 ปีที่แล้ว +28

    Man, Sal, i thought i was done with khanacademy in grade 12 and here i am in my final semester of engineering :')

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

    Thank you!! This example helped me a lot in understanding other purposes of Goodness-of-fit test. Really appreciate it!!

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

    What a classic video!!!!.... Understood almost everything in 15 mins

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

    so the p-value would be 0.043293 which is < 0.05 so reject the null hypothesis - same result as using critical values 11.07 < 11.44.

  • @shivanshjha
    @shivanshjha 10 หลายเดือนก่อน

    13 years ago , still holds its title for the best explanation ❤❤

  • @alexisharris886
    @alexisharris886 4 ปีที่แล้ว +1

    This video was suggested by my bio professor & he was 101% right. This video makes it super easy :) thanks

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

    1st year AP Stat teacher loves Khan videos... Thank you Sal :)

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

    I have an exam tomorrow you saved me

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

    Over 7 years and this is still very useful :)

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

      12 years now
      and its still helpful

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

    graduate level student is learning from Khan videos... Awesome. thank you Khan academy.

  • @1348babakjoonable
    @1348babakjoonable 6 ปีที่แล้ว +43

    It is very unfair to dislike this tutorial.

  • @bartcase
    @bartcase 13 ปีที่แล้ว

    It's quite funny how every time you say "statistic" you have to slow down and make an effort to get it right. But seriously, I've watched most of your videos from the stats playlist and it's been a great deal of help. Thanks Sal!

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

    Perhaps the best chi2 explanation that I have come across. Thanks

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

    KhanAcademy + GPT 4 explanation is the BEST

  • @JizzontheToilet
    @JizzontheToilet 13 ปีที่แล้ว +28

    Its Funny how I pay my professors/school thousands of dollars per semester and yet Khan always teaches me better for free.

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

      Pay khan sir as well than if you feel like this

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

    Sal, another clear video. However, may be you could have talked a little bit as to why chi-sq is appropriate for this particular type of problem (or similar type) - how would a student know when to select the same distribution for a problem at hand.

  • @aditya.gurung24
    @aditya.gurung24 12 ปีที่แล้ว +1

    man this is a gem....

  • @TheMissionalNomad
    @TheMissionalNomad 12 ปีที่แล้ว +6

    it amazing how well he writes with the mouse. It honestly amazes me.

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

      Probably a digital pen

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

      @@CrunchyDark 8 years ago I didn't know about this technology FFS looool

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

      @@TheMissionalNomad It's all good :) it happens to all of us. Sometimes I have ideas for new technology but then I check online and it already exists :P

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

      @@TheMissionalNomad surprised that you replied ! Do you get notifications of all your comments , I mean the ones which are like 3-4 yrs old ?

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

    At last! Math & statistics feel approachable due to you. Thank you, Khan Academy!!!

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

    Wow, that was a very nice example and intro to chi-square! Great job, Sir Khan!

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

    This will go down as one of the most clutch explanations of all time

  • @EvanZamir
    @EvanZamir 4 ปีที่แล้ว +1

    The Chi-Square distribution is a sum of squares of standard normal variables Zi. What this test is doing is assuming that the squared errors between the observed and expected distributions are distributed ~ Chi-Square. Makes it a bit easier to understand the test when you understand the motivation behind using the Chi-Square distribution.

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

    Well explained,,,,thank you sir

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

    Very explicit. Thank you.

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

    Thank god for you khan academy.

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

    Thank you very much.....excellent explanation

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

    Thank you soooooooo much. You are the best teacher EVER!!!

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

    great explanation!

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

    Thank you got an exam in 2hrs

  • @GooiYingChyi
    @GooiYingChyi 11 ปีที่แล้ว +1

    Thanks a bunch. It helped me with the homework.

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

    This man is a storyteller.

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

    Very nice, thank you for explaining this

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

    Thanks for this test. Made it much clearer.

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

    This was so helpful! Thank you Khan Academy and you guy who made this!

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

      David Hager The guy who made the video is Khan, it's one guy that made evrything basically.

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

    many thanks once again

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

    Woah! I see and I understand! Thank you!

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

    Fantastic video. I teach Stats & forgot how to do this. Great refresher

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

    *subscribes as a thank you for cutting some of the unending stress I am exuding from my stats final in 5 hours* *nervous smile*

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

    This cleared a few points up. Good video from Khan.

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

    well explained and clear and easy to understand. thank you xx

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

    thank you very much!

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

    Wow you explained this so well, I actually got it! Thank you :)

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

    hopefully the complete problem will be stated.. thank you

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

    thank you soo much for uploading....amazing explanation...so much clarity

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

    This is so beautifully done, many thanks.

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

    I wish my high school trig teacher would just play your videos!

  • @geewhizschnitzel
    @geewhizschnitzel 5 ปีที่แล้ว +1

    1:53 What is trying to be said with"a result more extreme than this". Is it a distribution that fits the Owners Distribution less ?

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

    Thank you fam

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

    THANK YOU

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

    REALLY WELL EXPLAINED KHAN ACADEMY - WELL DONE

  • @zencoweb
    @zencoweb 14 ปีที่แล้ว

    great teaching skills

  • @uwaisfiras1234
    @uwaisfiras1234 5 ปีที่แล้ว +13

    Good luck students taking the AP statistics tmr! Pray for me guys

  • @techtata3504
    @techtata3504 14 ปีที่แล้ว

    @neoaeonian
    well, it is actually correct, because chi^2= Sum [ (Observed-Expected)^2 / Expected ] Note that the denominator is not squared.

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

    Thanks for the video, this just explains how to, but is there a video on why the difference between observed and expected follows Chi-squared test? And also does the expected distri (e.g. normal vs binomal vs possion) matter? what is the proof for that?

  • @UoCvodka
    @UoCvodka 13 ปีที่แล้ว

    i dont have enough words to thank

  • @Nickiller6969
    @Nickiller6969 13 ปีที่แล้ว

    it's funny how you always repeat yourself but that makes your video's so easy to understand! thanks for your help!

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

    Thank youuuu it really helped 👍🏻💙

  • @WheresPoochie
    @WheresPoochie 8 ปีที่แล้ว +4

    Saved. My. Life.

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

    AP STATS exam today, thanks alot!

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

    really great, thanks

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

    Well explained, thank you!

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

    superb video

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

    Great explanation and sample. Just what I was looking for. Thanks.

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

    Thankyou very much for this, the explanation is so clear and so good.

  • @Mustang030988
    @Mustang030988 13 ปีที่แล้ว

    Amazing Help, 5/5.

  • @2828jordan
    @2828jordan 4 ปีที่แล้ว +1

    I feel this initial presumption is wrong. Null Hypotheses should always start with "negative".

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

    Awesome explanation

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

    thank you so much :)
    question; do they always give you the percentage for the expected? because in all that i have done i had to either multiply the row total by the column total divided by the grand total or either dividing the total amount of scores by the amount of levels (the no. of days in this case) was i doing it wrong?

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

    awesome! Thanks so much!

  • @jeffclomin883
    @jeffclomin883 12 ปีที่แล้ว +3

    Hi ! In the chi square test, each random variable follows a normal distribution N(0,1). However, when you compute the sample chi square statistic, you add terms like ( (Oi - Ei) ** 2 ) / Ei. I don't understand how those terms can be seen as samples from N(0,1)

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

      Did you finally understand them?

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

    THANK YOU :* video is comprehensible :)

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

    Thank you - this was so helpful!

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

    Thank you for that Sir.

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

    Thank you. Thank you. Thank you!

  • @cinthiai
    @cinthiai 13 ปีที่แล้ว

    Turns out I actually do get Chi-Square Test after watching this.
    Thank YOU so much!

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

      haha and 8 years later after you wrote this, another soul somewhere was saved too. haha

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

    Thanks a lot for the explanation. What would happen if the random variables were not independent? Would it still follow Chi square distribution? How would it affect the degree of freedom?

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

      i suppose usually for simplicity sake we always assume random variables are independent

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

    thank you so much

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

    Thanks for this video...I read the 1st couple of page in my Elementary Statistics book and was sooooooooo confused. You made this so clear! The only thing was your df (degrees of freedom)...I thought this was supposed to be number of columns minus one x number of rows minus one.

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

    AP Stat Test Tomorrow, life-saver!

  • @Nandine2
    @Nandine2 14 ปีที่แล้ว

    Hey can you do some videos on error propagation to go with your statistics videos?
    thanks

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

    ik its been a decade but thank you so much, hypothesis tests in general confuse me a lot

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

    thank you

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

    what is the explanation of when the number of sample goes up with same probability and pattern, the resulting hypothesis changes from accepting H0 to rejecting H0?

  • @AbhishekSharma-lo8tf
    @AbhishekSharma-lo8tf 5 ปีที่แล้ว +3

    Hi! thanks for the amazing content. Just a little question on the assumed null hypothesis: don't we usually take the "NO news" kind of thing in null. I mean would it be more conventional if we state the null hypothesis to be: "Owner's distribution is incorrect"

    • @2828jordan
      @2828jordan 4 ปีที่แล้ว +1

      Thats true, in his other video on "Chi square test for association (independence)", he mentions null hypothesis is "Negative". Seems like a contradiction. Did you find the answer?

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

      @@2828jordan I have the same question here. Anyone find anything?

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

      The null hypothesis here should be that there is no statistical significance between the expected frequency and observed frequency (owner is right). As proven in the video, the null hypothesis is rejected. Hence, there IS a statistical significance between the expected frequency (provided by the owner) and the observed frequency. In conclusion, the owner is wrong.

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

    Thank U!!

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

    thanks for the good video :)

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

    thanks man...

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

    is there another video like this where it shows the formulas for each step? thanks

  • @fattyfetz
    @fattyfetz 14 ปีที่แล้ว

    @CogitoErgoCogitoSum this test is a non-parametric statistical test therefore you would use it when you cannot obtain the population parameters μ and σ

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

    So you would use this Chi Square goodness of fit test to determine whether a set of data came from a particular distribution?