ANOVA 2: Calculating SSW and SSB (total sum of squares within and between) | Khan Academy

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Courses on Khan Academy are always 100% free. Start practicing-and saving your progress-now: www.khanacadem...
    Analysis of Variance 2 - Calculating SSW and SSB (Total Sum of Squares Within and Between).avi
    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...

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

  • @Netanos
    @Netanos 11 ปีที่แล้ว +48

    For all students out there :), I found this to be quite nice information figuring out Khan Acadamys notation compaired to notations of professors or books on statistics. (I find that Khans notation of SST, SSB and SSW makes much more sense)
    SST = SS_Y, SSB = SS_T, SSW = SS_E .
    Provided by my proffessor:
    SS_Y = SS_T + SS_E
    Total = Treatment + Error
    Total = Between + Within
    Observation = Model + Redisual
    (All 4 ways of writing the same thing), now adding Khan Notation
    SST = SSB + SSW

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

      what are you doing now bro

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

      Brooooooo thank you so much hahaha

  • @JaneLubaleOtieno
    @JaneLubaleOtieno 9 ปีที่แล้ว +14

    Oh My God. Daily for a week I have been trying to understand this ANOVA subject, SSB, DF, SSW. I have read lots of books and went through lots of videos. You have made me understand like a grade one student. I am sure with this I will pass my statistics exam. You are an angel sent from Heaven.

  • @davidgamez-alvarez5701
    @davidgamez-alvarez5701 9 ปีที่แล้ว +19

    for df: you can also just do (N-k) to get the df. N: total number of samples, and k: is number of groups.

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

    My prof taught me nothing and final exam is tomorrow
    You taught me so much
    Thank you so much

  • @jantines6840
    @jantines6840 8 ปีที่แล้ว +26

    not confusing at all, makes it look quite simple! thanks

  • @lachlansandbrook640
    @lachlansandbrook640 10 ปีที่แล้ว +53

    Can you take my lectures job because what took her 40 mins to explain (poorly might I add) you did in less than 14 mins.

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

      That's my feeling about my lecturer as well.
      And I'll never understand how some TH-cam tutorials are 100 times better made than classes of university graduates 🤦‍♂️.

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

      My statistic teacher spent 3 hours on the material covered here in 3 videos. After looking at all of the nonsensical notes from the lectures, I gave up and found these. I understand it clearly now.

  • @ihsanulkamil1999
    @ihsanulkamil1999 10 หลายเดือนก่อน +1

    SUPERB! thanksss. now i know why my calculations is wrong ;)))

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

    Hi Sal! I think SSB was calculated wrong, because here was my math:
    SSB = ((3*12) + (3*0) + (3*12)) = 39

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

    This is the best explanation I've seen on ANOVA. I still don't understand what you said, but the explanation was wonderful. Bird frog minus penguin equals pancake.

  • @blackphoenix1207
    @blackphoenix1207 10 ปีที่แล้ว +18

    SSB = SS(Estimate) and SSW = SS(Residual) !! OH GOD this video confused me until i reconciled the notation. I initially thought SSB = SSR

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

      thankyou! i was trying to figure that out myself!

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

      +Asma Patel SSE = SSW?

    •  8 ปีที่แล้ว

      +Hannah Jones SSE = SSW?

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

      you are stupid

  • @LEV-jk1tx
    @LEV-jk1tx ปีที่แล้ว +2

    I actually have a chance at not repeating/passing this stats class! Thank you!

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

    This really was a tremendous presentation - it brought to life the ANOVA explanation. In the text books this is very dry and difficult to follow. This chap has explained it very clearly and eloquently. Well done!
    Athar

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

    I read my statistics text book and I get these subjects... I watch Kahn Academy videos and I GET these subjects... thank you.

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

    Oh my gosh I actually understood the concepts now!! Thank you!

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

    Easy way to find df for anyone struggling: Between df = k-1, within df = N-k

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

    Really help full even after 11 year

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

    thank you to the moon and back!!!! I was sick friday and missed this lecture in class!! you just saved me from being extremely confused!!!! :)

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

    Khan Academy videos have always been my favorites.

  • @user-ku5ri9ce7p
    @user-ku5ri9ce7p 6 ปีที่แล้ว +4

    Thank you , you helped me to understand and my final exam is after 2 hours & I will beat it 💞

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

    FYI... SST here means Sum of Squares of Total, NOT Sum of Squares of Treatment (which I think is SSB here). It took me 30 min to figure that one out!

  • @clairewang6054
    @clairewang6054 4 หลายเดือนก่อน

    OMG that's amaing, the truth of the world indeed embeded in math

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

    My class calls them SST (total), SSTreatment and SSE (error). Was doing some calculations on the side while watching and didn't notice until pretty late they were the same, haha. Great video. Now to catch up on the other 2 weeks..

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

    Thank you for actually showing why this works instead my textbook just listing a bunch of formulas. -_-

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

    Thanks to Khan Academy I no longer attend me STAT class. Why? Because this guy is a million times better then my professor whos been teaching statistics for over 15 years.

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

    It would perhaps be more appropriate to represent sum of squares between groups by "SSG" instead of "SSB", since "SSB" is generally used to represent sum of squares between blocks, regarding two-way ANOVA

  • @prats.7105
    @prats.7105 ปีที่แล้ว

    Thank You Mr. Khan

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

    can anyone tell me how we determine the degree of freedom as in the video we've used it differently like mn-1 for ssw, m-1 for ssb , I wanna know why they are different

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

    I was looking how SSW works a long time ago thank God I found video

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

    I wish my lecturer in university were you!

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

    Thank you! I have been working on a project and could not find a clear explanation of how to calculated SSB! I figured out SSW but was stuck for over an hour on SSB.

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

    I wished I watched these videos at the beginning of my term and not at the end, after two Ds....

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

    Exam next week, you saved my life!

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

    I get it, why do I go to class, when I can watch you video, THANK YOU!

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

    Just what I need. Thanks a lot!

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

    @thelastbattle
    degrees is something I dont think I will ever understand. but i look at it like this.
    the only true way to calculate sd is if we know the probabilities of each value in our sample. since we dont, and assume all values have the same probability we have to make our standard deviation a little bigger by introducing degrees of freedom.

  • @chelsea-annefrost7886
    @chelsea-annefrost7886 11 ปีที่แล้ว

    Thank you so much for your help !!

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

    @thelastbattle19 It's the size of your sample minus 1. So if you are sampling 20 peoples' test scores, there are 19 dF. Sal gives the reasons in these vids.

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

    yay i finally understand this
    thankyou! god bless

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

    I was always taught TSS=ESS+RSS (total=explained+residual). Why do they have to make it so confusing? Then you feel like you're relearning it with each teacher...

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

    the only ways I know to get sst and ssb are thesecalculating SST, starting from first column to the third:SST: 3square + 2square + 1square + 5square + 3square + 4square...7square - the total sum of all 36 / how many numbers we have 9 = 174 - 4 = 170calculating SSB, by getting the total sum of first column, second and third:SSB: (6)square + (12)square + (18)square / how many rows we have 3 - the total sum of all (36)square / how many numbers we have 9 = 168 - 144 = 24to get SSE:SSE=SST-SSBI got finals exam tomorrow I don't think I will need to try another way but are those correct?

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

    so helpful!! thank you!

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

    Sal my man you are a legend

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

    Thank you so much

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

    Thank you Khan! Keep going! YOu rock!

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

    First of all, great tutorial! Got sick and tired of not being able to understand two-way ANOVA because of my professor's terrible handwriting and horrible pace. One thin I am stil confused on, so SSW and SSB considered the same thing when they as for SSA (Row A) & SSB (Column B)?

  • @jeffgreen2194
    @jeffgreen2194 3 หลายเดือนก่อน

    1:49 you forgot to include (5-3)^2 !

  • @eh2028
    @eh2028 6 หลายเดือนก่อน

    For SSB why do repeat the variance for each element in the table. Can't we just get the SSB by: (2 - 4)^2 + (4 - 4)^2 + (6 - 4)^2?

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

    When we add the variance of within and between, it doesn't equate to that of the total. I am taking variance as sum of square 'required' / degrees of freedom. Any idea?

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

    For Sal "Excellence is not an act but a habit".. Thank you SAL :)

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

    Can you explain where the 3 came from at 10:06 when the answer became 24?

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

    @eternalko
    Sorry, the comment was to the prev. video. Now I get the logic behind it :)

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

    Excuse me,May I ask....What recorder application that u use to record the vedio?😊 Thank you

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

    It makes sense they would both make up for all variation, but I don't understand mathematically or visually, how SSW + SSB will always be SST.

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

    Could you please redo the video and perhaps do written math instead of in your head?

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

    is it only for contigency table?

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

    Is this a one way Anova or two way Anova

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

    Watching this in 2023

  •  8 ปีที่แล้ว +5

    SSW = SSE ?

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

    Don't really get the df.
    Why in the prev video:Contingency Table Chi-Square Test
    we had the same table and df=(rows-1)(cols-1).
    We could, presumably, apply the same logic here. But we don't

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

      that was about contingency tables this is a different kind of staff(ANOVA)

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

    The number of degrees of freedom is calculated for an m-by-n table as (m-1)(n-1), so in this case (3-1)(3-1) = 2*2 = 4. How come it's m*n -1 here?

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

      Well.. d.f is originally calculated with m*n-1. The m*n means the total number of samples, and we can assume the last one so we do '-1'

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

    Is SSB equal to Factor sum of squares?

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

    OK so I followed along with my own data set, and I followed everything and understood why I was doing the calculations... and I still have something wrong. *cries*

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

    I thought Degrees of Freedom was (number columns - 1) x ( number of rows - 1)
    (3-1) x (3-1) = 4
    I'm still not sure how Sal got 6.

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

    I don't understand SSB formulation. Please someone explain this to me.

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

    Is the SSW another way of saying SSE? SSE is what I learned, but they look the same.

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

    the video is not working, I can only hear the sound..

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

    why m-1 degree of freedom on ssb?

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

    6 - 4 = 2

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

    i need help asap: i only have n, standard deviation and average. how do i calculate SSG from only this?

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

      Derp two years later no help huh buddy. Hope you made it work somehow

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

    I'm not so happy with this video. It had helped me, but still confused with his 'this and that'

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

    how to prove that SST=SSTR+SSE ?

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

      en.wikipedia.org/wiki/Partition_of_sums_of_squares

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

    My professor did not even do a problem he puts words into powerpoints and thinks that helps

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

    beauty!

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

    SST=SSB+SSW
    TSS=ESS+SSR

    •  8 ปีที่แล้ว

      +Khaled Schakib SSW = SSE ?

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

    so SST = SSW+SSB is also SST = SSE+SSTr right?

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

    Is this one-way ANOVA?

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

      I think it is yeah because there's only one predictor variable. Please correct me if I'm wrong :)

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

    how do you know if blocking is effective?

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

    I'm gonna go get the papers, get the papers

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

    I died somewhere around the 3:00 mark.

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

    wait is SSB the same as SSA? Sum of squares among?

    •  8 ปีที่แล้ว

      +Janelle Ang well i am also confused. is SSE = SSW?

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

    Khan, De-obfuscator of Mathematics.

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

    total=m.n-1
    between=m(n-1)
    within=m-1.
    sorry but my english is not so well, but i think that you have the problem in the calculation between groups. if you have the mean of each group you only need "6" of the values to complete all the table (3x3). I think that is the DF between groups.

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

    SSB=SSE

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

    first

  • @elijahizere
    @elijahizere 10 ปีที่แล้ว +3

    GO SAMSUNG WHITE

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

    This series is way confusing for me. You ping pong around and throw stuff out without explaining it. For instance you say you can find out the last number if you have the mean and the other number. Well GIVE AND EXAMPLE for God's sake! You've done this in several videos now and Degrees of Freedom is no more clear than when I first started watching!