At this point, its 3am. I'm kinda sleepy, but not sleepy enough to get off of youtube. I find this so fun to learn that i got my notebook out and started writing this stuff down. Talk about an excellent teacher... :P
Ah, I understand. taking the average of the absolute values would give you the absolute deviation. The variance is a squared deviation, by definition. I'm still not so sure why in what cases it would be more useful than the absolute deviation.
I'm no mathematician, but I think it's because the properties of the sum-of-the-squares function, the sum-of-abs-dif func is non-linear, causing some problems not to have closed formula solution. Actually the formula for sample variance sum((xi-mean)^2)/n can be derived as a maximum likelihood estimation of population var., meaning that the calculated value is "most likely" close to the correct value under the assumption that the numbers xi follow the Gaussian distribution.
I have this packet due the day i go back to school from spring break and i had forgotten the examples my teacher showed me but i was intellegent enough to actually realize we are living in modern times and technology is a big help so is youtube..lol
Thanks and i give my appreciation for taking the time to help those like me on some real shittttt..xD
i have recieved 2 messages about my past comment. i want to clear this and say that was a friend. im not one to argue. it's a waste of time. EVEN MORE on youtube with strangers
@blaznsnow thats not his handwriting thats his mouse pointing "_", his later vids it looks like he has a digital pad or something cause its his actual handwriting.
not sure why, but Sal, you have some kind of magic and I'm beginning to get it, exam is in 3 days, a little late maybe, hopefully I can still pass Stats, thank you so much! I still need to get correlation and regression, so if you have any spare time in the next 72 hours....its ok....thanks again
If you've done randomized blocks you should enjoy my proof for an r value for blocks that indicates orientation to an external gradient. The vid is a layman's explanation, but the website has the detailed proof.
I've always wondered why the difference between the mean and xi is squared. Does this have a particular purpose? Why does it have to be squared why not just take the difference and divided it by N and leave the sqauring of the numbers out of the equation
as i understand it, there are two ways to make something positive; take the absolute value or square it. they chose to square it.
of course, u can just use standard deviation (square rt of the variance) if you want a measure of spread/dispersion that uses the same units as your data pts. :)
It has to be squared so as to get a magnitude of the difference and not the sign. You could have taken the modulus but I guess the guys thought that square was just easier to work around with for later results.
In easy terms, if you just add the difference of each data from the mean you would get zero as the result. Visualise this. Mean would be right in the center of your data points. Right?? If you take the sum of the distances of each point from the mean, because the mean is in the center, you would have as much distance (of the points on the left hand side) as you would have on the Right Hand Side. Hence their sum would come to zero. Hope this helps.
Absolute values are not that easy to manipulate 'algebraically'. Squares have been used as acceptable substitute for the 'absolute operator/function' throughout maths and physics.
PS:- If you have to write an absolute function in terms of 'basic' operators, it goes something like this. ABS(x)={x: if x is greater than or equal to zero OR -x: if x is less than zero}. So any further operation you do will have to take these cases. You see why this would get complicated. Hope this helps.
So you basically say absolute values are more exact but not used since the modification of formulas considering absolute values is much more difficult?
"exact" would not be the correct word here. Variance is a measure of dispersion of data about the mean. That is that. It gives "a measure" of the average distance data points are from mean, but not the average distance itself. Now we can define another value, say VAR2 that is defined as the mean of distances of data points from the mean. Here the absolute value would be used and . That would be a measure of dispersion as well. 'Perhaps' a better measure.
My point is that variance is difficult to visualize in your head. 'VAR2' ( defined in my previous comment) is easier to define, visualize and understand. But its not used because of the associated calculation issues.
PS:- I am not an authority on the subject. Even if I was, questions like these are still being debated. I hope this explanation helps.
Hi there, the reason that squared errors are generally used instead of absolute values of the errors is because of convenience. Squares can easily be differentiated, this leads to many important results in statistics that are derived from calculus without having to worry about points where the derivative does not exist(as is the case with absolute value)
You Saved my Life. I pay $2,000 for summer classes and $200 for a text book and at the end of the day this is the only way i learned this stuff. Thank you.
i hat u an i hops tha u die cuz yur gauy an ya prolly jus sit a hom an fuk yurself cuz yur gay an stoopid so ya don kno thet yur not 'nother person! i thin tha yu like ta fuk raviolies cuz ya thin ther testyyea i sed testee like yur balls cuz ya lik ta lik em cuz yur fate an gay like a homo an evrbodi hats you cuz nobodi liks you!! ya prolly pee on all yur frends an tha meks em hat you cuz yur a stoopid dumass bunghole that liks ta shoot poop at everybodi and genrally be reelly gay!!!!!!!
Your videos are very pedagogic! I've posted this to all the people where I work (I'm the only statistician), so perhaps they can understand what the variance is for once =)
I think that these lectures should be arranged in sequences because, it is easy for someone to lose track of what the next lecture is going to be.
10bengy 2 weeks ago
this is amazing how do you profession in area of academics? really everything i watch from you is as though you master in that part alone
SuperNation22 1 month ago
This has been flagged as spam show
you speak to my brain
MsHburnett 1 month ago in playlist More videos from khanacademy
You do have a way for teaching. Thx.
ydym30 1 month ago
At this point, its 3am. I'm kinda sleepy, but not sleepy enough to get off of youtube. I find this so fun to learn that i got my notebook out and started writing this stuff down. Talk about an excellent teacher... :P
Kurgipurk 2 months ago in playlist Statistics
Said 4 wrote 3. DOH! >.<
JackAttack363 3 months ago
you are absolutely amazing.
x3triLogyx3 4 months ago
Ah, I understand. taking the average of the absolute values would give you the absolute deviation. The variance is a squared deviation, by definition. I'm still not so sure why in what cases it would be more useful than the absolute deviation.
josenros 4 months ago
@josenros
I'm no mathematician, but I think it's because the properties of the sum-of-the-squares function, the sum-of-abs-dif func is non-linear, causing some problems not to have closed formula solution. Actually the formula for sample variance sum((xi-mean)^2)/n can be derived as a maximum likelihood estimation of population var., meaning that the calculated value is "most likely" close to the correct value under the assumption that the numbers xi follow the Gaussian distribution.
xbuchtak 4 months ago in playlist Statistics
@josenros
I'm sure this sounds a little bit confusing, just watch more Sal's videos or look the details up on wikipedia. It'll come together ;-)
xbuchtak 4 months ago in playlist Statistics
It seems more intuitive to me to take the absolute values of (Xi - mean), and then find the average by dividing by n.
Why do we square the difference instead of just looking at the magnitude of the difference?
josenros 4 months ago
wow this is amazing..thank u
ellemheaven 4 months ago
thanks so much for the black chalkboard background; i am almost legally
blind, and white w00d be to0 painful to l00k at; i use black backgrounds
all over my pc, whether notepad, word, or firefox!
M-80811...1217AM
tangerinetigerr 5 months ago
YOU ARE MY HERO!!!!
beto1glez 7 months ago 6
haha I rofled at 05:21
Carebearbull 8 months ago
@Carebearbull me too i nearly started writing big sigmas
888phoenixx 5 months ago
thank goodness for khanacademy!
cyrubio 8 months ago
thanks
paulceltics 8 months ago
I have this packet due the day i go back to school from spring break and i had forgotten the examples my teacher showed me but i was intellegent enough to actually realize we are living in modern times and technology is a big help so is youtube..lol
Thanks and i give my appreciation for taking the time to help those like me on some real shittttt..xD
cleverlocs813 9 months ago
Thank you for explaining this to me, I didn't understand at all from lectures and the textbook (yr 2 biologist at uni).
You're right, it is very easy when you follow through the equations, lecturers just show the equations leaving us looking blankly at them.
omgu8mynewt 9 months ago
thank you very much
pstaff716 10 months ago
Who dislikes this stuff??
DawnBreaker1100 10 months ago
@DawnBreaker1100 jealous maths tutors
TheGameCollection 10 months ago
Comment removed
deekehoede 10 months ago
What Sal is doing, is making our lifes better.
JLchevz 11 months ago
you are truly making a difference in the world..we can all be smarter now ! thank u so much !!!!!!
pinesolparrot 11 months ago
Will you make a covariance video? These are really great. They help more than my books and my professor.
julesthe13 1 year ago
i have recieved 2 messages about my past comment. i want to clear this and say that was a friend. im not one to argue. it's a waste of time. EVEN MORE on youtube with strangers
tomrox1523 1 year ago
Thanks a lot. You are great
bobichina 1 year ago
your gay y wud u put this on utube
tomrox1523 1 year ago
@tomrox1523 because he gets paid millions for it you idiot !
He is a youtube partner that is educating the world (clearly apart from you) for free
fplusk 1 year ago
144 likes, 0 dislikes. i go to my email: 144 unread messages, 0 spam. is the world ending?????
MyBloodyQuarantine 1 year ago
This has been flagged as spam show
Be a part of Russian ladies community gettop5.info
makaylafrke 1 year ago
this is amazing. I regulary fall asleep over my textbook and in my statistics lessons. But with these videos, i can't stop watching. Thanks a lot!
Mr46ser 1 year ago
SAL i love you!!!!
nazirdjon 1 year ago
i need a formula that has the current population adds the births and subtracts the deaths.
loudspeaker237 1 year ago
lol x sub 4 = 4 but u write 3
28kb 1 year ago
@28kb
He wrote it correctly, it is 3, but he just says it wrong (he said 4)
SuperhumanChichi 1 year ago
hey mr. khan, i wished u used a computer with handwriting recognition which would be much easier for u and for us. thankx
deadboy000 1 year ago
if you wanna know how many videos youtube has or many other facts about youtube click on my channel
3runrob 1 year ago
GOD BLESS YOU.
ramxx 1 year ago 2
it is hard to read your handwriting x]
blaznsnow 1 year ago
@blaznsnow thats not his handwriting thats his mouse pointing "_", his later vids it looks like he has a digital pad or something cause its his actual handwriting.
Guitarist2098 1 year ago
Comment removed
Zetapoo 1 year ago
unnecessary mention....I just 'heard' , x4 =4.good video : ]
pan02286 1 year ago
Sal is a life saver
coolygirl9 2 years ago
Truely Excellent.... Thanks Sal
sumitece87 2 years ago
watched on 2009-12-30
nice
aozcakir2 2 years ago
watched this to take a break from the linear algebra videos--another excellent video--i wonder
i you have a master plan or do videos as things
pique you interest--clearly the lin alg section was
pretty planned out
yynotx 2 years ago
What???
Jakers2009 2 years ago
AMEN! I I I v
77sallu77 2 years ago
not sure why, but Sal, you have some kind of magic and I'm beginning to get it, exam is in 3 days, a little late maybe, hopefully I can still pass Stats, thank you so much! I still need to get correlation and regression, so if you have any spare time in the next 72 hours....its ok....thanks again
isthatmylita 2 years ago
If you've done randomized blocks you should enjoy my proof for an r value for blocks that indicates orientation to an external gradient. The vid is a layman's explanation, but the website has the detailed proof.
cusanusnicolas 2 years ago
I've always wondered why the difference between the mean and xi is squared. Does this have a particular purpose? Why does it have to be squared why not just take the difference and divided it by N and leave the sqauring of the numbers out of the equation
BurningBright4ever 2 years ago
as i understand it, there are two ways to make something positive; take the absolute value or square it. they chose to square it.
of course, u can just use standard deviation (square rt of the variance) if you want a measure of spread/dispersion that uses the same units as your data pts. :)
efisgpr 2 years ago
It has to be squared so as to get a magnitude of the difference and not the sign. You could have taken the modulus but I guess the guys thought that square was just easier to work around with for later results.
tharaki0kurt 2 years ago
In easy terms, if you just add the difference of each data from the mean you would get zero as the result. Visualise this. Mean would be right in the center of your data points. Right?? If you take the sum of the distances of each point from the mean, because the mean is in the center, you would have as much distance (of the points on the left hand side) as you would have on the Right Hand Side. Hence their sum would come to zero. Hope this helps.
tharaki0kurt 2 years ago
well then why not just use absolute values? The variance would then be much easier to visualize in terms of the data.
BurningBright4ever 2 years ago
Absolute values are not that easy to manipulate 'algebraically'. Squares have been used as acceptable substitute for the 'absolute operator/function' throughout maths and physics.
PS:- If you have to write an absolute function in terms of 'basic' operators, it goes something like this. ABS(x)={x: if x is greater than or equal to zero OR -x: if x is less than zero}. So any further operation you do will have to take these cases. You see why this would get complicated. Hope this helps.
tharaki0kurt 2 years ago
So you basically say absolute values are more exact but not used since the modification of formulas considering absolute values is much more difficult?
MrCalhoun 2 years ago
"exact" would not be the correct word here. Variance is a measure of dispersion of data about the mean. That is that. It gives "a measure" of the average distance data points are from mean, but not the average distance itself. Now we can define another value, say VAR2 that is defined as the mean of distances of data points from the mean. Here the absolute value would be used and . That would be a measure of dispersion as well. 'Perhaps' a better measure.
tharaki0kurt 2 years ago
My point is that variance is difficult to visualize in your head. 'VAR2' ( defined in my previous comment) is easier to define, visualize and understand. But its not used because of the associated calculation issues.
PS:- I am not an authority on the subject. Even if I was, questions like these are still being debated. I hope this explanation helps.
tharaki0kurt 2 years ago
Hi there, the reason that squared errors are generally used instead of absolute values of the errors is because of convenience. Squares can easily be differentiated, this leads to many important results in statistics that are derived from calculus without having to worry about points where the derivative does not exist(as is the case with absolute value)
Zetapoo 1 year ago
Do you do any Analytical Chemistry ???
ahsimpleman 2 years ago
look at khanacademy (dot) org
02280228 2 years ago
whats the numbers / letters under the greek letter E? 2-1 ??
jceja24 2 years ago
i = 1
this refers to the i in x sub i,
this means u start at the data point where x = 1, the first data point
heymavis 2 years ago
I wish you were my teacher!!! Thanks for this
psyduck1155 2 years ago 2
which software r u using? it's funky!!
lhyx1990 2 years ago 2
isn't the sample variance sume of all (xi-x)^2 over n-1????
sweetascandy1302 2 years ago
oops nvm lol
sweetascandy1302 2 years ago
I dont know who you are.... but I think I love you! You !
nrsnia2007 2 years ago
You Saved my Life. I pay $2,000 for summer classes and $200 for a text book and at the end of the day this is the only way i learned this stuff. Thank you.
ckulis 2 years ago 79
@ckulis i agree 100000000000000%
havlatking 8 months ago
@ckulis you must be american
k1koth3gre4t 1 month ago
thank you very much Salman
moorm2008 2 years ago
this helps with my FST course alot
dergadude 2 years ago
Your explanation is awesome ^_^
keeplearn 3 years ago 22
Thank you Sal for posting the statistics part. It is very very very useful! THANKS A LOT!
keeplearn 3 years ago 2
youre right...
crislangpo 3 years ago
This has been flagged as spam show
i hat u an i hops tha u die cuz yur gauy an ya prolly jus sit a hom an fuk yurself cuz yur gay an stoopid so ya don kno thet yur not 'nother person! i thin tha yu like ta fuk raviolies cuz ya thin ther testyyea i sed testee like yur balls cuz ya lik ta lik em cuz yur fate an gay like a homo an evrbodi hats you cuz nobodi liks you!! ya prolly pee on all yur frends an tha meks em hat you cuz yur a stoopid dumass bunghole that liks ta shoot poop at everybodi and genrally be reelly gay!!!!!!!
person3429 3 years ago
err what? you hat someone and you hop... what???
bradkey98765 3 years ago
Your videos are very pedagogic! I've posted this to all the people where I work (I'm the only statistician), so perhaps they can understand what the variance is for once =)
cmburnsie 3 years ago