StatQuest: Logistic Regression

Поделиться
HTML-код
  • Опубликовано: 29 июн 2024
  • Logistic regression is a traditional statistics technique that is also very popular as a machine learning tool. In this StatQuest, I go over the main ideas so that you can understand what it is and how it is used.
    For a complete index of all the StatQuest videos, check out:
    statquest.org/video-index/
    If you'd like to support StatQuest, please consider...
    Buying The StatQuest Illustrated Guide to Machine Learning!!!
    PDF - statquest.gumroad.com/l/wvtmc
    Paperback - www.amazon.com/dp/B09ZCKR4H6
    Kindle eBook - www.amazon.com/dp/B09ZG79HXC
    Patreon: / statquest
    ...or...
    RUclips Membership: / @statquest
    ...a cool StatQuest t-shirt or sweatshirt:
    shop.spreadshirt.com/statques...
    ...buying one or two of my songs (or go large and get a whole album!)
    joshuastarmer.bandcamp.com/
    ...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
    0:00 Awesome song and introduction
    0:23 Review of linear regression
    3:09 Logistic regression overview
    6:22 Logistic regression vs Linear regression
    8:06 Summary of concepts
    #statquest #logistic

Комментарии • 1,1 тыс.

  • @statquest
    @statquest  2 года назад +34

    Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

    • @ivanjcardona
      @ivanjcardona Год назад +1

      I've just bought the book. Thanks.

    • @statquest
      @statquest  Год назад +1

      @@ivanjcardona Awesome! Thank you so much for supporting StatQuest! :)

    • @alexroode2659
      @alexroode2659 3 месяца назад +1

      Also bought the book and am very happy with it! I really recommend the book and love the idea of supporting the channel in such a way! Thanks for everything!

    • @statquest
      @statquest  3 месяца назад +1

      @@alexroode2659 Thank you very much!

  • @subhadeep1802
    @subhadeep1802 4 года назад +959

    Your videos helped me throughout my MS, helped me clear my interview for PhD at the 2nd best university of India (IIT Delhi), and now its helping me sail through my PhD. Words won't be enough for all the help you've provided! All I wanna say is Wish I can possess explanation skills like you and become a teacher like you someday!

    • @statquest
      @statquest  4 года назад +96

      Congratulations!!! Good luck with the remainder of your PhD.

    • @varundeshpande3674
      @varundeshpande3674 3 года назад +4

      Congratulations Subhadeep!

    • @KumarHemjeet
      @KumarHemjeet 3 года назад

      What's your branch ?

    • @subhadeep1802
      @subhadeep1802 3 года назад +6

      @@KumarHemjeet dept. of management studies

    • @Norainjoe
      @Norainjoe 3 года назад +17

      congrats on getting into IIT! My mentor is a grad of IIT-- what a university!

  • @russell2016
    @russell2016 5 лет назад +1604

    the intro killed me

  • @caglareren
    @caglareren 4 года назад +321

    as far you're the best explainer I've ever seen.. Thank u Josh for all the efforts..

  • @joerich10
    @joerich10 6 лет назад +15

    Outstanding! Its so rare to find people who can explain stats concepts in a simple, intuitive way. Well done!

  • @kaiding3322
    @kaiding3322 Год назад +30

    Just want to say the quality of the video is top-notch. I'm currently pursuing MS in data science at a top-5 university in the US, but I did not find materials that explain logistic regression so clearly in such short space, and that managed to connect several related concepts together. Thank you for doing this!

    • @statquest
      @statquest  Год назад +1

      Thank you very much! :)

    • @NoNo-nr2xv
      @NoNo-nr2xv 4 месяца назад +1

      Way too many materials pontificate.
      "Consider a perpendicular set of data that is in concordance with the average to a set variance within a dataset that has parametric properties"
      Translation:
      "Here are residuals on data normally distributed".
      It is actually quite shocking how many "advanced topics" when properly broken down and disseminated aren't nearly as difficult to learn.

  • @Hadam1200
    @Hadam1200 5 лет назад +20

    Thank you so much for clarifying logistic regression in an easy to understand way! My prof is horrible at lectures, and this video really hits on the fundamentals of this topic

  • @FrequentC88
    @FrequentC88 5 лет назад +24

    This is the best simplified explanation I have found, thank you! You gained a new sub!

    • @statquest
      @statquest  5 лет назад +1

      Hooray! I'm glad you like the videos. :)

  • @ThatDudeUKChronicles
    @ThatDudeUKChronicles Год назад +7

    Mate, you are the only one who ties the knots all along the conceptual backgrounds which bring about the methods blindly used by most of us. Superb. Couldn't help but subscribe and comment here. Keep at it. This channel is pure gold.

  • @sophiengocloannguyen6646
    @sophiengocloannguyen6646 3 года назад +7

    Thanks Josh! This is the most understandable material I've ever seen. Please keep up your excellent work! By the way, I had to replay the intro several times, love it!!

    • @statquest
      @statquest  3 года назад

      Thank you very much! :)

  • @huytrinhquang155
    @huytrinhquang155 Год назад +9

    Videos like this make me wonder how these are free and those dry lectures at schools are charged

  • @reneeliu6676
    @reneeliu6676 5 лет назад +17

    Your videos are officially becoming my go-to when I want to learn stats. Thank you!

  • @slokisofttech5958
    @slokisofttech5958 6 лет назад +141

    hats off to you to explain such a complicated topic in very easy sense (common sense) ...thums UP!!!

    • @kudoamv
      @kudoamv 5 лет назад +1

      *BAM!*

    • @thom8303
      @thom8303 4 года назад

      *Thumbs up hahha Yes agree

  • @liuqing1995
    @liuqing1995 4 года назад +20

    Thank you so much for making statistics so interesting and EASY to understand!
    You are really a very good teacher!

  • @richienie1272
    @richienie1272 4 года назад +18

    The most clearly explanation I ever heard!!!

  • @loccc88
    @loccc88 3 года назад +6

    I know it's an old video but I religiously watch your videos even today. I have become so used to it that even while taking notes, I write " BAM", "Triple BAM" and "Double BAM".

  • @blockeduser4407
    @blockeduser4407 4 года назад +7

    My youtube watching history, you are the only guy who got like for every video I watch. and I like the videos which are genuinely helpful and amazing. You are the amazing stat guy every. Please, Keep doing what you are doing Josh!

    • @statquest
      @statquest  4 года назад +1

      Thank you very much! :)

  • @ericamoron5268
    @ericamoron5268 3 года назад +8

    This is so clearly explained, and helps clarify logistic regression from a conceptual point of view. thank you!!

    • @statquest
      @statquest  3 года назад +1

      Glad it was helpful!

  • @rubamahasneh5965
    @rubamahasneh5965 5 лет назад +19

    just wanted to thank u again for all the efforts Josh :) ur Brilliant Lots of love & Respect !

    • @statquest
      @statquest  5 лет назад

      Thank you so much!!! :)

  • @orfeaspapaioannou2755
    @orfeaspapaioannou2755 4 года назад +13

    just discovered your channel. It's amazing! Difficult consepts are explained so clearly

  • @Elitea20
    @Elitea20 5 месяцев назад +5

    I SAW THIS IN MY LECTUREE AND I ALMOST CRIED THE SECOND I SAW STATQUEST UPLOADED YOU WONT UNDERSTAND HOW HAPPY I GOT YESSSSSS

    • @statquest
      @statquest  5 месяцев назад +1

      BAM! :)

    • @Elitea20
      @Elitea20 5 месяцев назад +1

      @@statquest DOUBLE BAMMM

  • @apoorvatyagi7565
    @apoorvatyagi7565 4 года назад +29

    OMG. This is the best channel for ML. Gonna recommend this to everybody in class. Hats off to your way of explaining such complicated topics in few min. Literally, I am more interested in learning ML in depth now all because of you. Why don't you drop a bootcamp course or something?

    • @statquest
      @statquest  4 года назад +1

      Thank you very much! :)

  • @martian5608
    @martian5608 2 года назад +2

    I'm liking the video just for the entry music. Relieved all my stress and I was able to focus better. What a positive way to start the lecture. Impressive man.

  • @rajeevradnair
    @rajeevradnair 2 года назад +2

    I would argue that this is one of the top 5 jingles of yours. I went back at least 10 times and listened to it. Double Bam!
    Thank you Guruji!

    • @statquest
      @statquest  2 года назад

      Yes! I like like this one a lot too.

  • @jieunkim8258
    @jieunkim8258 5 лет назад +25

    Thanks so much for all these brilliant videos, Josh! I've been binge-watching your vids lately and am learning so much from them. Speaking of fitting a squiggly line, any plans for ordered probit regression (which I believe too similar to logit regression?) and/or survival/hazard analysis?

    • @statquest
      @statquest  5 лет назад

      Probit regression is on the to-do list. It is very similar to logistic regression - if you watch the "Details" videos that I made for Logistic Regression, I bet you can figure it out! ;)

  • @geoffbakerhytch5623
    @geoffbakerhytch5623 3 года назад +5

    What a brilliant explanation of a 'tricky' technique! Well done, Josh, and thank you so much - I'm helping my son with his MA in Pol. Sci.; I have taught (more elementary!) stats myself; I'd heard of LOGISTIC REGRESSION, but had never myself used or taught it; you've made it SOOO clear!!

    • @statquest
      @statquest  3 года назад

      Wow! Thank you very much! :)

  • @hpmt6727
    @hpmt6727 6 месяцев назад +1

    This explanation is better than the thousands I've spent getting my MS. THANK YOU!

    • @statquest
      @statquest  6 месяцев назад

      Glad it was helpful!

  • @slavomiraglendova2565
    @slavomiraglendova2565 4 года назад +4

    I didn´t understand Logistic Regression at all. I was desperate, then I clicked on this video...and BAAM. Love you. You really helped me. Thank u Josh!

  • @perrygogas
    @perrygogas 5 лет назад +3

    That was the best explanation of MLE I ever encountered!!! I will use it in class! Thank you!!!

    • @statquest
      @statquest  5 лет назад +1

      Awesome!!! :)

    • @cemkirac5829
      @cemkirac5829 5 лет назад +2

      I totally agree, i finally understood MLE

  • @babakea8444
    @babakea8444 5 лет назад +11

    WOw , The best expression. You rock ! thanks a lot

  • @Niral1337
    @Niral1337 5 лет назад +1

    Josh, you are truly the best and most beautiful person on RUclips. Not just because you help me out of tricky situations, but just your general attitude makes me happy to learn statistics!

    • @statquest
      @statquest  5 лет назад +1

      Hooray! Thank you so much! :)

  • @abhishekmestry7033
    @abhishekmestry7033 4 года назад +1

    you are the one of the best teacher that i am learning from, thank you stats quest!!!

  • @anachromancer7005
    @anachromancer7005 2 года назад +16

    Thank you so much for revealing in such a clear way the otherwise esoteric enterprise of statistics for non-statisticians / mathematicians! People like you makes all the difference in educating a lot of people.

  • @Millairmusic
    @Millairmusic 4 года назад +4

    Dead Josh!
    I just randomly chosed this video from the many you uploaded to your channel to say that a few days ago I got my master degree from Survey Statistics and to say thank you for your awsome videos. You helped me a lot to absolve this challenge with sucess, thank you 1000times :)

    • @statquest
      @statquest  4 года назад +3

      Congratulations!!! That's awesome!! TRIPLE BAM!!!!

  • @tymothylim6550
    @tymothylim6550 3 года назад +2

    Thank you again for this video! This is my second time watching it (after a long while) and it is still so relevant and helpful!

  • @stephenventura4075
    @stephenventura4075 2 месяца назад +1

    Your videos are helping me out through my BAIM courses. Simplifying 20-pg chapters that are filled with mostly overly complex jargon helps so much

    • @statquest
      @statquest  2 месяца назад

      Happy to help! :)

  • @jaelbutler7966
    @jaelbutler7966 4 года назад +5

    Thank you so much for these tutorials and explanations! I love coming to your channel when I need to understand a machine-learning concept; I always find what I'm looking for. :)

  • @aanatusingh7989
    @aanatusingh7989 2 года назад +4

    You are helping me learn so much in such less time, that too without leaving any concepts. I prepared for my exam by watching your videos in 2 days for the course that was taught for 30 hours or so.

    • @statquest
      @statquest  2 года назад

      Good luck with your exam! :)

  • @MultiBiggie007
    @MultiBiggie007 5 лет назад +1

    Best explanation on youtube! thanks and keep it up.

  • @roshni1098
    @roshni1098 3 года назад +1

    Thank you for your videos, they are so helpful!! I will be sharing them with my machine learning classmates!

    • @statquest
      @statquest  3 года назад

      Thank you very much! :)

  • @glowish1993
    @glowish1993 5 лет назад +3

    omg, you're legit. thanks for the awesome explanation, instantly subscribed. helps that the intro is catchy as well

    • @statquest
      @statquest  5 лет назад +1

      Thank you so much! :)

    • @Jay19876
      @Jay19876 4 года назад

      @@statquest OMG, you're "logit" :p

  • @geethass8094
    @geethass8094 6 лет назад +11

    what an explanation!😊😁👏👏👌👌👌

  • @krishnak9307
    @krishnak9307 3 года назад +1

    You cleared all the ML doubts in my head... Thank you Josh

  • @hiyaparekh4143
    @hiyaparekh4143 7 месяцев назад +1

    Best machine learning playlist out there ! Thanks for making such amazing content and helping students understand the concept. May god bless you ✨

  • @vaishnavi4354
    @vaishnavi4354 4 года назад +11

    The Intro Song is So nice 🙇🙇🙇
    And actual concepts explained by you are on the 7th heaven
    😎😎😎

    • @statquest
      @statquest  4 года назад +1

      Thank you very much! :)

  • @nicstandby
    @nicstandby 4 года назад +8

    I loved the intro so much I had to watch it a couple of times hahaha

  • @goliama5653
    @goliama5653 Год назад +1

    You are amazing!! I just found your channel and I’m obsessed with it!

  • @MaruMalu1
    @MaruMalu1 3 года назад +2

    Finally .. after reading alot about Logistic Regression make me even more confuse. i found this beautiful video.. easy to understand

    • @statquest
      @statquest  3 года назад +1

      Glad it was helpful!

  • @sunitgautam7547
    @sunitgautam7547 3 года назад +5

    Pressed the like button for the song first! I am sure the rest would be amazing as always! :)

  • @mostinho7
    @mostinho7 4 года назад +3

    Done thanks
    3:15 logistic regression predicts smth binary instead of continuous like linear regression
    Logistic regression S shaped curve

  • @goelnikhils
    @goelnikhils Год назад +2

    Amazing work Josh. What a clear explanation. Vow. Great Work

    • @statquest
      @statquest  Год назад

      Thank you very much!!! :)

  • @christiannechen940
    @christiannechen940 5 лет назад +1

    thanks soooo much for the detailed explanation! i've been looking for it for a long long time and finally found it here!

    • @statquest
      @statquest  5 лет назад

      Hooray! I'm glad the video was helpful. If you need more details, I've got videos that follow up on this one.

    • @christiannechen940
      @christiannechen940 5 лет назад +1

      yes please! it would be great if we can see more videos about the complicated logistic regression model (ordinal, multinomial, etc) :)

    • @statquest
      @statquest  5 лет назад

      Here are the videos that follow up on this one.
      This video explains how the coefficients should be interpreted:
      ruclips.net/video/vN5cNN2-HWE/видео.html
      This is how the coefficients are determined:
      ruclips.net/video/BfKanl1aSG0/видео.html
      This is how you calculate R-squared and p-values for logistic regression:
      ruclips.net/video/xxFYro8QuXA/видео.html
      This next video is optional, but explains the concept of a saturated model and deviance statistics:
      ruclips.net/video/9T0wlKdew6I/видео.html
      Lastly I have a video on deviance residuals:
      ruclips.net/video/JC56jS2gVUE/видео.html
      The good news is that multinomial logistic regression is very similar to normal logistic regression. For example, if you have 3 possible outcomes (instead of 2, which is what you normally have), you simply look at the log ratio of the probability of the first option compared to the probability of the third option. Then you look at the log ratio of the probability of the second option compared to the probability of the third option. These ratios will tell you which option to to pick.
      More good news is that I will be making videos to explain "regularization", which is a method used to solve for the maximum likelihood estimates for multinomial logistic regression.

  • @ritabogorad567
    @ritabogorad567 6 лет назад +3

    thank you so much for those videos!!!! you have cured my fear of statistics!!!!

  • @leoaucar
    @leoaucar 5 лет назад +3

    Thank you, very usefull explanation for ML newbies like me.

  • @kartik_exe_
    @kartik_exe_ 9 месяцев назад +1

    Another time gotta say that best teacher alive on the planet really the best teacher on the planet love you sir

    • @statquest
      @statquest  9 месяцев назад

      Thank you so much!

  • @hiromizd6036
    @hiromizd6036 3 года назад +1

    Thank you for explaining the concepts so clearly!!

  • @mayureshsalvi734
    @mayureshsalvi734 4 года назад +3

    Anyone can make a simple topic difficult.. It takes skills to make a difficult topic simpler one.. You just made stats look easy to me.. That's the sign of a great teacher.. Keep up the good work..

  • @umanagaswamy6358
    @umanagaswamy6358 4 года назад +7

    I am LMAO after the seeing the "Astrological sign" as a feature, awesome content Josh! I am learning so much from your videos and the content is helping me understand scientific papers!

    • @statquest
      @statquest  4 года назад +3

      Hooray! :)

    • @LFilippidis
      @LFilippidis 2 года назад

      I was looking for this comment :-)

  • @anishdhane1369
    @anishdhane1369 2 года назад +2

    Thank you for providing a short and fun explanation!!😁

    • @statquest
      @statquest  2 года назад +1

      Glad it was helpful!

  • @chrischen7451
    @chrischen7451 2 года назад +1

    very well explained, and super clear to understand, it is super clear, putting comparison together, to help us understand the differences, thank you

  • @rayanal-bahri4148
    @rayanal-bahri4148 4 года назад +8

    The introduction made me laugh hahaha you made my day thanks

    • @statquest
      @statquest  4 года назад +1

      This is one of my better intros. Thanks! :)

  • @mushfiratmohaimin5892
    @mushfiratmohaimin5892 3 года назад +3

    Ohhoo I am a 15 year old, and yet understood everything you said!!!
    I now know Feed-forward neural networks and Convolutional ones
    I'm focusing on LSTMs now
    I've come so far because of your explanation on these basic algorithms (I mean Linear and logistic regression, and gradient descent)
    Your explanations are the best!!
    Keep it up!
    Thank you!

    • @statquest
      @statquest  3 года назад +1

      Thank you very much! I'm glad my videos are helpful and wish you good luck with learning about LSTM Neural Networks. :)

  • @chasti5754
    @chasti5754 3 года назад +1

    Dare I say you make our research better and our minds clearer, thank you!

  • @CAAnmoldeepsingh
    @CAAnmoldeepsingh 5 лет назад +1

    The thing i like most about this channel is that it reveals the inside details of the personal stat world, like in this video he revealed the expression "totes useless". Had no idea about this. Today I'm gonna use this in class and infront of my friends and everyone will know I'm the cool one.

    • @statquest
      @statquest  5 лет назад

      Let me know how it goes! :)

  • @Jazz12211
    @Jazz12211 2 года назад +3

    This one video is already so much better than most of my online grad school classes.

  • @yutumedia
    @yutumedia 5 лет назад +8

    you should definitely launch a channel just for your intro music. Quest On!

  • @akarshnagaraj6155
    @akarshnagaraj6155 3 года назад +1

    Why would ANYONE dislike your videos? Tells you how you can't please everybody no matter how good you are!

  • @lalakuma9
    @lalakuma9 3 года назад +1

    Thanks for your videos! I got super lost in class because my prof went straight to the math without explaining the concept of Logistic Regression first in English. You're a life saver.

  • @vibhupk
    @vibhupk 3 года назад +7

    I must admit one thing Josh. You've always made complicated statistical and ML concepts easier to understand. Thank you 🥰😊

  • @sptoo123
    @sptoo123 3 года назад +3

    That intro song deserves my subscription.

  • @bincybaburaj
    @bincybaburaj 3 года назад +1

    The content is amazing in all videos; I loved this intro song the most than everything else :D

  • @mahbub-e-elahirizvee7858
    @mahbub-e-elahirizvee7858 2 года назад +1

    Damn that intro was good! i thought i clicked the wrong video, cause literally NO ONE sings for any educational video.. Mad respect!

  • @MrLGDdestroyer
    @MrLGDdestroyer 6 лет назад +3

    The intros to these videos are slaying me! Great content though ;)

    • @statquest
      @statquest  6 лет назад +1

      Ha!! I guess you have to take the good and the bad. ;)

    • @MrLGDdestroyer
      @MrLGDdestroyer 6 лет назад +1

      Keep up the songs up man! They're slaying me in a good way, plus it take my mind off the Big Data exam pressure! :D

    • @statquest
      @statquest  6 лет назад

      Will do! Good luck with the exam!! :)

  • @mrmajnu1847
    @mrmajnu1847 Год назад +3

    Sir, this is for you 💛💛💛💛💛.....You helped me...I watched this video one night before the exam...and I nailed it.
    Special mention for intro sir 💥💥

    • @statquest
      @statquest  Год назад +1

      Thank you! I'm so happy you did well on your exam! :)

  • @adityarazpokhrel7626
    @adityarazpokhrel7626 3 года назад +1

    You explain so vividly.
    Greetings from Nepal, SA. Thank you.

    • @statquest
      @statquest  3 года назад +1

      Thank you! :) p.s. When I was a kid I spent a summer in Kathmandu.

    • @adityarazpokhrel7626
      @adityarazpokhrel7626 3 года назад +1

      @@statquest Wow, glad to hear that sir, hope you visit Nepal sooner.
      Keep on enlightening.
      Do bless.

  • @thej1091
    @thej1091 5 лет назад +1

    Nice! Simple explanation. Lots of graphs thanks!

    • @statquest
      @statquest  5 лет назад

      Hooray! I'm glad you like it! :)

  • @georgeshibley9529
    @georgeshibley9529 4 года назад +3

    Those learning statistics need a hero. You are the one lol

  • @nimamaleki1595
    @nimamaleki1595 4 года назад +5

    Wheeeeeere the hell was this channel when I was studying :( smh. Brilliant stuff Mr. Josh Starmer

  • @sudhirjain5436
    @sudhirjain5436 4 года назад +1

    the best way of teaching. Thank you for this !!!!

  • @salutoitoi
    @salutoitoi 3 года назад +1

    You are the best explainer I've ever seen, thank you a lot !

  • @ameydeshpande6289
    @ameydeshpande6289 5 лет назад +3

    Every time I watch your video, you remind me of Phoebe!! :P

  •  Год назад +3

    Thank you for these amazing videos. Do you maybe plan to do more videos regarding generalised linear models like poisson regression or gamma regression? 😊 would be super cool!

    • @statquest
      @statquest  Год назад +5

      I'll keep those topics in mind.

  • @MrRoshanchoudhary
    @MrRoshanchoudhary 6 лет назад

    Hey Joshua.. well!! once again you nailed it. Thanks for giving such good insights. I was waiting for this. May be later if you can upload how to build models using some important Machine learning techniques. .!

  • @yves-rolanddouha9826
    @yves-rolanddouha9826 2 года назад +3

    Concise and easy to follow.
    Thank you, Josh. You're the best!

  • @swatiyenneti3604
    @swatiyenneti3604 5 лет назад +4

    Awesome explanation! Could you please make a video on multinomial regression as well. TIA!

    • @statquest
      @statquest  5 лет назад +1

      I'll put it on the to-do list. :)

  • @user-sv7dn6ct8v
    @user-sv7dn6ct8v 4 года назад +3

    Thanks !! And I want to know how calculate the likelihood of logistic.

  • @theFUNkaarasChannel
    @theFUNkaarasChannel 3 года назад +2

    3 years late but I loved the intro, and the video too. Thanks a lot for putting in the effort :)

  • @gakuomaina3313
    @gakuomaina3313 Год назад +2

    There people out in the world you just want to meet, like Josh! Great teaching sir.

  • @FRANCESCO-wj8rs
    @FRANCESCO-wj8rs 5 лет назад +8

    Hello,
    I don't think the playlist for machine learning is in the correct order.

  • @EpicGifted
    @EpicGifted 3 года назад +9

    "astrological sign" haahhhahahahahahaha instantly subscribed

  • @yaraelhefnawi7632
    @yaraelhefnawi7632 4 месяца назад +1

    I just wanted to have better understanding of ROC, picked a random youtube video... and now I feel like i need to watch every single video on this channel.

  • @isabelleseah8567
    @isabelleseah8567 Год назад +1

    Thank you for this video. You explained it super well.

  • @suhyunkim3972
    @suhyunkim3972 5 лет назад +11

    logistic regression is predicting true/false as opposed to predicting something continuous like size ----> BAAM!

    • @statquest
      @statquest  5 лет назад +3

      YES!!!! Hooray! Double BAM! :)

    • @kutilkol
      @kutilkol 5 лет назад +3

      NO!!! It's not discrete. As said in video, its modeled by some sigmoid function, which has the property of giving output between 0 and 1 which is how probability is considered. You discretize it by saying values over some value of this sigmoid will be considered true/false. Triple BAM ! :(

    • @statquest
      @statquest  5 лет назад +1

      I stand corrected! What 'n/a' said is true. Triple BAM! :)

    • @sabrina76569
      @sabrina76569 5 лет назад +1

      Can't it be both though? Surely some outcomes are truly discrete - e.g. using alcohol consumption amounts to predict death. You could argue that being unconscious or in a coma are part of that scale but really you are dead or you aren't. Just like if a tumor is malignant or not, some tumors may spread faster than others but a tumor is either malignant or benign, not kind-of malignant but we'll just call it benign. I'm not an expert but that's how I thought of logistic regression (along with the classic examples of pass/fail a test which I agree is not really discrete, you've just arbitrarily set a cut off point on a continuous range of test scores).

    • @statquest
      @statquest  5 лет назад

      @@sabrina76569 What you say is true - there are lots of outcomes that are truly discrete - and the last part of what you wrote is key - that you need some arbitrary cutoff to make an ultimate decision about dead/not dead sorts of things. Logistic Regression, along with all those other binary tests, first gives you a probability that one of those two things is true. Then you see if that probability is above/below a threshold. If above, then "dead", if below, "not dead".

  • @jasonfaustino8815
    @jasonfaustino8815 3 года назад +3

    I was watching this and my brother thought I was just watching memes lol

  • @mahwishrose1434
    @mahwishrose1434 Год назад +1

    The most pricise and useful video i found on the topic

  • @NguyenTran-eq2wg
    @NguyenTran-eq2wg 3 года назад +1

    Thank you for such a concise and easy to understand video!

    • @statquest
      @statquest  3 года назад

      You're very welcome!

  • @michaeldunlap8054
    @michaeldunlap8054 5 лет назад +4

    lmao the intro is the funniest gd thing ive ever heard. lol.

  • @srstra3894
    @srstra3894 6 лет назад +3

    liked just for that intro

  • @millenniumstudio6793
    @millenniumstudio6793 2 года назад +1

    I'm in the 14th second of the video, and I'm already excited just coz of the informative intro soundtrack

  • @jennyheang4550
    @jennyheang4550 Год назад +2

    New sub! The explanation is straight to the point. Thanks a lot!