Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now:
R-Squared or Coefficient of Determination
Watch the next lesson:
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:
Subscribe to KhanAcademy:
source

Such a good explanation!! Thankss
Thank you so much man!!!!!
Why "how much of total variation is not described by the regression line" = SE(line)? Isn't SE(line) describes the total variation for the regression line? I'm confused by this sentence? Could anyone help to enlighten me? Thanks 🙂
THANKYOU
what does variation in x mean exactly ?
I love you, man.
What is it meant by "describe"? "percentage of variation described by percentage of error"?" DESCRIBED"?! what's that mean?
Always enjoy the explanations of Khan Academy. Precise, succinct and. Intuitively explained.
Let's get this to 1m views family!
Just awesome
How did he estimate the regression line?? Did he just guess? Or he used some technique?
Excellent explanation! But why is the Coefficient of Determination equal to r _squared vs some other quantity? Why not r- cubed or ( r_squared -1)?
Sal Sir = LEGEND🙌
Good channel.
Why sesubline/sesuby is "What % of variation is not described by the Regression line " instead of "described by"?
1:03 What defines the error?
1:20 What defines total square error?
1:37 How y = (mx+b) relates to the error.
2:55 "What % of the variation in y describes the variation in x?
6:30 What defines the squared error of the mean of y? (end)
6:59 What is not described by the variation in x?
12:38 What is the coefficient of determination, aka R²? (end)
10:23 What does R² say about the regression line?
Wonderful explanation. Thank you so much!
I am glad I watched this, I am glad…glad..I am glad I watched this.
khaaaaaaaaaannnnnn
love you
Outstanding explanation 🙂 Thank you Sir
That's not error that's residual
Sal makes no presumptions about students coming to watch his lectures, and that's what has been helping me out. I have never met an educator better than him in my entire life, PERIOD
“If you declare with your mouth “Jesus is Lord,” and believe in your heart that God raised Him from the dead, you will be saved” (Romans 10:9). Now is the time to accept Jesus as your personal Lord and Savior. Obey His commands and repent of your sins because Jesus is coming back soon. Tomorrow isn’t promised.
Brilliantly simple and straightforward. So good.
9:58 r squared is the Coefficient of determination
Mr khan , youve been with me since i was at secondary school . And now im trying to understand how to do my papers and statistics, suprised to still see there is so much i can learn from you . Thank you for all of ur lectures.
Sal is the GOAT
730K views and 2.3K likes? 0.o wut?
How do we know that the amount of variation in y not caused by variation in x is SE_line -SE_ymean? What does the difference in errors between the two lines have to do with anything?
thanks this was clear explanation
I don't know where 30% obtain and 1 in the formula for sure am not understand
Thank you Sal! This was the best explanation of the R squared error I've seen … makes a LOT more sense than just machine learning courses saying "its a percentage of how much it explains the variability of the data". This shows why that is, brilliant. Such a simple concept when broken down and explained visually step-by-step. You and 3B1B (also a former Khan Academy educator) are amongst the best instructors on YT.
just one word, awesome!!
superb explanation, understood well
Man this saved my life. Thanks so much
I still don’t understand why in the world you would use the mean of y instead of just the residual from the regression line?