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

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

КОМЕНТАРІ •

  • @JaneLubaleOtieno
    @JaneLubaleOtieno 9 років тому +16

    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.

  • @Netanos
    @Netanos 12 років тому +51

    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 3 роки тому +1

      Brooooooo thank you so much hahaha

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

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

  • @ihsanulkamil1999
    @ihsanulkamil1999 Рік тому +1

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

  • @jantines6840
    @jantines6840 9 років тому +26

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

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

      you are stupid

  • @LoraEv-r8i
    @LoraEv-r8i Рік тому +2

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

  • @Captain_Camo
    @Captain_Camo 2 роки тому +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.

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

  • @chiefwakanda2889
    @chiefwakanda2889 Рік тому +1

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

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

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

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

  • @mutiantait
    @mutiantait Рік тому +1

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

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

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

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

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

  • @abasiodiong0001
    @abasiodiong0001 Рік тому +2

    Watching this in 2023

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

    Khan Academy videos have always been my favorites.

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

    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.

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

    Really help full even after 11 year

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

  • @kanakvashisht3163
    @kanakvashisht3163 3 роки тому +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

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

    Exam next week, you saved my life!

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

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

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

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

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

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

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

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

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

    I wish my lecturer in university were you!

  • @prats.7105
    @prats.7105 2 роки тому

    Thank You Mr. Khan

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

  • @clairewang6054
    @clairewang6054 8 місяців тому

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

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

  • @rdboaventura
    @rdboaventura 14 років тому

    Just what I need. Thanks a lot!

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

    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?

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

    is it only for contigency table?

  • @jeffgreen2194
    @jeffgreen2194 7 місяців тому

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

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

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

  • @carissatimhoyt9507
    @carissatimhoyt9507 11 років тому +1

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

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

    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!

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

    yay i finally understand this
    thankyou! god bless

  • @chelsea-annefrost7886
    @chelsea-annefrost7886 11 років тому

    Thank you so much for your help !!

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

    Sal my man you are a legend

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

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

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

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

    Thank you so much

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

    Thank you Khan! Keep going! YOu rock!

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

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

    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.

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

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

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

    Is SSB equal to Factor sum of squares?

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

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

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

  • @patriciazemke1123
    @patriciazemke1123 2 роки тому +1

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

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

    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?

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

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

      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'

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

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

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

  • @מאיהברזילי-ג8ו
    @מאיהברזילי-ג8ו 5 років тому

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

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

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

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

    I died somewhere around the 3:00 mark.

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

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

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

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

    why m-1 degree of freedom on ssb?

  • @hibanasser4944
    @hibanasser4944 8 років тому +2

    how to prove that SST=SSTR+SSE ?

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

      en.wikipedia.org/wiki/Partition_of_sums_of_squares

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

    SSW = SSE ?

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

    how do you know if blocking is effective?

  • @RapMasterC
    @RapMasterC 10 років тому +1

    SST=SSB+SSW
    TSS=ESS+SSR

    •  8 років тому

      +Khaled Schakib SSW = SSE ?

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

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

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

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

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

    6 - 4 = 2

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

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

  • @XenomorphLV426
    @XenomorphLV426 14 років тому

    beauty!

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

    SSB=SSE

  • @elijahizere
    @elijahizere 10 років тому +3

    GO SAMSUNG WHITE

  • @wookiemaster73
    @wookiemaster73 14 років тому +1

    first

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

    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!