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

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2010
  • Courses on Khan Academy are always 100% free. Start practicing-and saving your progress-now: www.khanacademy.org/math/stat...
    Pearson's Chi Square Test (Goodness of Fit)
    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: ruclips.net/user/subscription_...

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

  • @mcorving
    @mcorving 10 лет назад +604

    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 10 лет назад +22

      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 лет назад +42

      most statistic books should be burned anyway
      also statistic teachers

    • @ajuarichard4126
      @ajuarichard4126 4 года назад +1

      He is really amazing

    • @XKK85
      @XKK85 4 года назад +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 2 года назад

      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 9 лет назад +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 Год назад +1

      What do you do now?

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

      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!

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

  • @tmskatap
    @tmskatap 11 лет назад +205

    you are the reason im getting a degree at harvard

    • @rohailshah9938
      @rohailshah9938 4 года назад +46

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

    • @CheetahNuggs
      @CheetahNuggs 4 года назад +20

      hes also the reason your degree is overpriced

    • @bakhodiryakubov3981
      @bakhodiryakubov3981 3 года назад +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!

  • @radubirta6389
    @radubirta6389 8 лет назад +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

  • @pablofernandezesteberena7456
    @pablofernandezesteberena7456 4 года назад +12

    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

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

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

  • @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 6 лет назад +8

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

    • @stoirmdraodih6810
      @stoirmdraodih6810 5 лет назад +8

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

    • @justpelumii9986
      @justpelumii9986 5 лет назад +2

      @@stoirmdraodih6810 same right now

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

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

  • @erikerik3750
    @erikerik3750 9 лет назад

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

  • @ivancarlson953
    @ivancarlson953 4 года назад +4

    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.

  • @Dalenaxx3
    @Dalenaxx3 7 лет назад +2

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

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

  • @maziarghorbani
    @maziarghorbani 3 года назад

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

  • @thtprettiichick6920
    @thtprettiichick6920 10 лет назад +29

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

  • @mistyshawn4066
    @mistyshawn4066 8 лет назад

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

  • @abhirajbagayatkar8895
    @abhirajbagayatkar8895 3 года назад

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

  • @raiders5000YT
    @raiders5000YT 11 лет назад +1

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

  • @PearlAlex
    @PearlAlex 6 лет назад +26

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

  • @jenna.f.8882
    @jenna.f.8882 7 лет назад +2

    Awesome. Thank you.

  • @micamyehojeda2125
    @micamyehojeda2125 5 лет назад

    hopefully the complete problem will be stated.. thank you

  • @GooiYingChyi
    @GooiYingChyi 10 лет назад +1

    Thanks a bunch. It helped me with the homework.

  • @sunshineanddaisies01
    @sunshineanddaisies01 12 лет назад

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

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

  • @JizzontheToilet
    @JizzontheToilet 12 лет назад +28

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

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

    This is so beautifully done, many thanks.

  • @v1zm4n
    @v1zm4n 12 лет назад

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

  • @jdonnell
    @jdonnell 11 лет назад

    Thank you - this was so helpful!

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

  • @Firem1nded
    @Firem1nded 4 года назад +16

    I'm still a bit confused about the conclusion.
    The calculated value is higher than the critical value.
    The smaller the P-value, the more significant the result.
    The smaller the P-value, the higher the cricital value.
    Thus I'd assume the hypothesis should be accepted, rather than rejected.
    Otherwise I'd use a P-Value of 0.01 rather than 0.05 and the calculated value would be lower than the critical value and thus be accepted which makes no sense to me.

    • @davidnatingga3760
      @davidnatingga3760 2 года назад +4

      Realize the following fact. The more the observed data deviates from the expected data, the higher the differences between those values and so a higher Chi-squared value.

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

      Yes you would accept the null hypothesis if you had used a P-Value of 0.01. Lower P-value means you need stronger evidence for you to change your default assumption / null hypothesis. There is a greater than 1% chance the owner is right given what you saw. In the video he rejects the owner's distribution because it has a less than 5% chance.

  • @ABG_7
    @ABG_7 3 года назад

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

  • @mathrageous
    @mathrageous 12 лет назад +1

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

  • @geewhizschnitzel
    @geewhizschnitzel 4 года назад +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 ?

  • @SweetHeartDiamond5
    @SweetHeartDiamond5 6 лет назад

    Well explained, thank you!

  • @GoobNoob
    @GoobNoob 4 года назад

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

  • @IamMolifu
    @IamMolifu 7 лет назад +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*

  • @tuffy11111
    @tuffy11111 11 лет назад

    Thanks for this test. Made it much clearer.

  • @johannespkassing
    @johannespkassing 3 года назад

    Very nice, thank you for explaining this

  • @sheekaloca
    @sheekaloca 12 лет назад

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

  • @Pritamrussell
    @Pritamrussell 5 лет назад

    Thank you very much.....excellent explanation

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

  • @alexisharris886
    @alexisharris886 3 года назад +1

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

  • @badguy66626
    @badguy66626 6 лет назад

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

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

    Thank you so much for your great lecture videos! I have one question if I may. I followed from Chi Square Distribution video 1 to here. And just confused that is that (30-20)^2/ 20 an x^2 in your Chi Square distribution definition? Basically, is x = (one_observe - mean ) / sqrt(mean) a standard normal distribution? shouldn't it be (one_sbserve - mean) / standard_deviation a standard normal?

  • @kaleemhassan4155
    @kaleemhassan4155 6 лет назад

    THANK YOU :* video is comprehensible :)

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

  • @alexandrezuky
    @alexandrezuky 8 лет назад

    awesome! Thanks so much!

  • @cherry8064
    @cherry8064 4 года назад

    Thank youuuu it really helped 👍🏻💙

  • @1348babakjoonable
    @1348babakjoonable 6 лет назад +43

    It is very unfair to dislike this tutorial.

  • @amonoracheal9118
    @amonoracheal9118 4 года назад

    Thank you, amazing explanation

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

    Woah! I see and I understand! Thank you!

  • @salluishere
    @salluishere 12 лет назад

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

  • @aditya.gurung24
    @aditya.gurung24 11 лет назад +1

    man this is a gem....

  • @hahabearseathoney
    @hahabearseathoney 3 года назад

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

  • @matthewtheisen1923
    @matthewtheisen1923 6 лет назад +3

    Over 7 years and this is still very useful :)

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

    thank you very much!

  • @bibekanandabhattacharjee952
    @bibekanandabhattacharjee952 3 года назад

    Very explicit. Thank you.

  • @TheQsanity
    @TheQsanity 4 года назад

    Is anyone equiped to explain the history or logical background behind df = 5 and if we had 5 sums, we would be able to find out the 6th sum? Does it have something to do with fitting the summed values to the Chi squared curve and somehow knowing the 6th point from that?

  • @bgpeters22
    @bgpeters22 10 лет назад

    I remember when learning about this test that if the normalized value for one of the columns is less than a particular value, that you are supposed to group it with the next column until your combined normalized value is greater or equal to the specified value. If I'm not mistaken that number is 0.05. Am I correct? For example, if (Observed-Expected)/Expected = 0.02 for one column and the column to the right is 0.34. Then you would add 0.02 + 0.34 to get 0.36 and you'd lose a degree of freedom.

  • @measmusings
    @measmusings 4 года назад

    Can you please elaborate what 'extreme' means? It's used a lot in this video. Thanks!

  • @1991LATIFA
    @1991LATIFA 13 лет назад

    thank you .. that really helped me :)

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

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

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

    Thank you!!

  • @jacquelinecammaerts6400
    @jacquelinecammaerts6400 7 лет назад

    REALLY WELL EXPLAINED KHAN ACADEMY - WELL DONE

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

    great explanation!

  • @aylinalba4931
    @aylinalba4931 6 лет назад

    Thank god for you khan academy.

  • @innpower428
    @innpower428 8 лет назад +6

    Thank you got an exam in 2hrs

  • @beatz3279
    @beatz3279 5 лет назад

    What is the t value u enter when creating a table. And the a= . Is a=.05. So a chi sqaure test was conducted for goodness of fit (a=??)

  • @klat285
    @klat285 11 лет назад

    Thank you. Thank you. Thank you!

  • @marciroxas7653
    @marciroxas7653 11 лет назад

    Thank you for that Sir.

  • @seabeast07
    @seabeast07 10 лет назад

    really great, thanks

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

    After rejecting the null hypothesis, how might one go about investigating the "true" or better expected percentages?

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

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

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

    Thank you!

  • @WheresPoochie
    @WheresPoochie 7 лет назад +4

    Saved. My. Life.

  • @bengper8044
    @bengper8044 5 лет назад

    Dude, you a genius!!

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

    many thanks once again

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

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

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

  • @christinekamunyi
    @christinekamunyi 3 года назад

    Well explained,,,,thank you sir

  • @dara9837
    @dara9837 7 лет назад +1

    why does the X² test divides to the expected value and not the variance?

  • @justpelumii9986
    @justpelumii9986 5 лет назад

    Thanks for this!! My exams are in 3 days time.

  • @mariman134
    @mariman134 11 лет назад

    dude, just ..... thank you !!!

  • @burhanuddintelwala3398
    @burhanuddintelwala3398 4 года назад

    Thank you so much

  • @kirbyy
    @kirbyy 12 лет назад

    thank you so much, you're a god among men

  • @42342364376436487264
    @42342364376436487264 12 лет назад +1

    AP Stat Test Tomorrow, life-saver!

  • @Nickiller6969
    @Nickiller6969 12 лет назад

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

  • @gavinblonda1685
    @gavinblonda1685 3 года назад

    THANK YOU

  • @iris8300
    @iris8300 6 лет назад

    thank you so much

  • @asaadajeelbustan4916
    @asaadajeelbustan4916 7 лет назад

    Hi, ..can you please suggest a test to see if there is a difference between 2 groups of female mice (treated and untreated) with respect to the number of male and female pups delivered.

  • @KaushikPoojari
    @KaushikPoojari 8 лет назад

    Thank You :D

  • @wahhmann123
    @wahhmann123 11 лет назад

    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?

  • @Nandine2
    @Nandine2 13 лет назад

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

  • @hajirafatima7892
    @hajirafatima7892 4 года назад

    As null hypothesis means that attributes are not related so how owners distribution is correct? Please explain I'm confused about that statement

  • @Kanzu999
    @Kanzu999 5 лет назад +1

    One thing I don't entirely understand is why do we almost always choose a significance level of 5%? And what exactly would we gain or lose if we make it more or less than 5%? If we make it higher than 5%, doesn't it then make the hypothesis more difficult to accept, since it would require more accuracy to accept it? This would seem to make it more easy to reject a true hypothesis, but at the same time, doesn't it also make it more likely that we won't accept a false hypothesis?
    Edit: I read that medical experiments have a tendency to choose a significance level of 1%, but wouldn't it be safer to choose a higher significance level, so that a false hypothesis won't be accepted, or did I misunderstand something?

    • @kmn1794
      @kmn1794 5 лет назад

      The choice of a significance level will be appropriate, not only to the industry but the precision of available techniques. If your measuring/quantification techniques have an accuracy of micrometres choosing a significance that equates to an accuracy of nanometres is not only inappropriate but impractical.

  • @gloriaa0214
    @gloriaa0214 9 лет назад

    Thank U!!

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

    thank you