R-squared, Clearly Explained!!!

  Рет қаралды 170,718

StatQuest with Josh Starmer

StatQuest with Josh Starmer

Жыл бұрын

R-squared is one of the most useful metrics for understanding how two quantitate things, like weight and height, are related.
If you'd like to support StatQuest, please consider...
Patreon: / statquest
...or...
KZbin Membership: / @statquest
...buy my book, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store/
...or just donating to StatQuest!
www.paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
/ joshuastarmer
#StatQuest

Пікірлер: 221
@statquest
@statquest Жыл бұрын
Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/
@computerconcepts3352
@computerconcepts3352 Жыл бұрын
👍
@DrOats22
@DrOats22 Жыл бұрын
Hi, Josh! I just wanted to say thank you for these videos! The way you explain concepts has been honestly life changing for me (in terms of my academic career). Concepts that I've struggled with for years are finally becoming clear. I just wanted to take a moment to express my appreciation, and let you know how impactful these videos are!
@statquest
@statquest Жыл бұрын
@@DrOats22 Thank you very much! :)
@herpsenderpsen
@herpsenderpsen Жыл бұрын
This is such a breath of fresh air as opposed to the unecessarily difficult 'explanations' we have to work with in statistical analysis courses. Your videos are awesome.
@statquest
@statquest Жыл бұрын
Wow, thank you!
@damonguzman
@damonguzman 3 ай бұрын
You're videos are the single greatest resource for my education on machine learning and AI. If I lost access to your videos, I would be devastated.
@statquest
@statquest 2 ай бұрын
Glad you like them!
@vcello6450
@vcello6450 Жыл бұрын
Yes!! Thanks for this. You are saving grad students around the world!
@statquest
@statquest Жыл бұрын
Happy to help!
@wbdill
@wbdill Жыл бұрын
And former grad students who haven't touched linear regression in 25 years! :) What a great concise refresher. BAM!
@false_binary
@false_binary Жыл бұрын
Excellent vid & totally helped me again with my regression homework! One of the toughest challenges I have is writing and speaking Regression! One of your last slides around 10:29 helped me learn how to connect a positive / negative variable relationship with R2...love you guys, seriously!
@statquest
@statquest Жыл бұрын
Glad it was helpful!
@snowwolf4148
@snowwolf4148 Жыл бұрын
Beautifully explained! Loved the “Correlations close to 0 are lame “😂
@statquest
@statquest Жыл бұрын
:)
@Monoglossia
@Monoglossia Жыл бұрын
It's INSANE how clear this is, thank you!
@statquest
@statquest Жыл бұрын
Thank you! :)
@skyblue7014
@skyblue7014 Жыл бұрын
one of the most well explained about R, thanks for sharing! no time wasted in this video!
@statquest
@statquest Жыл бұрын
Thank you!
@mikas9098
@mikas9098 3 ай бұрын
clicked for the title, stayed for the content. thanks for this
@statquest
@statquest 3 ай бұрын
bam!
@kevingutierrez38
@kevingutierrez38 Жыл бұрын
This is just what I was expecting from an explanation of what R-squared is. Thank you very much for making it clear and simple
@statquest
@statquest Жыл бұрын
Glad it was helpful!
@lacrimosa2994
@lacrimosa2994 Жыл бұрын
Thank you so much!!! You explain these concepts so easily!! Saving lives one video at a time 😁💕
@statquest
@statquest Жыл бұрын
Thank you!!! :)
@shahjahanbd2000
@shahjahanbd2000 Жыл бұрын
Your videos are the most helpful and easiest to follow!
@statquest
@statquest Жыл бұрын
Glad you like them!
@B-hooktuber
@B-hooktuber 3 ай бұрын
Incredible explainations. I'm so glad I found this chanel/book!
@statquest
@statquest 3 ай бұрын
Thank you!
@Syca_Red
@Syca_Red 9 ай бұрын
When I saw "is the mean wweight the best way to predit mouse weight", I thought, "it is stupid". And then when I see the formula of R-square, I found that "I was stupid". Awesome videos and it really helps.
@statquest
@statquest 9 ай бұрын
bam!
@sonaliverma4099
@sonaliverma4099 Жыл бұрын
Thank you so much for explaining everything in easier way !
@statquest
@statquest Жыл бұрын
Thanks!
@JC-to3lq
@JC-to3lq Жыл бұрын
mind blown. amazingly well explained thank you!
@statquest
@statquest Жыл бұрын
Thank you!
@averysmith
@averysmith Жыл бұрын
Josh, I'm literally teaching my students this today! Going to refer them to this video.
@statquest
@statquest Жыл бұрын
BAM! Avery, I'm glad this is helpful. This is actually the first StatQuest I ever made, back in the day. I had to re-upload it yesterday due to some oddness on behalf of KZbin, but it's still a classic and the video that got the whole thing started.
@jamiehaskellyarn
@jamiehaskellyarn Жыл бұрын
Thank you for this video! I have a much better understanding now
@statquest
@statquest Жыл бұрын
Glad it was helpful!
@jessamynfinneran5036
@jessamynfinneran5036 7 ай бұрын
This was wonderful. Thank you so much!
@statquest
@statquest 7 ай бұрын
Glad you enjoyed it!
@desisto007
@desisto007 4 ай бұрын
Just awesome plain explanation 🎉
@statquest
@statquest 4 ай бұрын
Thank you!
@OfisLab
@OfisLab Жыл бұрын
All stats courses any level of education must be taught like that. Otherwise for majority of the people stats is ambiguous and difficult to understand. But feel like lecturers are saying this is time consuming, we have a lot of topics to cover and etc. Luckily we have nice KZbin channel and online documents to supplement the courses. Thanks for the great video!
@statquest
@statquest Жыл бұрын
Thank you very much! I appreciate it.
@Ligress
@Ligress Жыл бұрын
thank you so much, subscribing right now!
@statquest
@statquest Жыл бұрын
Thank you!
@Matt-qi5ff
@Matt-qi5ff Жыл бұрын
This is excellent. Why can't professors explain as well and clearly as you? I had a linear regression class yesterday and I had never even heard about variation before, only standard deviation. I didn't know the reason it was squared either. Thanks a lot
@statquest
@statquest Жыл бұрын
Thanks!
@pulzewidth
@pulzewidth 8 ай бұрын
Thank you UNC-Chapel Hill for saving my life on my AP Stats test. I hope my EA is accepted.
@statquest
@statquest 8 ай бұрын
BAM! Congratulations and good luck!
@oleg0667
@oleg0667 5 ай бұрын
Great clear explanation! Thanks!
@statquest
@statquest 5 ай бұрын
Glad it was helpful!
@itsbosco1025
@itsbosco1025 Жыл бұрын
Very clear and helpful, thank you
@statquest
@statquest Жыл бұрын
Thanks!
@duyanhtran4723
@duyanhtran4723 Ай бұрын
Thank you. Very useful.
@statquest
@statquest Ай бұрын
Glad it was helpful!
@mjollnirboy
@mjollnirboy 5 ай бұрын
Such a beautiful explanation. Thank You! :-)
@statquest
@statquest 5 ай бұрын
You're very welcome!
@surinderpalsingh4258
@surinderpalsingh4258 Жыл бұрын
people have no idea how much of a gold this video is
@statquest
@statquest Жыл бұрын
Thank you! :)
@thegeek0017
@thegeek0017 7 ай бұрын
This is a good video. Funny, yet informative.
@statquest
@statquest 7 ай бұрын
Glad you enjoyed it!
@vijaythapa9200
@vijaythapa9200 6 ай бұрын
Very clearly explained. Thank you
@statquest
@statquest 6 ай бұрын
Thank you!
@Angus-jd6ng
@Angus-jd6ng Ай бұрын
very clear and concise
@statquest
@statquest Ай бұрын
Thanks!
@manyapahwa7086
@manyapahwa7086 Жыл бұрын
just beautiful!!
@statquest
@statquest Жыл бұрын
Thank you!
@joshliao00607
@joshliao00607 Жыл бұрын
That's so intuitive! You really save my Midterm
@statquest
@statquest Жыл бұрын
Thanks!
@armpistolguy435
@armpistolguy435 4 ай бұрын
Holy mother of god THANK YOU for this video, I was looking online at a bunch of websites (some paywalled) and none of them explained them as well as this video. Thank you for providing examples and explaining the how rather than the what. 😁😁
@statquest
@statquest 4 ай бұрын
Glad I could help!
@ArnieStein
@ArnieStein Жыл бұрын
Awesome!!!
@statquest
@statquest Жыл бұрын
Thanks!!
@reetapantsar
@reetapantsar Жыл бұрын
this makes sm sense tysm
@statquest
@statquest Жыл бұрын
bam! :)
@karlamembrila8050
@karlamembrila8050 2 ай бұрын
Hi thanks for your videos! Any chance is there a statquest for adjusted R-squared?
@statquest
@statquest 2 ай бұрын
I mention it in my video on linear regression: kzbin.info/www/bejne/pJyVdIR_idKSm9E
@AgusBektiR
@AgusBektiR Жыл бұрын
Thank for repost this precious r-squared explanation. Yesterday i cant play this modul because of payment bla bla bla bla. Super thanks !
@statquest
@statquest Жыл бұрын
Sorry you had trouble and I hope it never, ever happens again. It was very, very frustrating from my end since I've tried to hard to make my videos free for the world.
@lorenzoplaserrano8734
@lorenzoplaserrano8734 Жыл бұрын
yay more new videos ☺️
@statquest
@statquest Жыл бұрын
:)
@isaaccarroll2092
@isaaccarroll2092 Жыл бұрын
StatQuest is the best thing to come out of UNC since MJ
@statquest
@statquest Жыл бұрын
TRIPLE BAM! :)
@squaidinkarts
@squaidinkarts Ай бұрын
Banger intro, man
@statquest
@statquest Ай бұрын
Thanks!
@Jerry-ws3mz
@Jerry-ws3mz Жыл бұрын
thanki you so much.
@statquest
@statquest Жыл бұрын
Thanks!
@time573
@time573 Жыл бұрын
I can't believe this videos are fresh new. I'm sorry for everyone who had to give Statistics without watching these first
@statquest
@statquest Жыл бұрын
BAM! :)
@ronram6125
@ronram6125 4 ай бұрын
You keep this up and I’ll have to forward my tuition to your address.
@statquest
@statquest 4 ай бұрын
BAM! :)
@louCanitz
@louCanitz Жыл бұрын
Thank you so much and thank you UNC Chapel Hill for enabling you to make these
@statquest
@statquest Жыл бұрын
bam! :)
@yoan_b
@yoan_b 2 ай бұрын
Ty for this video ! Especially at 10:30
@statquest
@statquest 2 ай бұрын
bam! :)
@michaelr1624
@michaelr1624 8 ай бұрын
Hi, I see a lot of your Analytics videos are repeated. Are these refreshed with new info or simply repeated? Do I need to watch both or just the newest one?
@statquest
@statquest 8 ай бұрын
They are the same. For some strange reason, about a year ago some of my videos got stuck behind a paywall. So I re-uploaded all of the videos behind the paywall so that they would, once again, be available to everyone for free. It now seems that whatever freak event happened back then has become undone, so now I have 2 copies of a handful of videos.
@princechiloane7659
@princechiloane7659 Жыл бұрын
🤣🤣 The Intro . I'm enjoying stats thanks to you
@statquest
@statquest Жыл бұрын
:)
@govarthenanrajadurai9817
@govarthenanrajadurai9817 6 күн бұрын
@ 03:30 How did you choose which line (which angle, starting point) to fit to the data? Shouldn't there be a method to find a line so that the line's R squared equals plain old R's squared?
@statquest
@statquest 6 күн бұрын
There is an analytical method, meaning an equation we can plug our data in to get a result, that will give us the line the minimizes the sum of the squared residuals. The line that minimizes the sum of the squared residuals is defined as the best fitting line. Alternatively, we can use an iterative method like Gradient Descent to find the best fitting line. For details on Gradient Descent, see: kzbin.info/www/bejne/qXXZZZlqqJeGeJo
@karimmohanad2k01
@karimmohanad2k01 3 сағат бұрын
not all heroes wear capes
@muhammadariffahmi9088
@muhammadariffahmi9088 5 ай бұрын
thanks bro
@statquest
@statquest 5 ай бұрын
Any time!
@nak6608
@nak6608 Жыл бұрын
Is variance different from variation? At 2:15 we find the sum of the squared differences but we don't divide it by the number of observations - 1. Is there a reason for this?
@statquest
@statquest Жыл бұрын
In this case we don't need to divide by n-1 because the denominators will cancel out, leaving us with just the numerators. So we save our selves a step and omit it.
@nak6608
@nak6608 Жыл бұрын
@@statquest Thank you! It's so obvious now that you pointed it out lol
@bhdkid1
@bhdkid1 Жыл бұрын
Ty
@statquest
@statquest Жыл бұрын
:)
@bashiransari6258
@bashiransari6258 8 ай бұрын
Cool !!
@statquest
@statquest 8 ай бұрын
Thanks!
@mohammadrezaghiasy6618
@mohammadrezaghiasy6618 Жыл бұрын
Hi Sir I am madly addicted to your WAY OF EXPLAINING I personally owe you a lot I love math, the way you quest it recently I was researching on DEA as you surely know data envelopment analysis I now, know what does it mean and how to calculate it. can even pyomo code it. use it blindly ... but WHAT IS THE MAIN IDEA BEHIND DEA? Clearly Explained... searched the web there is no remarkable article or video etc I was thinking if you could make such genius video
@statquest
@statquest Жыл бұрын
I'm glad you like my videos and I'll keep that topic in mind.
@tonycardinal413
@tonycardinal413 Жыл бұрын
Thanks ! Ques: is R squared the % of y variance explained by X or explained by the model( regression equation) ?
@statquest
@statquest Жыл бұрын
It depends on the model. If the model only contains a single variable, X, then R-squared tells us the % of variance explained by the model, or X. Both are true. However, we can also calculate R-squared for models with many variables. For details, see: kzbin.info/www/bejne/pJyVdIR_idKSm9E and kzbin.info/www/bejne/sHq3enmKqM6phJo
@artbag4502
@artbag4502 3 ай бұрын
I have a question: in some cases I get an out of sample R squared which is negative, for example with multiple linear regression or even simple one-variable linear regression. Does that tell me the model is less capable of predicting the response compared to a simple mean? While in sample, there is there no difference between the R squared of a simple linear regression and the square of Person's correlation between two variables?
@statquest
@statquest 3 ай бұрын
I'm not sure I understand what you mean by "out of sample" and "in sample", but if you are calculating R^2 using data the model was not originally fit to, then it is possible to get negative values.
@artbag4502
@artbag4502 3 ай бұрын
@@statquest ah I see! I meant that sometimes I would fit a model on a training set, and among the metrics to evaluate its performance on a dev/test set I would use the R squared, occasionally obtaining negative values. But I see now that it's a pretty different scope compared to the one proposed in your video, since I'm not trying to measure how related two variables are, but rather trying to evaluate a model! Thank you for your reply btw!!
@user-lz5vh6nk4w
@user-lz5vh6nk4w 10 ай бұрын
Does the blue line always fit better than the mean? Why or why not?
@statquest
@statquest 10 ай бұрын
For linear regression, the blue like always fits at least as well as the mean. This is because the optimal slope value will be set to 0 if setting it to anything else makes things worse. For details, see: kzbin.info/www/bejne/pJyVdIR_idKSm9E
@JKentJr
@JKentJr Жыл бұрын
Starmer = Hero
@statquest
@statquest Жыл бұрын
Thank you! :)
@trestenpool9045
@trestenpool9045 Жыл бұрын
How do I get access to wach some of the videos labeled "Pay to watch" such as kzbin.info/www/bejne/pJyVdIR_idKSm9E. Do I have to become a certain level member or just pay for the video itself?
@statquest
@statquest Жыл бұрын
I've contacted KZbin and am trying to do everything I can to fix this problem. In the mean time, I've re-uploaded that video so that you can still watch it for free: statquest.org/video-index/ NOTE: Whenever you see a note saying you have to pay to watch a video, just scroll down to the first pinned comment and you will see a link to a free version.
@mohamedasiqshajahan1200
@mohamedasiqshajahan1200 5 ай бұрын
Excellent explanation. Consider this comment as 1million likes.❤❤
@statquest
@statquest 5 ай бұрын
Thank you very much! :)
@structuralcraft
@structuralcraft Жыл бұрын
Sometimes a single video is better than a whole pdf
@statquest
@statquest Жыл бұрын
:)
@semp770
@semp770 9 ай бұрын
Nice video, but Is var(x) supposed to be the variation or the variance?
@statquest
@statquest 9 ай бұрын
Variation and variance are often used interchangeably and, in this case, it's OK.
@shikhakansal4402
@shikhakansal4402 9 ай бұрын
I love Statquest videos however, this video had me confused. I tried to study R-Squared from other sources and they told me a different formula which was, R squared = 1-(SSR/SST). Are there different kinds of R squared used in different situations?
@statquest
@statquest 9 ай бұрын
It's the same formula, just written differently. However, you can do the algebra and show that they are equal to each other. See: en.wikipedia.org/wiki/Coefficient_of_determination
@shikhakansal4402
@shikhakansal4402 9 ай бұрын
@@statquest Thanks. Thats helpful. I will try that.
@kaebee2003
@kaebee2003 4 ай бұрын
If I only know the angle between the two lines, Will I be able to find the R2 value? (Like Tan theta?)
@statquest
@statquest 4 ай бұрын
No.
@bt78646
@bt78646 Ай бұрын
You are the boss
@statquest
@statquest Ай бұрын
Thanks!
@AdnanKhan-cx9it
@AdnanKhan-cx9it Жыл бұрын
thanks for the nice explanation. I wonder what is the difference between R2 formulation the one you explained and this one --> , R2 = 1 - SSE / SST, where SSE is sum of squared errors, and SST is sum of data variance.
@statquest
@statquest Жыл бұрын
There is no difference. One formula can be derived directly from the other.
@vivaines
@vivaines Жыл бұрын
How did he get the var(mean) of 32 and the var(line) 32? are they just points?
@jeffwang1442
@jeffwang1442 Жыл бұрын
Var(mean) and var(line) are numbers that are calculated by the sum of squares residuals. For example, for the var(mean), what you do is you find the difference between the mean and every point, square those, and then sune them up. In the video, this comes out to 32. Similarly, for the var(line) you find the difference between the points and the line, squaring, and summing
@statquest
@statquest Жыл бұрын
You can also see: kzbin.info/www/bejne/iau9Z3qmmMuih7s
@MirGlobalAcademy
@MirGlobalAcademy Жыл бұрын
Nice
@statquest
@statquest Жыл бұрын
Thanks!
@LegoMacman
@LegoMacman 4 ай бұрын
DOUBLE BAM!!!
@statquest
@statquest 4 ай бұрын
YES!
@krish4659
@krish4659 2 ай бұрын
10:00 explains 25% of original varaition means , 25% less variation compared to that of mean line. right?
@krish4659
@krish4659 2 ай бұрын
coeffficient of correlation is square root of coefficient of determination ? 🙂
@statquest
@statquest 2 ай бұрын
Yep, 25% less variation around the regression line than around the mean.
@dylanknight8664
@dylanknight8664 Жыл бұрын
Stat Quest ✊
@statquest
@statquest Жыл бұрын
bam! :)
@saagerbabung5652
@saagerbabung5652 11 ай бұрын
The square of correlation coefficient (i.e., predicted and true values) is equal to "R squared" only in linear regression, and not in any other regression like decision tree regressor, support vector regressor, THIS is not mentioned in the video?
@statquest
@statquest 11 ай бұрын
That is correct. When I made this video, way back in early 2015, I only had linear regression in mind.
@arjungupta6622
@arjungupta6622 Жыл бұрын
Hi Josh, can you also explain the F test?
@statquest
@statquest Жыл бұрын
Sure, see: kzbin.info/www/bejne/pJyVdIR_idKSm9E and kzbin.info/www/bejne/hHeYkJWqhMZ2n8k
@svensalvatore8702
@svensalvatore8702 24 күн бұрын
BAM!
@statquest
@statquest 23 күн бұрын
:)
@user-jp5ir6fc5f
@user-jp5ir6fc5f 6 ай бұрын
r^2 = R^2 holds only for simple linear regression as I know, please correct me if i am wrong.
@statquest
@statquest 6 ай бұрын
Yep. That's what this video was originally intended to explain - how R^2 relates to linear regression. That's why we compare the fitted straight line to a horizontal line at the mean.
@user-jp5ir6fc5f
@user-jp5ir6fc5f 6 ай бұрын
@@statquest Thanks
@yourfutureself4327
@yourfutureself4327 Жыл бұрын
💚
@statquest
@statquest Жыл бұрын
:)
@prabhu__why_not
@prabhu__why_not 5 ай бұрын
Time spent sniffing a rock 🤣🤣🤣
@statquest
@statquest 5 ай бұрын
:)
@satya7171
@satya7171 7 ай бұрын
Please explain adjusted r square also
@statquest
@statquest 7 ай бұрын
I describe adjusted R-squared in my video on linear regression, here: kzbin.info/www/bejne/pJyVdIR_idKSm9E
@user-cx5wq9rn6e
@user-cx5wq9rn6e 11 ай бұрын
mate can u update the resolution please.
@statquest
@statquest 11 ай бұрын
Unfortunately updating old videos is a lot harder than you would expect. :(
@ShailendraSingh-ex6yj
@ShailendraSingh-ex6yj Жыл бұрын
Why is 4 months ago potato quality? Thank you so much for this.
@statquest
@statquest Жыл бұрын
What time point in the video, minutes and seconds, are you asking about?
@ShailendraSingh-ex6yj
@ShailendraSingh-ex6yj Жыл бұрын
@@statquest apologies, it was my attempt at humour. I'm sure it's part of your earlier series that you've re-uploaded recently. The video is fantastic in content.
@rubenestebangarciagomez7040
@rubenestebangarciagomez7040 Жыл бұрын
is this a repost Josh?
@statquest
@statquest Жыл бұрын
Yes. Something weird happened to the original and now it is behind a paywall. I contacted KZbin and they said there was nothing I could do about it, so I had to re-upload. Sorry for the trouble.
@rubenestebangarciagomez7040
@rubenestebangarciagomez7040 Жыл бұрын
@@statquest In other thing.... what would you think of Statquest en Español! (pum!, the most spanish onomatopeia for bam!) I could help in the translation
@statquest
@statquest Жыл бұрын
@@rubenestebangarciagomez7040 I think it would be great and it's a dream of mine that I want to come true. I've even been trying to learn spanish on my own (but I'm a slow learner). For StatQuest, I've been using AI to create overdubs for my new videos and I think it is OK. If it's good enough, the cool thing is that it can be used for a ton of different languages.
@rubenestebangarciagomez7040
@rubenestebangarciagomez7040 Жыл бұрын
@@statquest I'll try to contact you later. Even will try to sing and play ukulele intros...
@joehutchison669
@joehutchison669 Жыл бұрын
Can you make a video explaining ETA squared?
@statquest
@statquest Жыл бұрын
I'll keep that in mind.
@duyanhtran4723
@duyanhtran4723 Ай бұрын
why does this video only have the resolution of 360p?
@statquest
@statquest Ай бұрын
It's super old, but people still watch it a lot.
@computerconcepts3352
@computerconcepts3352 Жыл бұрын
Noice 👍 Doice 👍 Ice 👍, ....wait, is this a re-upload?
@statquest
@statquest Жыл бұрын
Yes. Without telling me, KZbin put the original behind a paywall, so I re-uploaded it so it would still be free.
@computerconcepts3352
@computerconcepts3352 Жыл бұрын
@@statquest oofty doof oof oof, Noice 👍 Thanks 👍
@primakovch8332
@primakovch8332 Жыл бұрын
This is great. Can I get a BAM!!! ??
@statquest
@statquest Жыл бұрын
bam! :)
@alex-st9in
@alex-st9in 8 ай бұрын
Time spent sniffing a rock 😂😂😂
@statquest
@statquest 8 ай бұрын
bam! :)
@plica06
@plica06 9 ай бұрын
This is a re-upload from 8-years ago.
@statquest
@statquest 9 ай бұрын
Yep. For some reason the original ended up behind a paywall, so I had to re-upload it.
@supahotfire8886
@supahotfire8886 Ай бұрын
So there's a 6% correlation between sniffing rocks and a mouse's weight? Lol
@statquest
@statquest Ай бұрын
:)
@samjab9237
@samjab9237 Жыл бұрын
i'm in love with you
@statquest
@statquest Жыл бұрын
:)
@allenwang9660
@allenwang9660 Жыл бұрын
First! Bam
@statquest
@statquest Жыл бұрын
:)
@aron2922
@aron2922 5 ай бұрын
Why on earth is this 360p
@statquest
@statquest 5 ай бұрын
It's pretty old.
@tdawg6795
@tdawg6795 Жыл бұрын
Why do we Sq R? I need more explanation please :(
@statquest
@statquest Жыл бұрын
I'm not really sure if I understand your question. What time point, minutes and seconds, are you asking about?
@tdawg6795
@tdawg6795 Жыл бұрын
@@statquest wow thanks for the quick reply lol. So when you said we sq R so the negative doesn’t cancel out the positive, could you give some examples on that?
@statquest
@statquest Жыл бұрын
@@tdawg6795 We square the difference between the lines and the actual values. So if the y-axis value for point A is 5 and the y-axis coordinate on the line is 3, then the difference 5-3 = 2. However, if the y-axis value for point B is 1, and the y-axis coordinate on the line is 3, then the difference, 1-3=-2. Now, if we just added those differences together, 2 + -2, we would get 0. And that would make it seem like both points, A and B, were on the line, rather than above and below it. So, instead we add up the squares: 2^2 + (-2)^2 = 8, and that makes it seem less like the points were on the line.
@tdawg6795
@tdawg6795 Жыл бұрын
@@statquest thank you, I believe I’m imagining the visuals correctly in my head. Please make a video as a sort of deep dive for viewers like me who questions everything? :)
@statquest
@statquest Жыл бұрын
@@tdawg6795 Try this one: kzbin.info/www/bejne/iau9Z3qmmMuih7s
@user-ff5sx6pg3d
@user-ff5sx6pg3d 6 ай бұрын
I hate to be a smart ass but I think you are wrong, R^2 COULD BE NEGATIVE, a simple example is if you have a very bad regressor that way too away from all training points, then the variance could be very very large, so variance of the mean minus variance of the model could be negative, the video here is very misleading.
@statquest
@statquest 6 ай бұрын
You are correct. However, when I made this video I was thinking of R-squared only in the context of linear regression, and in that context, R^2 can't be negative. In that context, the worst your model can do is the mean of the y-axis variable.
@atjjr
@atjjr 5 күн бұрын
He might be meaning the correlation coefficient, r
@reeb3687
@reeb3687 3 ай бұрын
i thought this would be about topology lol
@statquest
@statquest 3 ай бұрын
:)
@ltd5480
@ltd5480 2 ай бұрын
wait, why this video has very low quality, and your voice sounds like robot all the time, and is this automatically replied comment?
@statquest
@statquest 2 ай бұрын
This is really me, Josh Starmer, replying to your comment. This is the first "StatQuest" video I ever made. I used the built in microphone on my laptop and I recorded it in one of those "study rooms" in the library. So the sound is off and the quality isn't very high.
@ltd5480
@ltd5480 2 ай бұрын
@@statquest wow, so thats why
@statquest
@statquest 2 ай бұрын
@@ltd5480 yep
@user-go9zc6xh2g
@user-go9zc6xh2g 8 ай бұрын
why are you so angry
@statquest
@statquest 8 ай бұрын
Huh? Do I sound angry? If so, I apologize. I'm not angry. I actually have a lot of fun creating these videos.
@ashleythedub9395
@ashleythedub9395 4 ай бұрын
This made no sense to me
@statquest
@statquest 4 ай бұрын
What time point, minutes and seconds, was confusing?
p-values: What they are and how to interpret them
11:21
StatQuest with Josh Starmer
Рет қаралды 1 МЛН
What is R-Squared (R^2) ... REALLY?
8:53
Brian Greco - Learn Statistics!
Рет қаралды 6 М.
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 14 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 14 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,7 МЛН
StatQuest: Principal Component Analysis (PCA), Step-by-Step
21:58
StatQuest with Josh Starmer
Рет қаралды 2,8 МЛН
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 222 М.
Regression Trees, Clearly Explained!!!
22:33
StatQuest with Josh Starmer
Рет қаралды 617 М.
Regression and R-Squared (2.2)
6:32
Simple Learning Pro
Рет қаралды 263 М.
Learn Statistical Regression in 40 mins! My best video ever. Legit.
40:25
Bayes' Theorem, Clearly Explained!!!!
14:00
StatQuest with Josh Starmer
Рет қаралды 342 М.
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 1,3 МЛН
What Is A P-Value? - Clearly Explained
7:41
Steven Bradburn
Рет қаралды 645 М.
Introduction to REGRESSION! | SSE, SSR, SST | R-squared | Errors (ε vs. e)
15:00
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 14 МЛН