Statistics 101: Logistic Regression Probability, Odds, and Odds Ratio

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024

ความคิดเห็น • 132

  • @sierrawhiskey5155
    @sierrawhiskey5155 9 ปีที่แล้ว +107

    Your videos are an excellent service to humanity, thankyou

  • @hamzamohd.zubair1709
    @hamzamohd.zubair1709 6 ปีที่แล้ว +45

    I have a masters degree, and I don't say this often. Your videos are the best teaching material for Probability and Statistics. You are up there with Sal Khan, may be better.

  • @vylonygo7410
    @vylonygo7410 11 หลายเดือนก่อน +2

    Besides your undoutedly strong teaching skills, it is your playlist management skills and consistency that hold you at the top for me! Thank you for giving this to us for practically nothing!

    • @BrandonFoltz
      @BrandonFoltz  11 หลายเดือนก่อน +1

      I appreciate that! Thank you so much for the kind comment. I am so happy you find the videos helpful. 🤗

  • @sureshm430
    @sureshm430 2 ปีที่แล้ว +1

    THANKS is not enough.. i should say more than that, I started my day with logistic regression, planned to complete in 2 to 3 hours.. i had gone through lot of stuff which lead to confusion between logit and sigmoid function..... felt bad and sad, that i couldn't make it, then your stuff came, it is SAVIOUR.. You explained very clearly, detailed every thing in simpler manner. I ended my day with SMILE with your stuff.. APPRECIATE.. APPRECIATE.. APPRECIATE... Expecting stuff on Machine Learning Algorithms too.

  • @Teodora4537x
    @Teodora4537x 6 ปีที่แล้ว +56

    Great video! Makes me wonder why I'm paying tuition fees when you're doing a better job than my teacher.

  • @BrandonFoltz
    @BrandonFoltz  9 ปีที่แล้ว +30

    *NEW VIDEO* is up! Second in the Logistic Regression Series

    • @KehleboeGongloe
      @KehleboeGongloe 9 ปีที่แล้ว +14

      Hi Brandon,
      I would like to thank you for these selfless efforts in helping millions of students around the global. That said, I would like you to know that there many places on earth today where students cannot even watch youtube for steady 2 minutes without interruption because of poor communication infrastructure. This brings me to question, do have all of your lectures of CDs or DVDs for sale? Or, have you published a book with these introductory lectures? I would like to buy these as I prepare to return to Liberia where I know it will be difficult to watch your lectures on youtube.
      Thank you again
      kehleboe

    • @MsSKim1
      @MsSKim1 6 ปีที่แล้ว

      thank you so much for this i love you

    • @kamryncherry9661
      @kamryncherry9661 6 ปีที่แล้ว

      Thank u brandon

  • @Marta43505
    @Marta43505 7 ปีที่แล้ว +16

    Thank you so much for these videos. You may be the one who saved me from repeating an awful class :)

  • @BasuthkarKiran
    @BasuthkarKiran ปีที่แล้ว

    I have never seen logistic regression being taught in such a logical and simple way. Thank you!

    • @BrandonFoltz
      @BrandonFoltz  ปีที่แล้ว

      Glad it was helpful! You are very welcome. I am grateful for your time.

  • @amairaguptasworld4728
    @amairaguptasworld4728 3 ปีที่แล้ว +1

    you are simply amazing. How easily you explained Logistic Regression. Great going Brandon.

  • @MrSofuskroghlarsen
    @MrSofuskroghlarsen 3 ปีที่แล้ว +2

    You have a talent, sir. I feel like i understand this very well. As someone who's attention span is very bad, you're very excellent at simplifying the stuff and also at keeping a calm and collected approach. I have learned so much from your statistics 101 videoes! Bless :)

  • @panagiotisgoulas8539
    @panagiotisgoulas8539 5 ปีที่แล้ว +1

    @ Brandon Foltz 8:53 I think I got it.
    You compare 2 different body weights: w1 P(sleep apnea)=p1 and P(not sleep apnea)=1-p1
    and w2 P(sleep apnea)=p2 and P(not sleep apnea)=1-p2 .
    So if w1=50kg and w2=51kg (1 unit increase in independent variable) the odds ratio will tell us how a 1kg increase in body weight increase the odds of having sleep apnea.
    Also P(struck by lighting)=p1 and P(hit by a meteor)=p2, both very low p1>p2
    odds(struck by lighting)=p1/(1-p1)>>>odds(hit by a meteor)=p2/(1-p2)
    General takeaway is what you said 10:10

  • @fetabrown
    @fetabrown 3 ปีที่แล้ว

    I've been tearing my hear air out with risk ratio vs odds ratio really mean - your meteor/lighting example really helped that make sense!

  • @amitverma20076
    @amitverma20076 5 ปีที่แล้ว +1

    Thanks for explaining so difficult concept in such a simple way. Great explanation!

  • @david4102
    @david4102 7 ปีที่แล้ว +3

    Brandon, this is really helping me with my thesis. Thank you

  • @MrsTurunTurun
    @MrsTurunTurun 7 ปีที่แล้ว +5

    I just started to watch you videos for fun. I have always thought of taking statistics.. thanks for showing me some basic points and how awesome and interesting it is! Can't wait to enrol in a full time statistics studies!

  • @sedaaydin3000
    @sedaaydin3000 9 ปีที่แล้ว

    I have seen many stats videos so far and i can comfortably say that your teaching technique is the best! thank you so much brandon!

  • @soniaturrini5039
    @soniaturrini5039 7 ปีที่แล้ว

    you are a blessing and will save my academic career.
    thank you

  • @markevans5648
    @markevans5648 4 ปีที่แล้ว +1

    Thank you so much! You are an extremely talented teacher.

  • @rachelburns6917
    @rachelburns6917 8 ปีที่แล้ว

    thank you Brandon! I have my research & analytics final in an hour and a half and this is a lifesaver

  • @jaci1011
    @jaci1011 6 ปีที่แล้ว

    Thank you soooo much Foltz. I have one comment for those who are confused about the difference between probabilities and odds, and one question. My comment is ' If we partition all the possible outcomes of an experiment into two part, and we call the first part "The outcomes of interest" and the second part "The outcomes not of interest", that is,
    all possible outcomes=outcomes of interest + outcomes not of interest
    Then depending on the problem you considering if you interested in the ratio "outcomes of interest/ all possible outcomes" then you talking about probabilities, and if you interested in the ratio "outcomes of interest/outcomes not of interest" then you are talking about odds, "visualisation of these ratios will help a lot in differentiating between probabilities and odds".
    My question is. 'According to the definition of odds "odds=p/1-p" it is clear that odds are ill defined when "p=1"' could you please elaborate more on this point?'

  • @sirginirgin4808
    @sirginirgin4808 4 ปีที่แล้ว

    Excellent explanation. Kindly keep uploading more lectures . Thanks

  • @suneel8480
    @suneel8480 4 ปีที่แล้ว +1

    Felt in love with your teaching style :)

  • @rajabtanbal1
    @rajabtanbal1 2 ปีที่แล้ว

    You are a gifted teacher.

  • @caterinaversari9871
    @caterinaversari9871 6 ปีที่แล้ว +1

    You are going to save me from a bad grade in my exam. Thank you, incredibly helpful!!

  • @ChryslerPTCruiser
    @ChryslerPTCruiser 5 ปีที่แล้ว +1

    These videos are really helping me with my fundamental understanding of how this stuff works thank you! The warning was super helpful because that part has been confusing me

  • @JasleenKaur-xl2fx
    @JasleenKaur-xl2fx 8 ปีที่แล้ว

    Hi Brandon,
    Thanks for putting together the core basics and sharing them with all. (y) BIG THUMBS UP
    I found two small errors in the slides.
    1) The warning slide, last bullet .. should mention "CHANGE" - odds can have a large magnitude "CHANGE"!
    2) the example you give of being hit by meteor or lightning, cannot have high odds while having lower probability ,but the CHANGE IN ODDS of being hit by one of the two based on say weather conditions or astronomical positions may be of LARGE MAGNITUDE for one with much lower probability.

  • @ssslogan9481
    @ssslogan9481 7 ปีที่แล้ว

    Thank you for your videos. They are comprehensive and easy to catch.

  • @pirasa5
    @pirasa5 4 ปีที่แล้ว +5

    Great video, thank you! Could someone explain and tell where to find how we calculated the increase in odds to 1.98 with 10 lbs gain and increase in odds to 3.867 with 20 lbs. Couldn't get my head around how these were calculated on the slide at 9:40. Thank you.

  • @scaras323
    @scaras323 ปีที่แล้ว

    YES ! This is what I was looking for ! Thank you so much !

  • @313neo
    @313neo 6 ปีที่แล้ว

    Thank you very much. The simple, plain, and coherent explanations are very helpful in understanding a new concept. Your time & effort is very much appreciated.

  • @GOURAVKUMAR-tg5gl
    @GOURAVKUMAR-tg5gl 4 ปีที่แล้ว

    excellent explanation....great

  • @meghnamane3375
    @meghnamane3375 2 ปีที่แล้ว

    Very nice explanation

  • @afiabakwasi544
    @afiabakwasi544 3 ปีที่แล้ว

    You made my evening, God bless you

  • @elizabethlambert8606
    @elizabethlambert8606 4 ปีที่แล้ว

    A legend among men! You may have just saved by Research Statistics grade!

  • @lexmarkx83
    @lexmarkx83 7 ปีที่แล้ว +1

    Hi Brandon,
    You have been very helpful. Thank you so much!
    I have a request for you. Can you dig deeper into logistic regression and make videos on multiple logistic regression? It seems like almost all of your logistic regression videos are at an introductory level so I thought if you can upload more challenging stuff! Appreciate the effort as always!

  • @TheHectormanuto
    @TheHectormanuto 6 ปีที่แล้ว

    Note that log refers to the natural logarithm, as it is the common convention in
    computer science. The logit function takes as input values in the range 0 to 1 and
    transforms them to values over the entire real-number range, which we can use to
    express a linear relationship between feature values and the log-odds

  • @danielkursitis9031
    @danielkursitis9031 2 ปีที่แล้ว

    This was so helpful, Thank you!
    😁

  • @irockrock44
    @irockrock44 8 ปีที่แล้ว +1

    Thanks for a great video series. However I like to point that in last slide 'WARNING' - I think you meant separation between probability and odds ratio. not odds. when you say odds of getting hit by lightning is higher then odds of getting hit by meteor we are talking about odds ratio not individual odds. Correct me if I am wrong btw as I am a new learner of probabilities.

  • @johnessien2167
    @johnessien2167 4 ปีที่แล้ว +2

    Hi Brandon, thanks so much for your videos. I have been binging on them for a statistics assignment and you have done a wonderful job of breaking stats down. One concern I have with logistic regression would be helpful would be how to select the best logistic regression model. I ask this considering that the assumptions for linear regression are different from the assumptions for logistic regression. Or are the principles and the factors to look out for the same as with linear regression? I would infinitely appreciate your take on this. Thanks for all you do

  • @ozguctakmaz
    @ozguctakmaz 4 ปีที่แล้ว

    Excellent!

  • @Arendt-Foucault
    @Arendt-Foucault 7 ปีที่แล้ว

    Best statistics course ever . ThX

  • @sherryyu7259
    @sherryyu7259 7 ปีที่แล้ว

    Thank you very much. Hope Brandon if you can do a lecture in multinomial logistic regression.

  • @AfiaWerekoaah
    @AfiaWerekoaah 9 ปีที่แล้ว

    Thanks soo soo much for this vid. I'ts soo simple and soo clear to understand. Much appreciated. With love from Amsterdam, The Netherlands.

  • @nilanjanmitra6239
    @nilanjanmitra6239 9 ปีที่แล้ว

    Hi Brandon
    First I want to thank you very much for bringing every topic alive. I have gone through most of your videos-pretty good. I would like you to present some other topics like non-parametric test, design effects. Why you have not said any word on tests of proportions? its interval estimate and sample size?
    More you will deliver more we will enjoy
    Regards - Dr.Nilanjan

  • @jaimepuccioni9598
    @jaimepuccioni9598 6 ปีที่แล้ว

    Excellent video! A great intro and/or review of logistic regression.

  • @geethasubramanian9964
    @geethasubramanian9964 8 ปีที่แล้ว

    Good video.....helped a lot in understanding the concepts...Thank you

  • @rnd322
    @rnd322 8 ปีที่แล้ว

    Brandon, your videos are awesome! Such a brilliant way of simplifying all these concepts.

  • @mangaart3366
    @mangaart3366 3 ปีที่แล้ว

    Amazing video I learned so much!

  • @blankpages3881
    @blankpages3881 4 ปีที่แล้ว

    Hi. You stated that the odds of an event happening are the same for the same level of increase/decrease i.e., if the odds of having Sleep Apnea are 4 x more with a 10 pound increase from 100 pounds to 110, then this is sacrosanct for any level (200 to 210 or 500 to 510). However, I am unable to wrap my head around the intuition behind this. Wish you covered the intuition or math in this video. Hope the following videos cover this, moving onto the next!

  • @amanyasharon5227
    @amanyasharon5227 6 ปีที่แล้ว

    You're an excellent teacher

  • @tannaz5724
    @tannaz5724 7 ปีที่แล้ว

    How great your explanation 👌🏼thank you

  • @gaon5880
    @gaon5880 4 ปีที่แล้ว

    Excellent video. Thank you

  • @OubouchouN
    @OubouchouN 6 ปีที่แล้ว

    Excellent Brandon. I really love your videos. You saved my session :)

  • @growingisgood
    @growingisgood 7 ปีที่แล้ว

    Thank you so much. You're explanations are awesome !

  • @texaspolygraph
    @texaspolygraph 7 ปีที่แล้ว

    Awesome man. You explain things very well.

  • @chaowang1071
    @chaowang1071 3 ปีที่แล้ว

    So much videos, what you expained show me the truth.

  • @mohammadmaniat1040
    @mohammadmaniat1040 7 ปีที่แล้ว

    how great your explanation. thank you thank you

  • @texaspolygraph
    @texaspolygraph 7 ปีที่แล้ว

    Thanks again for another excellent video.

  • @JasleenKaur-xl2fx
    @JasleenKaur-xl2fx 8 ปีที่แล้ว +2

    Say the probability of being hit by metoer, on a particular day changes from regular recorded of .005 to .009 which is an increase of 80%
    while that of being hit by lightning, changes from regular recorded probability of .0005 to .0079 which is an increase of 1480%.
    To an ordinary person the probability of being hit by meteor(.009) is higher than probability of being hit by lightning(.0079)
    But the magnitude of CHANGE in their odds presents the real deviation from regular behaviour! :)

  • @sigridskjnne1132
    @sigridskjnne1132 6 ปีที่แล้ว

    Really good and informative video

  • @alexdamado
    @alexdamado 5 ปีที่แล้ว

    thanks for posting, really cleared up some concepts for me.

  • @abhijha3849
    @abhijha3849 8 ปีที่แล้ว

    Excellent video...

  • @jamesawuye5102
    @jamesawuye5102 9 ปีที่แล้ว +2

    Good work done

  • @annamirjam8164
    @annamirjam8164 8 ปีที่แล้ว

    These are awesome and very helpful!

  • @vinayvernekar8331
    @vinayvernekar8331 8 ปีที่แล้ว

    You explain it better than my professor

  • @badoiuecristian
    @badoiuecristian 4 ปีที่แล้ว

    Great video, thank you !

  • @iamdhruvcool
    @iamdhruvcool 6 ปีที่แล้ว +1

    quality video bro

  • @purplesubmarine83
    @purplesubmarine83 8 ปีที่แล้ว +1

    Thanks for this video, really helpful! I just have a stupid doubt: if there is an increase in odds of 1.07 when weight increases of 1 pound, this doesn't mean that the odds is equal to 1.07 when you weight 1 pound more, but just that 1.07 is the difference in odds between the final and the initial weight, right? I have this doubt because you write both 'increase by ...' and 'increase to ...' and that confuses me a little...

  • @vinayvernekar8331
    @vinayvernekar8331 8 ปีที่แล้ว

    Thank you , Thank you for the video..............

  • @rohitekka2674
    @rohitekka2674 3 ปีที่แล้ว

    I binge watch your playlist instead of a Netflix series.

  • @cbd89
    @cbd89 8 ปีที่แล้ว

    YOU ARE A SAVIOUR !

  • @ALBANIAN4FREDOM
    @ALBANIAN4FREDOM 9 ปีที่แล้ว

    Brandon, thank you soo much

  • @rachelli6817
    @rachelli6817 9 ปีที่แล้ว +1

    I like everything you say! so so useful!

  • @dr.satyabratasahoo5644
    @dr.satyabratasahoo5644 2 หลายเดือนก่อน

    Ravishing

  • @corneliadiana9919
    @corneliadiana9919 4 ปีที่แล้ว

    please make some videos regarding survival analysis

  • @zckfu
    @zckfu 9 ปีที่แล้ว

    Is it possible for you to discuss about the "COUNT DATA" using poisson regression, quasi-poisson, or even the negative binomial regression?

  • @emmah8712
    @emmah8712 6 ปีที่แล้ว

    So basically probability is the likelihood of an event occuring while odds simply propense the chances of its occurence. So the chances that some one may experience an event is a function of the changes in odds that is subjected to the variablility of a significant event and the initial probility of him/her experiencing at the time before the change in odds. I hope i am not confused by the way i suscribed. Thanks alot. Please if you dont ind can you do a tuto on spss on binary multiple logistic regression with both nominal and ordinal data set thanks loads.

  • @faruqsandi6184
    @faruqsandi6184 6 ปีที่แล้ว

    I love your video. Great.

  • @Highlander0689
    @Highlander0689 8 ปีที่แล้ว

    This is a good video, but what about the calculation and interpretation of marginal effects at the means for this type of model? Also, what about the similarities and differences between probit and logit models?

  • @himanshu431
    @himanshu431 6 ปีที่แล้ว

    Thanks a lot.

  • @muhammadelemam346
    @muhammadelemam346 5 ปีที่แล้ว

    thanks for your explanation but there is no soft source you can send it so we can start our training on your great knowledge

  • @eduugr
    @eduugr 7 ปีที่แล้ว

    Thank you !!

  • @hiCooljacko
    @hiCooljacko 8 ปีที่แล้ว

    Good video

  • @nguyendinhtuan1
    @nguyendinhtuan1 3 ปีที่แล้ว

    To predict in the parity game on the internet, what algorithm should be applied, sir? I'm from Vietnam.

  • @danguerriero3094
    @danguerriero3094 9 ปีที่แล้ว +1

    Will be starting in a month or two your videos query could this help in stock trading. I realize there are no sure bets

    • @BrandonFoltz
      @BrandonFoltz  9 ปีที่แล้ว +2

      +Dan Guerriero Hello! It could be used to convince oneself that there is a hard science behind stock trading. But there is much random walk in the market. I am a proponent of a diversified buy and hold strategy of index funds and ETFs in a tax deferred account with dividend reinvestment. No realized capital gains or transaction costs which usually eat up results in a hurry. But this could be used to develop some interesting models or just explore the market.

    • @danguerriero3094
      @danguerriero3094 9 ปีที่แล้ว

      +Brandon Foltz Brandon thank you for your time. Your right no way to predict which makes diversify sensible. I appreciate your response and scholarship

  • @cristtos
    @cristtos 4 ปีที่แล้ว

    With the weight variable odds ratio - I get a different value for the 10 pound increase - unless I am missing something.
    1.07 to the power of 10 is 1.96715135728956532249, which rounds up to 1.97, not 1.98.
    Am I wrong?

  • @sajjadabdulmalik4265
    @sajjadabdulmalik4265 4 ปีที่แล้ว

    Hi Brandon, what made you choose numerator as loaded coin is there any rule for this?

  • @wisesoar
    @wisesoar 9 ปีที่แล้ว

    Hi Brandon,
    Thanks for your video, I really enjoy watching and learning from it.
    However, I have some questions and confusion about the odds ratio.
    How does 10 pound increase in body weight increase the "odds" of having apnea to only 1.98?
    According to the statement, "...the odds ratio for a variable represent how the odds change with a 1 unit increase in that variable while holding all other variables constant",
    Shouldn't it be 1.07 * 10, thus gives 10.7 increase in the odds?
    How come it becomes the exponential relationship, 1.07^10 = 1.98?
    Thanks

    • @BrandonFoltz
      @BrandonFoltz  9 ปีที่แล้ว +1

      wisesoar Hello! The relationship is exponential by definition. Watch the rest of the videos in the series and it should all make sense. :) If you are still confused after watching the rest, let me know and we can go from there. Thanks for watching!

    • @wisesoar
      @wisesoar 9 ปีที่แล้ว

      *****
      Thanks so much for your reply. I figured it out. It's actually related to the logged odds ratio.

  • @somcana
    @somcana 5 ปีที่แล้ว

    How do you convert odds of 19.5 to a percentage. I am more familiar with 1 digit and the decimal values

  • @Streetkillerful
    @Streetkillerful 6 ปีที่แล้ว

    At the last part of the video, was that odd , an odd ratio you referred to?

  • @bobababy2436
    @bobababy2436 3 ปีที่แล้ว

    By any chance could you share the slides as well? Thank you so much!

  • @thej1091
    @thej1091 5 ปีที่แล้ว

    how is odds ratio explained at 10:43 similar or even remotely close to odds ratio explained in the previous slide?

  • @kristinrichie3718
    @kristinrichie3718 8 ปีที่แล้ว

    Hi Brandon,
    I have a question about the independent variable. So far, you have been using examples were the independent variable is quantitative or interval-ratio. However, can logistic regression be used with an independent variable that is nominal/categorical and binary. I have been told that as long as both independent and dependent variables are binary, logistic regression can be used.
    Thanks!

    • @korneliaekeli7117
      @korneliaekeli7117 8 ปีที่แล้ว

      +Kristin Richie I'm not Brandon, but...Yes, I believe it can! You just have to dummy-code the categorical variable, as you would in linear regression when dealing with categorical variables :)

    • @kristinrichie3718
      @kristinrichie3718 8 ปีที่แล้ว

      Thanks Kornelia! :)

    • @kristinrichie3718
      @kristinrichie3718 8 ปีที่แล้ว

      Also, when you say dummy-code the categorical variable, what exactly do you mean? Are you referring to transforming/recoding the variable into a binary category?

    • @korneliaekeli7117
      @korneliaekeli7117 8 ปีที่แล้ว

      Yup :)

  • @marloon5
    @marloon5 9 ปีที่แล้ว +1

    fyi the link to the third video does not work for me.

  • @indirakasnawati6029
    @indirakasnawati6029 3 ปีที่แล้ว

    hey how did you get the number for loaded coin flip? :(

  • @attitude928
    @attitude928 8 ปีที่แล้ว

    Any way to get Odds Ratios for the excel linear regression program?

  • @StillOnMars
    @StillOnMars 6 ปีที่แล้ว

    In my case odds for getting a head are much smaller than 1. Why is it so?

  • @vinayvernekar8331
    @vinayvernekar8331 8 ปีที่แล้ว

    If teaching is an art then you are Leonardo Da Vinci

  • @LonglongFeng
    @LonglongFeng 8 ปีที่แล้ว

    the link in the video 'Click here for video #3' is not working

  • @Allyballybean
    @Allyballybean 7 ปีที่แล้ว

    Should it say "Increases the odds by a factor of 1.98" ( not increases the odds to ...)