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

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

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

  • @Netanos
    @Netanos 12 лет назад +49

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

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

  • @jantines6840
    @jantines6840 8 лет назад +26

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

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

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

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

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

  • @LoraEv-r8i
    @LoraEv-r8i Год назад +2

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

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

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

  • @kareemjeiroudi1964
    @kareemjeiroudi1964 6 лет назад +1

    Khan Academy videos have always been my favorites.

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

    Really help full even after 11 year

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

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

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

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

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

      you are stupid

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

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

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

  • @prats.7105
    @prats.7105 Год назад

    Thank You Mr. Khan

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

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

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

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

  • @clairewang6054
    @clairewang6054 6 месяцев назад

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

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

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

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

    Exam next week, you saved my life!

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

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

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

    I wish my lecturer in university were you!

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

    Just what I need. Thanks a lot!

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

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

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

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

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

    Thank you so much

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

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

    so helpful!! thank you!

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

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

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

    Sal my man you are a legend

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

    yay i finally understand this
    thankyou! god bless

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

    Thank you Khan! Keep going! YOu rock!

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

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

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

  • @eh2028
    @eh2028 8 месяцев назад

    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?

  • @RainbowPaint
    @RainbowPaint 8 лет назад +1

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

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

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

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

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

    is it only for contigency table?

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

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

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

    Is SSB equal to Factor sum of squares?

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

    Watching this in 2023

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

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

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

    6 - 4 = 2

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

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

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

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

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

  • @מאיהברזילי-ג8ו
    @מאיהברזילי-ג8ו 5 лет назад

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

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

  • @XenomorphLV426
    @XenomorphLV426 14 лет назад

    beauty!

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

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

    SST=SSB+SSW
    TSS=ESS+SSR

    •  8 лет назад

      +Khaled Schakib SSW = SSE ?

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

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

    why m-1 degree of freedom on ssb?

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

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

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

    how to prove that SST=SSTR+SSE ?

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

      en.wikipedia.org/wiki/Partition_of_sums_of_squares

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

    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?

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

    how do you know if blocking is effective?

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

    I died somewhere around the 3:00 mark.

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

    SSB=SSE

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

  • @elijahizere
    @elijahizere 10 лет назад +3

    GO SAMSUNG WHITE

  • @wookiemaster73
    @wookiemaster73 14 лет назад +1

    first

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