How to calculate linear regression using least square method
Vložit
- čas přidán 4. 09. 2024
- An example of how to calculate linear regression line using least squares. A step by step tutorial showing how to develop a linear regression equation. Use of colors and animations.
Like us on: / partymorestudyless
Related Videos
Playlist on Regression
www.youtube.com...
SPSS Using Regression
• Using SPSS for Multipl...
Like us on: / partymorestudyless
David Longstreet Professor of the Universe
Professor of the Universe: David Longstreet / davidlongstreet
MyBookSucks.Com
8 mins beats my 3 hrs course, very helpful n thank you!
he can do it faster though...
محمد دین ذو القرنين ناسوتيو
You can watch it in 2x speed and get it over with in 4 mins
I like your comment. LoL
quality of uni courses gets even worse when the delivery mode shifts to "online" during coronavirus pandemic
Einstein said if you couldn't explain something in simple terms, you didn't understand it well enough.
Thanks for your clear delivery of concepts that could be quite baffling.
Lex thank you for such a great comment. I work really hard at creating good visual explanations, so I do appreciate your feedback.
Lex Parsimoniae u r right
Lex Parsimoniae well said
absolutely you are correct
yes, the smarter and better people are at something, the more simplistic they can explain things, thanks for this video
Posted this 8 years back and people are still benefiting from it! Awesome work!
I've never watched a maths/stats video which was so CLEARLY EXPLAINED before...in my ENTIRE LIFE.
Amazing video making skills sir!
Linda Zhang Thanks for that. I appreciate that you took the time to write me. Good luck in your classes too.
@@statisticsfun you have a gift! Please continue to make more videos!
Mr. Longstreet, I beg you to publish a statistics textbook. If you title it "Study less, party more, and get good grades", I'm sure it'll be on every Top Ten bestsellers list! Thank you so, so, so, so very much.
That is a good idea, but I am building a website that will continue to be free for students. One of my pet peeves is the cost of textbooks. As a student you know the cost of textbooks is outrageous.
statisticsfun I hate having to buy textbooks, but if you were to publish such book, I would buy it.
statisticsfun I know you are building a website, but it wont stop us buying those non reasonably written books which are very hard to understands .Please re consider your thoughts and publish a book on this ..That will be awesome ..your technique are too good and easy to understand for complex formulas as well ..thanks ..thank you very very much ....
@@statisticsfun is it live. your explanation was amazing :) I immediately subscribed
A textbook wouldn't be as effective as the animations on this video. But I get what you mean.
Clean, clear and crispy. I'm glad people are still out here doing things manually instead of immediately hecking off to code. bravo, SF
That is a great question. In my lectures I don't emphasis the equations much or how to do calculations by hand. It is important that students understand basic principles though. Such as a regression line goes though the mean of the independent and mean of dependent variable. The point of regression is to help understand correlation and more important causation.
I believe it is much more important to understand the meaning of the output than how to plug and chug with a formula or a tool.
Thank you so much professor. Could you tell me what's the meaning behind sum(x-x_mean)^2 and sum(x-x_mean)*(y-y_mean). Why doing that we can get the slope?
what if we have more than 1 independent vairables (x) then we calculate mean?? and how does the line pass through in this case?
How do I find observations? Are they going to be given? I want to do a regression on percentages of order fulfillment rates at our store. What could I use for an independent and dependent variable for omni fulfillment rates as well ?
You are awesome!
@@marcobroca4020 have you found the reason?
This was without a doubt the best explanation I've ever experienced on this topic.
so helpful us failing university students thank you
Mimi K im in freshman and im learning this lol
8th here
cool
You're doing this in uni?
Lol your in uni
This is the only video I could find that explained how to actually use the formulas, thank you!
I spent couple of minutes wondering how can I thank you. Simply thank you
+mohamed ghoneim Tell your friends and fellow students about my videos. This will help them learn the subject as well.
I spent whole day watching different types of video but i could find final concept. Finally I got this video by suggested option on CZcams. After 12 years latter this video still really helpful.Thank you very much for providing such video with simple explanation with animation.
Pure genius! This is my third time to take Statistics and don't have a clue whatsoever about it. I read a lot of easy books to understand it, watch videos and tutorials but to no avail. I watched your videos once and I was hooked! Boy, I understood it in one sitting! Your calm voice and clear/simple explanations plus your awesome graphics/animations just makes it all so EASY to understand. Plus of course your knowledge about what you're talking about.
Thank you so very much!You're amazing
You actually made my life so much easier. I may actually get an A in statistics because of your videos!
This is absolutely amazing! I tried to understand this method from written instructions with my limited mathematical skills and failed over and over again. Then I watched this video once and it's perfectly clear!
I need a maths teacher like you!
I literally do not understand why some professors struggle to explain concepts in 3 hours as well as you do in 8 minutes. You make it seem so goddamn easy I feel like I'm cheating just watching this video 💀💀
it's simple. being an expert is not being a teacher. you might know something excellently but you might find it difficult imparting it unto others
you sir are a legend
Wasi Raza What a nice thing to say, appreciate that.
You have no idea what a great work you are doing sir. I just spent 10 days to understand regression theorem but nothing went inside my brain and your 10-15 minutes video cleared all my doubts.
God Bless You.
Keep doing such humanitarian work.!!
If it has cleared all your doubts can you please explain how that equation gave the slope of the regression line? I didn't understand that part. Your help will be appreciated.
Their is a separate formula for finding the slope and intercept. The equation is yhat=a+bx
finding a: ybar-b(xbar) and finding b:= r(standard deviation of y/standard deviation of x).
and I got this equation not from here but from other courses
Wonderful presentation, simple to understand! The entire world needs teachers like you! Thank you, sir, for your great effort and it is immensely appreciated
Where have you been the last three years of my part-time Masters program...I"ve never seen anyone explain it so plainly & simply. I totally get it now! Thanks so much!
Wow. wonderfully explained.
I hope my prof gets to check this out and know the right way of teaching these things.
Thank you so much Sir :)
I am a teacher and I just wanted to say how great your videos are. Your speak with a clear calm voice and the examples are easy to understand. Keep up the great work and thank you so much.
Thanks for the lecture! One thing, I wish you explained us 1) 'why' a regression line has to include means of x and y, and 2) 'why' you calculated the slope the way you did. In this way, we may be able to grab conceptual meanings of regression analysis.
I hope you get paid for this because otherwise my heart cannot handle that you put so much effort into all of these videos, even if you do it proves there are good people in the world. love you even though I don't know you!
This is so helpful. I have a short time before my test and I'm learning fast from your videos
Your explanations are by far some of the clearest, simplest, smartest (as far as teaching) I've heard! Thank you for doing this, you have saved me!
It just doesn't get better than this. These videos are invaluable to me-- Thank you!
One of the best explanation on statistics methods I've ever come across...
Thank you for the compliment, it is much appreciated. Make sure you like MyBookSucks on FaceBook (see link in video description). This will help others find the educational videos.
Good luck in your classes too.
You just cleared up for me in 8 minutes what I've been struggling with all day. I am a visual learner, so the colors are lovely. I'm just sorry I found you at the end of my statistics class!
MUCH better than my course book! Thanks!
yavsaga bak ya
I wonder if there is a better lecturer than you in the world. You are madly brilliant.You just put my over-rated lecturer for post-grad degree into shame
Your comments are much appreciated! Yes education is a great and wonderful thing and my plan is to keep making free educational videos.
Your video is very educative. I got the understanding way better than what I was thought in class. However, I tied using the formula you gave in the video to find the b1 (0.6) but I had zero(0) instead. Can you please help me out?.
Thank you.
That is deep! You are right, we should not put emphasis on mechanics but on understanding. I have had students who could do all the mechanics but not understand the underlying concepts. I have had students who could not do the mechanics to safe their life, but understood the underlying concepts very well.
Me: What’s up with these funky symbols and equations UGH
*sees video*
Me: ...That’s it?
i find this the simplest way to explain regression analysis basics, which many books/professors fails to explain clearly . Thanks a lot for the video.
Why doesn't my professor teach like this? This was extremely helpful!
you are very rare kind of teacher that everyone one should have in a life time sir.
Its so so explanatory and useful. Thank you for the video.
K Reddy You are very welcome. Hopefully you will like, share, subscribe, If you get a chance could you please like our FB page. www.FaceBook.Com/PartyMoreStudyLess
It will help others find the videos.
You must be gifted. That was a super clear explanation, so clear that it almost feels like I must have gotten something wrong, because there's no way it could have been so easy.
I wonder why I have to pay my Uni if in the end I have to rely on you teachers on youtube, you're the one who should get the money.
Thank you so much! This is infinitely better than the explanation provided in my physics lab manual!
My good man, you have saved me many hours and likely a failed exam when they put this in it. You’re equation is similar to my textbooks as in yours is the simplified version
You are goooooood!!! :) have seen a lot of your vid's now, and every time i'm stunned by how you can make something so complicated sound so simple. good work, appreciate it ;)
i have never seen a video like this before. I went thru tons of videos for linear regression, nobody made it simple as you did. This is a great service you are doing here!!!
Very helpful thank you!!!
+Luke Baker You are very welcome. Hopefully you will get a chance to like and share the videos. This will help other students find them.
You're amazing! I'm taking a statistics course in grad school and we just hit linear regression. The way you explained this just refreshed my high school course from way back when doing the slope intercept form. The biggest issue I'm having is relearning all this crap with new vocabulary. Two of my classes even overlap with content, but each one uses different terminology for the same junk. Thanks for breaking it down so simply! Mind blown! Great video.
Ernest teacher number 1
no u chatting shit
You are the man!!! I knew there had to be someone out there like you! With your explanation, coding it should be a breeze! This has to be the best use of 8 1/2 minutes in the past week! Thanks!
this is awesome. thank you sooooo much
+jesse kwaku You are very welcome and good luck in your classes too.
+statisticsfun Thank you very much. I have got finals tomorrow
I've never seen such an excellent interpretation. Both the way of your explanation and computer presentation have been thought perfectly. Big Thanks.
This was SO HELPFUL. Thank you! Maybe now I'll pass :)
I've seen so many different ways to tell this same thing you did, but it ALWAYS sounded completely incomprehensible... you made it easy to understand! Many thanks!
Is there a proof that all regression lines go through the means? And why does that formular later on give the slope ?
i would like to know the answers to these too.
Even I am very inquisitive about that formula giving the slope of the line.
read the book "applied regression analysis. a research tool". you'll get free pdf on google search. chapter 1 has the proof
Thank u so much Mani Kanth :)
My professor didn't even bother explaining this much. Thank you so much for this video it helps a lot.
u good ernest?
ew
You're the man for making this video. People who has a teacher that's really bad at explaining it really appreciates this.
Only if uni teachers could explain like this and not assume that your super clever..
U have explained me a 2 hour lecture in just 9 minutes thank you man u are the best 😊
Thanks a million!!!!!!
Thomas Kongolo You are welcome a million too! Thanks for writing me and letting me know my videos are helping you. Hopefully you will like, share, subscribe, If you get a chance could you please like our FB page. www.FaceBook.Com/PartyMoreStudyLess
It will help others find the videos.
I never understand this before in this way,.....God sends some special persons to guide all the other persons.....You're one of them special one.
Thanks alot....Please share your efforts to do some good in our life. Thank You.
2018 still using this vid for my reference
2020?
I even went to Reddit's ELI5 on OLS Regression, and it didn't come close to these explanations in terms of comprehension and simplicity. THANK YOU!!!
Almost a decade later and still the best explanation out there. You sir are a legend.
After struggling to get video to understand the topic, I landed here.. by far this is the best video on this topic,, thank you so much!!!!
Crystal clear, ultra clear! You should get paid instead of my professors for this course whom explains absolute nothing. Thank you!
Thank God, you literally saved my life. Been struggling with this all day. Respect to you
Man, this is the best video on this I've ever seen. Thank you sir. I understood this so well.
I love how you show exaclty where each number is coming from ... so helpful!!
sir , im not a statistic student.. ur video has helped me to overcome the stress I carried to statistic classes . Thanks a ton. God bless u
dumhead Thanks for letting me know my video are helping. Hopefully you will get a chance to like my FB page (www.Facebook.Com/PartyMoreStudyLess) and like, share the videos. This helps others find the videos. Good luck in your studies too.
This is incredibly helpful I cannot believe that I have just found this video that was posted six years ago, just loved it
you are the best ever, words can't express who thankful I am, my uni prof spends ages, and he still bad explaining things you did in just 8 minutes
Great video. You explained it clearly after days of trying to find resources online with no luck. Thank you!
This is beautifully explained, thank you so much. Without you, I would not have understood this ever.
I don’t understand why he calculates the slope like that. It should be rise over run or sth!
I have spent hours trying to do this the way math lab shows and you have taught me how to do it in 8 and a half minutes! THANK YOU.
You are very welcome and that is great to hear. I appreciate the feedback because I am never really certain about the pace! Good luck on your exam too.
My sir taught same in 1 hour and I couldn't understand a single thing and now you thought all in 8 minutes. WOW! Awesome. Just amazing. Keep up!
Explained like a PRO, beats all 30 pages linear regression chapter in traditional textbooks. Thankyou so much for explaining concept this clearly. (Y) Please keep it up
Words cannot explain how grateful I am for such well explained video. I'm currently self learning so a lot of times I'm struggling to grasp things however this makes it so much easier. Thank you so much
I haven’t seen channel like this. Hope and wish that this channel grows up and more videos created
This might be the most well done statistics video on CZcams, Congratulations really
Thanks a lot Sir for your hard work and thoughtfulness. You may not know the full extent of what you have done to the service of humanity especially to people like us in Africa. Thank you so much and I hope your thoughtfulness finds its way back to you in done way. Asante Sana.
@climatechangeKE Very cool email and thanks so much for taking the time to write me. Good luck to you in your classes as well. It is a joy to know that I am helping you and others in Africa.
You've taken something that seemed incredibly complicated and made it completely accessible. Thank you.
thanks for your video, all of this explanation is quite understandable, it's better to watch your video rather than sit in the classroom for one hour or two and then understand nothing.
Dear Dr , Thanks for your excellent short explanation. I saw it couple o years ago and needed to refresh my knowlegede this year and watched your video and got it all back ! Blessings for you
Wow. All our Professor gave us was a PDF in which you couldn't use the search function properly, this was infinitely more helpful.
many years now but still the most explicit explanation. Great
This is the simplest form of explanation that i have ever seen.. Thank you very much..
One of the best Statistics classes I've ever seen. And by far the best least square video I ever saw.
Note: at 4:18 you should've put the -2 between parentheses before squaring it. Just a notation issue. The result was correct.
Bruh, if my skewer head could understand this, then anyone would do it. You are such a great teacher. I wish I had teaches like you in school. Thank you sir!
Thank you very much. This is absolutely brillant. Having left university many years ago I absolutely don't remember anything and now that I am trying to get into quantitative finance, I need to know all about regression analysis. Your explanation is brillant as you don't skip anything and realise your viewers watching this video have different levels of math skill.
Hope it wasn't too bad ?? Come on man.. that's the best ever explanation ever I came across.. So much clarity. Hats off !!
Love from India
You have probably the best Statistics videos on CZcams. Very helpful, thank you.
This is the best tutorial out there. You made is very easy to understand. I cannot thank you enough.
Thank you! I am an MSW research major and we start regression last week and I couldn't grasp the concept. Watching your series on regression I feel a little better about it. I will be running regression for my thesis.
God I love youtube!! You guys have no idea how much simpler and clearer you make this stuff. Keep it up, knowledge is power!
fububalla Appreciate that! Hopefully you will like, share, subscribe, If you get a chance could you please like our FB page. www.FaceBook.Com/PartyMoreStudyLess
It will help others find the videos.
Big Salute to your work. I was very tensed about my assignment. This videos changed my life.
Thanks hero !
Clearest explanation I have ever seen, very logical in the color codes and steps!
Thank you
These videos….where have these been all my life??
This is the most excellent explanation I have ever had. You are a star.
Way better than any textbook that I've looked at!