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...
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
what are you doing now bro
Brooooooo thank you so much hahaha
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.
for df: you can also just do (N-k) to get the df. N: total number of samples, and k: is number of groups.
My prof taught me nothing and final exam is tomorrow
You taught me so much
Thank you so much
not confusing at all, makes it look quite simple! thanks
So true
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.
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 🤦♂️.
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.
SUPERB! thanksss. now i know why my calculations is wrong ;)))
Hi Sal! I think SSB was calculated wrong, because here was my math:
SSB = ((3*12) + (3*0) + (3*12)) = 39
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.
SSB = SS(Estimate) and SSW = SS(Residual) !! OH GOD this video confused me until i reconciled the notation. I initially thought SSB = SSR
thankyou! i was trying to figure that out myself!
+Asma Patel SSE = SSW?
+Hannah Jones SSE = SSW?
you are stupid
I actually have a chance at not repeating/passing this stats class! Thank you!
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
I read my statistics text book and I get these subjects... I watch Kahn Academy videos and I GET these subjects... thank you.
Oh my gosh I actually understood the concepts now!! Thank you!
Easy way to find df for anyone struggling: Between df = k-1, within df = N-k
Really help full even after 11 year
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!!!! :)
Khan Academy videos have always been my favorites.
Thank you , you helped me to understand and my final exam is after 2 hours & I will beat it 💞
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!
OMG that's amaing, the truth of the world indeed embeded in math
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..
Thank you for actually showing why this works instead my textbook just listing a bunch of formulas. -_-
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.
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
Thank You Mr. Khan
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
I was looking how SSW works a long time ago thank God I found video
I wish my lecturer in university were you!
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.
I wished I watched these videos at the beginning of my term and not at the end, after two Ds....
Exam next week, you saved my life!
I get it, why do I go to class, when I can watch you video, THANK YOU!
Just what I need. Thanks a lot!
@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.
Thank you so much for your help !!
@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.
yay i finally understand this
thankyou! god bless
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...
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?
so helpful!! thank you!
Sal my man you are a legend
Thank you so much
Thank you Khan! Keep going! YOu rock!
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)?
1:49 you forgot to include (5-3)^2 !
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?
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?
For Sal "Excellence is not an act but a habit".. Thank you SAL :)
Can you explain where the 3 came from at 10:06 when the answer became 24?
@eternalko
Sorry, the comment was to the prev. video. Now I get the logic behind it :)
Excuse me,May I ask....What recorder application that u use to record the vedio?😊 Thank you
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.
Could you please redo the video and perhaps do written math instead of in your head?
is it only for contigency table?
Is this a one way Anova or two way Anova
Watching this in 2023
SSW = SSE ?
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
that was about contingency tables this is a different kind of staff(ANOVA)
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?
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'
Is SSB equal to Factor sum of squares?
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*
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.
I don't understand SSB formulation. Please someone explain this to me.
Is the SSW another way of saying SSE? SSE is what I learned, but they look the same.
the video is not working, I can only hear the sound..
why m-1 degree of freedom on ssb?
6 - 4 = 2
i need help asap: i only have n, standard deviation and average. how do i calculate SSG from only this?
Derp two years later no help huh buddy. Hope you made it work somehow
I'm not so happy with this video. It had helped me, but still confused with his 'this and that'
how to prove that SST=SSTR+SSE ?
en.wikipedia.org/wiki/Partition_of_sums_of_squares
My professor did not even do a problem he puts words into powerpoints and thinks that helps
beauty!
SST=SSB+SSW
TSS=ESS+SSR
+Khaled Schakib SSW = SSE ?
so SST = SSW+SSB is also SST = SSE+SSTr right?
Yeah
Is this one-way ANOVA?
I think it is yeah because there's only one predictor variable. Please correct me if I'm wrong :)
how do you know if blocking is effective?
I'm gonna go get the papers, get the papers
I died somewhere around the 3:00 mark.
wait is SSB the same as SSA? Sum of squares among?
+Janelle Ang well i am also confused. is SSE = SSW?
Khan, De-obfuscator of Mathematics.
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.
SSB=SSE
first
GO SAMSUNG WHITE
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!