Squared error of regression line | Regression | Probability and Statistics | Khan Academy

preview_player
Показать описание

Introduction to the idea that one can find a line that minimizes the squared distances to the points

Missed the previous lesson?

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:
Рекомендации по теме
Комментарии
Автор

Mind blown. I wish I had seen this at the beginning of the semester!

kathlacy
Автор

This video series is completely amazing, thank you!

Smokinsomebasil
Автор

just out of curiousity Mr. Khan, do you yourself review how to do these on your own before you show us? like do you have to get ready? or does it just come off the top of your head? be honest ;) math is magic!

presziggy
Автор

Omg, I wish I had you as a professor!

salmankhalifa
Автор

@Inquiett
agree with you that Squaring always gives a positive value, so the sum will not be zero
using absolute value is also possible and it's actually used as well
however, another benefit of squaring is that squaring emphasizes larger differences (which is good and bad)

ahmadomara
Автор

Thank you for this video.

Why is the squared error a property that determines how good a line is ?

danielsumah
Автор

Most simlistic explaination of Mean Squared Error

gulamahsan
Автор

Thanx so much for making this kinda videos!!!

dollyfacegirl
Автор

The 'm' and 'b' variable of the regression line can also be solved using Linear Algebra.

MLML
Автор

wonderful...thanks for the clear explanation!

SrividyaNatarajan
Автор

"Minimizes my probability of a mistake"

I see what you did there. :D

ConceptVBS
Автор

why we take the vertical distance why not perpendicular?

iayushbhartiya
Автор

why we are adding the squared errors in order to generate the error function? Is there any strong reason behind that?
Thanks

alokprasad
Автор

The only thing that I don't get is why squared... why not just take the distance of point to the line? The only reason I can come up with is that it will remove the negative sign for each distance?

savashzaynal
Автор

@dalcde

Yes, its the same thing. Bet you've finished the stats class already. :D

ConceptVBS
Автор

thank you for this video, but have a doubt, ,error 1  same as you taught "(mx1+b)-y1, but is error 2  "y2 _(mx2+b)" ?, as these points are lying in two sides of that line y=mx+b .kindly help me

DRSUMESH
Автор

Don't they use a similar type of method to this (linear regression) in machine learning?

carolinaman
Автор

getting confused between error and residual

ashamaaggarwal
Автор

This method seems less useful than taking the perpendicular distance to the lines. The math is easier to work out this way though.

daltonpulsipher
Автор

Completely lost me at 3:40.

UPDATE: I see now. m = slope. So:

Y = 3x + 4

3 is the slope.

DaveVoyles