Multiple Regression: Two Independent Variables Case - Part 1

In this video we detail how to calculate the coefficients for a multiple regression. In particular, we detail how to calculate the slope and intercept coefficients for the case of two independent variables and a single dependent variable.

Пікірлер: 196

  • @svensei5643
    @svensei56433 жыл бұрын

    Finally someone who can explain how b0 is calculated in multiple linear regressions! Even in my Books they didnt explain it well enough to understand

  • @SoumyaDasgupta
    @SoumyaDasgupta3 жыл бұрын

    I am here because I was asked how to calculate this in a face to face DS interview for a tech giant. Can you believe that? Yes, and I very well faltered cause generally we use python/matlab to figure out the coefficients for us, we hardly do the math ourselves. Never-mind, its never too late to learn anything. Thanks a lot to the person who spent 28 minutes of his precious time for this. You are the reason why internet should be free forever.

  • @MathsAndStats

    @MathsAndStats

    3 жыл бұрын

    Hi Soumya. Thanks for the kind words and I hope your interview went well. Please share. Kindest regards. Jonathan

  • @jayhagen5996
    @jayhagen59963 жыл бұрын

    Excellent summary; it really helped - a lot - to see this manually broken down, step-by-step, by hand. Great work and really appreciate it. For everyone else out there, note: There are a lot of sites that skip steps, gloss over things, or simply get the math wrong (frustrating), whereas this video does not miss a beat the whole way through.

  • @Tryzex
    @Tryzex2 жыл бұрын

    Thank you so much. Been struggling with this for a while. Well explained. Just perfect.

  • @jakirhossain12nov
    @jakirhossain12nov3 жыл бұрын

    i was hardly looking for such a video and finally got it! really great explanation and teaching. thanks a lot :)

  • @_kingsbreed
    @_kingsbreed2 жыл бұрын

    this is the most explanatory video i ever watched and understood on regression. thank you for sharing

  • @btsismydrug9822
    @btsismydrug98222 жыл бұрын

    Finally I understand, all they do is give us the final answer in class no explanation. Our lecturer just gives us notes not even explaining. Thank u sir , may u live long.

  • @MathsAndStats

    @MathsAndStats

    2 жыл бұрын

    Hi. I'm glad it was helpful. Please share. Regards. Jonathan.

  • @seal.2303
    @seal.2303 Жыл бұрын

    thanks so much. I can't wrap my head around this stuff without real , ground up examples.

  • @taraporewalla
    @taraporewalla4 жыл бұрын

    Very well explained, looked for it all over but your video helped it out. Please keep posting more such explanations on Statistics on KZread.

  • @FarhatKCh
    @FarhatKCh3 жыл бұрын

    Thank you for the nice explanation, I really needed this for my monograph!

  • @expertreviews1112
    @expertreviews11122 жыл бұрын

    this is the only video on youtube where i could learn calculating coefficients!!! thnx so much... the demonstration using some software would hv been much better than flipping sheets of paper but we'll take it

  • @johnkyburz7055
    @johnkyburz70553 жыл бұрын

    Don’t typically comment on math videos, but this video is a piece of art. Cheers

  • @scholasticarania9034
    @scholasticarania90344 жыл бұрын

    Thank You!! Now, time to figure out how to do this during exam along with 10 other questions under 2 hours :) Update: I've graduated and got my degree y'all

  • @sid7_lol

    @sid7_lol

    3 жыл бұрын

    Tru 😂 😂

  • @sultanalajmi6089

    @sultanalajmi6089

    3 жыл бұрын

    😂😂😂😂😂😂😂👏🏻

  • @aghaammar6439

    @aghaammar6439

    3 жыл бұрын

    Just practice 🙂

  • @arduav1

    @arduav1

    3 жыл бұрын

    🤣🤣

  • @kirokubbeezy1

    @kirokubbeezy1

    3 жыл бұрын

    Did you pass?

  • @tagoreji2143
    @tagoreji2143 Жыл бұрын

    Thank you, Professor.It was a Clear and a Brief Explanation

  • @Kuhle980
    @Kuhle9803 жыл бұрын

    amazing, easy to grasp and understandable content.

  • @reishinomiya2954
    @reishinomiya29544 жыл бұрын

    Thank you for the example and solutions. Great explanation. Really appreciate it soooo much😥😥😥

  • @MatsUlvenes
    @MatsUlvenes4 жыл бұрын

    Great video It really helps to see it step by step by hand. Thanks a lot:)

  • @kannanv8831
    @kannanv88314 жыл бұрын

    Thanks a lot. The explanation is wonderful.

  • @4054613
    @40546134 жыл бұрын

    wonderful explaination. as a bonus, it felt like connor mcgregor was teaching me regression. haha

  • @bugraozturk3250
    @bugraozturk32506 ай бұрын

    Excellent ! Thanks so much for this high value sharing

  • @annahdaily.
    @annahdaily.3 жыл бұрын

    Thank you,huge help I'm more than confident to do my ecometrics

  • @prathamIsOp
    @prathamIsOp Жыл бұрын

    Thank you sir, I wasted an hour watching multiple videos on this topic but none were explained as clearly as you did

  • @user-eh4se1dt3y
    @user-eh4se1dt3y3 жыл бұрын

    Great Video . I searched for it since long time

  • @erlydoculara3048
    @erlydoculara30484 жыл бұрын

    well explained ! THANK YOU SIR ! :)

  • @engrusmanzafar
    @engrusmanzafar5 жыл бұрын

    Thank you. It helped me. Useful video man.

  • @XX-vg8um
    @XX-vg8um Жыл бұрын

    Thank you so much, it's clearly explained. Please put more clips on statistic concepts and their interpritations

  • @morrismwanza5065
    @morrismwanza50652 жыл бұрын

    You've done me the magic...God bless you

  • @aravindvasudev7921
    @aravindvasudev7921 Жыл бұрын

    This video was very helpful. Thank you so much!

  • @nokuthulashange9865
    @nokuthulashange98652 жыл бұрын

    This man is GOLDEN!!!!!!!!!!!!!!!!!!!!!!!!

  • @MuaazYT
    @MuaazYT2 жыл бұрын

    You are a savior... Thanks, Sir :)

  • @Janeilliams
    @Janeilliams Жыл бұрын

    Indeed, you put a lot of work in this video. Thankyou, it was very helpful. Keep posting

  • @maggot9111
    @maggot9111 Жыл бұрын

    Thank you! Wonderful explanation

  • @dominicconroy810
    @dominicconroy8104 жыл бұрын

    Fantastic video, thank you so much

  • @waterford7736
    @waterford7736 Жыл бұрын

    Thank you so much sir,the video was really helpful

  • @chamopasindu414
    @chamopasindu41411 ай бұрын

    excellent video sir thank you very much

  • @russellkemmit73
    @russellkemmit734 жыл бұрын

    Thank you, I wanted to code this from scratch in Python and you really helped me.

  • @creativedrift8979

    @creativedrift8979

    3 жыл бұрын

    me too, except I was using c++. :)

  • @ahmetsemihkarakas1597

    @ahmetsemihkarakas1597

    3 жыл бұрын

    me too, except I was using matlab :)

  • @suneeth_kumar
    @suneeth_kumar Жыл бұрын

    appreciate your effort sir...thanks a lot

  • @malefiyadesale7763
    @malefiyadesale77633 жыл бұрын

    I'm real thank you!!! for your great explanation and can I understand

  • @saurabhkhatri2295
    @saurabhkhatri22953 жыл бұрын

    Dear Jonathan sir, nice and clear calculation steps explained, which will help me in my examination. if you also share the formula to calculate standard errors for intercept and independent variables in case of multiple regression, it would be very much helpful.

  • @nicholaskirimi1567
    @nicholaskirimi15674 жыл бұрын

    Thank you.This a very useful video.

  • @varvarashtembari9451
    @varvarashtembari94514 жыл бұрын

    thank you sir! excellent explanation!

  • @itzsale3927
    @itzsale39273 жыл бұрын

    This helped a lot, thanks!

  • @dalmasogembo7034
    @dalmasogembo70343 жыл бұрын

    Great video, I can know solve this quiz! Thank you very much

  • @ouardabrahmia2959
    @ouardabrahmia2959 Жыл бұрын

    Many thanks, it was very helpful❤

  • @hafizadadullah405
    @hafizadadullah4052 жыл бұрын

    Absolutely wonderful🥰, you made my day✌️

  • @kolaletimothy6417
    @kolaletimothy64173 жыл бұрын

    thanks alot..this really helped me..BIG UP👏

  • @macanbhaird1966
    @macanbhaird19663 жыл бұрын

    Very useful - I teach this too at a more basic level and this was great! Thanks

  • @MathsAndStats

    @MathsAndStats

    3 жыл бұрын

    Hi Andrew. Thanks for the kind words. Regards. Jonathan.

  • @elrevesyelderecho
    @elrevesyelderecho3 жыл бұрын

    Thank you! I am working on PBI and I was looking for a way to do it on DAX.

  • @ibrahimAnjum
    @ibrahimAnjum2 жыл бұрын

    Thank you so much! I was trying to figure out what formula the LINEST function of excel uses for multiple Regression, I was able to figure using this video

  • @mrblawblawblaw2335
    @mrblawblawblaw2335 Жыл бұрын

    Wonderful....

  • @charitymanzinde9196
    @charitymanzinde91964 жыл бұрын

    Thank you. ..well explained

  • @osamafaisal6607
    @osamafaisal66073 жыл бұрын

    Many thanks, that was helpful!

  • @baboucarrgibba2615
    @baboucarrgibba26152 жыл бұрын

    thank you so much sir, you really make me understand it

  • @snr.Adams100
    @snr.Adams100 Жыл бұрын

    Quite an eye opener content you have posted..😊I would really appreciate if you could post another one showing how to derive the coefficients of a multiple linear regression with 2 independent variables.

  • @raidzeromatt

    @raidzeromatt

    Жыл бұрын

    Yes, I looked for part 2 and it doesn't look like he ever did one That would be a huge help

  • @umarsanusi5740
    @umarsanusi57403 жыл бұрын

    Well done

  • @utubeworldchannel9452
    @utubeworldchannel9452 Жыл бұрын

    Very well explained

  • @runxitymotorsports
    @runxitymotorsports2 жыл бұрын

    that was a good one 👍

  • @jankakopkasova7480
    @jankakopkasova7480 Жыл бұрын

    thank you so much for saving me from a mental breakdown

  • @VlogVenturesDubai
    @VlogVenturesDubai3 жыл бұрын

    Thank u so much. I especially logged in my mail id to like and comment this video and this is my first ever comment on any KZread video in last 15 years. From the last 2 years i was searching to find an answer, How to put the values of constant and slope in equation? and today i got my answer. Highly appreciation from Pakistan.

  • @MathsAndStats

    @MathsAndStats

    3 жыл бұрын

    Hi Kamran. Thank you for the kind words and I am really happy that the video was helpful. It would be great if you could subscribe and share with your friends. Thank you from Ireland. Jonathan.

  • @mohammadhoseinbigdeli8782
    @mohammadhoseinbigdeli87823 жыл бұрын

    huge thank to you

  • @hasiburrahman6006
    @hasiburrahman6006 Жыл бұрын

    Thank you very much Sir ❤️

  • @rahulahuja1412
    @rahulahuja14123 жыл бұрын

    How are the p-values calculated in multiple regression case? How to interpret them?

  • @gilma4328
    @gilma43282 жыл бұрын

    this is amazing ! Thank you s much.

  • @gmc254quads6
    @gmc254quads64 жыл бұрын

    Quite an insight. Thank you. I do have a question though, is there a formula for more than 2 variables that does not involve matrix calculations.

  • @MichaelCarrPilot

    @MichaelCarrPilot

    7 ай бұрын

    I'm wondering the same thing! I have a need to have 3+ input but sitll only one output.

  • @imtiazahmad7826
    @imtiazahmad78264 жыл бұрын

    nice video so helpful

  • @lastvatican1976
    @lastvatican19763 жыл бұрын

    Good video

  • @kylmaz5782
    @kylmaz578210 ай бұрын

    If I want to transform this regression model into a LASSO regression model with penalty terms, how do I calculate the new model along with the penalty terms? For example, if I want to set lambda (λ) to 0.005.

  • @citrasalsabillap4608
    @citrasalsabillap46084 жыл бұрын

    thankyou so much. today i have exam test and i understand about this subject. :)

  • @behailumimi

    @behailumimi

    2 жыл бұрын

    I'm very comfortable. Please please post The Three variables case(OLS)

  • @mandarabattalahalli37
    @mandarabattalahalli374 жыл бұрын

    Thank you. you saved my exam. may god bless you

  • @MathsAndStats

    @MathsAndStats

    4 жыл бұрын

    Hi Mandara, That's good to hear. Please share. Regards. Jonathan

  • @rafaelladeia7278
    @rafaelladeia72783 жыл бұрын

    Thank you! But, and when I have 4 independent variable? How it goes?

  • @busrakaraman2520
    @busrakaraman25204 жыл бұрын

    Thank you sooooooo much *-*

  • @millenniumpundit2875
    @millenniumpundit28752 жыл бұрын

    It's epic!

  • @IvanonUrsul
    @IvanonUrsul Жыл бұрын

    Hi, can you help me understand how b1 can be calculated if we would have three independent variables?

  • @fridaykaluba8396
    @fridaykaluba8396 Жыл бұрын

    Thank you so much sir

  • @KuZiMeiChuan
    @KuZiMeiChuan3 жыл бұрын

    Can you do nonlinear regression for two or more independent variables?

  • @saikalyangonuguntla594
    @saikalyangonuguntla5944 жыл бұрын

    suppose if there is a b3 and b4 what is the formula for that

  • @sethusudharshan3375
    @sethusudharshan33755 жыл бұрын

    Excellent decent explanation of two dependant varialble OLS. But I need for 3 variables.

  • @Radmud

    @Radmud

    4 жыл бұрын

    Multiple regression with 3 variables is explained on this page: openprairie.sdstate.edu/cgi/viewcontent.cgi?article=1055&context=agexperimentsta_tb Regression for more than 3 variables can also be deduced from the equations in the link.

  • @sylviastevoo2391
    @sylviastevoo23912 жыл бұрын

    Thank you sir

  • @user-hw5dp6yo3h
    @user-hw5dp6yo3h4 ай бұрын

    By which method you are explaining (linear correlation coefficient method)???

  • @tontontalisaysay2863
    @tontontalisaysay28632 ай бұрын

    THANK YOU

  • @hendsamy2911
    @hendsamy2911 Жыл бұрын

    Thank you ❤️

  • @jeevankuluru7305
    @jeevankuluru73053 жыл бұрын

    than you sir

  • @generodrick7504
    @generodrick7504 Жыл бұрын

    Thank you

  • @soulsdnight9038
    @soulsdnight90383 жыл бұрын

    You saved me!

  • @mishikhan455
    @mishikhan4553 жыл бұрын

    Thanku sir 🌸

  • @rudabashah6726
    @rudabashah67264 жыл бұрын

    Thnks sir 😊

  • @anjilayap2768
    @anjilayap27684 жыл бұрын

    Thank you, Sir!

  • @amosmuigaimwangi4797

    @amosmuigaimwangi4797

    4 жыл бұрын

    Anjila Yap hi anjila

  • @karanaritra9217
    @karanaritra9217 Жыл бұрын

    thanks man

  • @magnoliasphinkter8622
    @magnoliasphinkter86222 жыл бұрын

    can you explain intuitively why b1 and b2 are calculated the way it is?

  • @dhirajjha4429
    @dhirajjha44293 жыл бұрын

    What is the formula for b1 incase if we have 3 independent variables

  • @ama0899
    @ama08994 жыл бұрын

    how is it for three independent variables?

  • @muhammadijaz-lu3wg
    @muhammadijaz-lu3wg4 жыл бұрын

    If we add B3x3 than how to solve.. And also how to solve its Beta hypothesis individual..

  • @khankhan-fk5vh
    @khankhan-fk5vh3 жыл бұрын

    Nailed it 😎

  • @mugwerianmusa9002
    @mugwerianmusa90023 жыл бұрын

    Thank you so much for the work done

  • @MathsAndStats

    @MathsAndStats

    3 жыл бұрын

    Thanks, Mugwerian. Please share. Regards. Jonathan.

  • @moyoy5892
    @moyoy58923 жыл бұрын

    why do they equal the x variable when the x variable corresponds with the alignment of the c, right? that’s the only part i didn’t get

  • @MichaelCarrPilot
    @MichaelCarrPilot7 ай бұрын

    I have this all in several spreadsheets and have it all calculate it but can it be adjusted to have more than 2 input variables to get one output?

  • @MathsAndStats

    @MathsAndStats

    7 ай бұрын

    Hi Michael. You can extend it to more than two independent variables, but the parameter solution equations are huge. If you have it in Excel, you would be better generating the model results using the Excel Data Analysis Toolpak. Jonathan

  • @MichaelCarrPilot

    @MichaelCarrPilot

    7 ай бұрын

    @@MathsAndStats I appreciate your reply. I believe I got it figured out. I actually sent you an email to your Ireland College email with a link to one of the spreadsheets I’m using this converted to work with excel formulas.

  • @chandaemmanuel8155
    @chandaemmanuel81552 жыл бұрын

    How can I find a simple multiple regression equation using three variables

  • @kiranupase50
    @kiranupase502 жыл бұрын

    sir, i have one que ... what if we have more than two independent variable ? How we will calculate the equation ?

  • @malikamirzoshoeva5878
    @malikamirzoshoeva58783 жыл бұрын

    Thank you. It was very well explained 👍

  • @MathsAndStats

    @MathsAndStats

    3 жыл бұрын

    No problem, Malika. It would be great if you could share with your friends. Kindest regards. Jonatha

  • @malikamirzoshoeva5878

    @malikamirzoshoeva5878

    3 жыл бұрын

    @@MathsAndStats Sure)

  • @ezelrof403
    @ezelrof403 Жыл бұрын

    What will be the new formula for b1 if you have now 3 independent variables? Please answer, I'm having trouble in this part

  • @uzairkabeer

    @uzairkabeer

    Жыл бұрын

    I'll recommend you should use the matrix method for 3 or more. But if you follow the both formulas in the video you'll see there is a rhythm in the formulas, What I mean by that is, every new Xn we are multiplying it's summation on numerator and denominator. So, the formula of b1 given that we have three x values will look like this: b1= [ (Σ x2^2) (Σ x3^2) (Σ x1 y) - (Σ x1 x2 x3) (Σ x2 y) (Σ x3 y) ] / [ (Σ x1^2) (Σ x2^2) (Σ x3^2) - ( Σ x1 x2 x3)^2 ]