Maximum Likelihood, clearly explained!!!

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

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

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

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

  • @Swisspokerboy
    @Swisspokerboy 6 лет назад +772

    Sometimes I think professors make it extra hard for their students at University by explaining simple things as complicated as possible.Luckily there are guys like Joshua. Great video!

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

      Kevin H. I couldn't agree more. Thanks Stat-Quest!

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

      The untold secret to civilization (a lecture): ruclips.net/video/8PQ4svtAfmI/видео.html

    • @keronnicholson8313
      @keronnicholson8313 3 года назад +29

      I have always said I think the 'community' tries to remain as small and closed as possible by making it hard for people to understand.

    • @kwartemaaa773
      @kwartemaaa773 3 года назад +19

      They themselves do not understand

    • @MJ-ye7dd
      @MJ-ye7dd 3 года назад

      @@kwartemaaa773 I also think so

  • @rubberlung1
    @rubberlung1 6 лет назад +1386

    It is just ridiculous.
    I paid several thousands USD to my college and end up at getting better education in youtube.

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

      I'm glad to hear this video helped you out! :)

    • @questforprogramming
      @questforprogramming 5 лет назад +37

      But some companies are asking for certifications...damn

    • @prizmaweb
      @prizmaweb 5 лет назад +32

      It is because I paid several thousand USD for my masters but still felt my education was outdated, that I still come and watch youtube for more ( to sort of recover my investment)

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

      no kidding... same here!

    • @xj-vn4eo
      @xj-vn4eo 5 лет назад +15

      Getting to college makes me appreciate more of the internet resource.

  • @jc_777
    @jc_777 3 года назад +57

    This video has helped distressed students who are awake at night all around the world for over 3 years .... and counting. Joshua can make a religion for students & grad students and it will become a major religion in no time. I mean, he's literally "Joshua". The Holy Book will be named "StatQuest".....

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

    If you can explain a concept with simple tools, it means you really understand it well, else you are just memorizing !
    You are doing a great job !

  • @Latesttechs
    @Latesttechs 3 года назад +31

    I am doing my Masters in Informatics right now and I feel bad I didn't find you during my Bachelors lol would have cleared so many concepts years ago but better late than never God bless you dude lovely precise explanations to brush up on things and understand them.

  • @mohsenr.estabraq5808
    @mohsenr.estabraq5808 3 года назад +15

    Whenever I get confused reading Statistics books, I come here. Thanks!

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

    I spent the whole day trying to understand this. Its just now that i found your video on youtube. GOD BLESS YOU. You are greaaattttttttttt.

  • @user-up5kh2mz4n
    @user-up5kh2mz4n 4 года назад +12

    The enthusiasm in the video makes the learning experience more motivating!

  • @siddheshzadey9714
    @siddheshzadey9714 5 лет назад +338

    You're a statistical outlier when it comes to teaching! Above 100 SDs on the scale of teaching goodness :)

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

      I love this! Thank you.

    • @jc_777
      @jc_777 3 года назад +18

      Agreed. It's almost as if college stats professors have some kind of coalition for teaching badly, and somehow Josh wasn't invited.

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

      I literally applied to UNC because of him

  • @sintumavuya7495
    @sintumavuya7495 11 месяцев назад +2

    I loved this. You have no idea how I needed this. We just started this chapter this week and just knowing what it is that I'm trying to do is really calming. Now I can listen with understanding.

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

    Bro wtf this is the revolutionary. This is amazing. Thank you for sharing your knowledge. You made something so clear in six minutes. I am deeply impressed. May fortune be with you.

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

    This is so refreshing. I just had to take these things as 'given' in my econometric course.

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

      I'm glad my videos are helpful! :)

  • @tigaochapanas
    @tigaochapanas Месяц назад +1

    MLE is a crucial concept for machine learning. Thank you so much for this nice explanation!

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

    WOW! it was literally the best explanation of MLE I've ever seen! Well done!

  • @cantkeepitin
    @cantkeepitin 5 лет назад +5

    Great explanation. However, from watching to doing is still a big step. I can recommend everyone to also do the calculus, really getting numbers. Maybe for a uniform distribution, having no difficult formulas, like the "normal" distribution has.

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

      I've got a few examples of the calculus in action for the binomial distribution: ruclips.net/video/4KKV9yZCoM4/видео.html for the exponential distribution: ruclips.net/video/p3T-_LMrvBc/видео.html and the normal distribution (this one is long since the math is messy): ruclips.net/video/Dn6b9fCIUpM/видео.html

  • @archowdhury007
    @archowdhury007 4 года назад +6

    Excellent video....loved the way you explained it. FINALLY!!!!! I understood what MLE actually means. Great work Josh! :)

  • @sherifgerges9316
    @sherifgerges9316 7 лет назад +286

    Excellent.

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

      4:53 BAM!

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

      I am to see your effort of this platform &an excellent videos , please can you show me how R software to teaCh these statistical inference theories

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

      So in essence the type of distribution is determined by Goodness of Fit and the parameters of distribution are determined by Maximum Likelihood.
      Thank you professor.

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

    You make the best videos on statistics. Thank you so much! After your videos I would like to study statistics and data analysis further and further! )))))LOL! And I'm 35 years old woman, and just trying to figure out a few concepts for an IRT course. Very interesting and thank you very much for your genius work!

  • @jedidelalog9834
    @jedidelalog9834 6 лет назад +7

    Wonderful video!!
    and I spent a lot of time to understand a "silly" formula when it would be enough to see your beautiful video :)

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

      Thanks! I'm glad it was helpful. :)

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

    Thank you, very clearly. It was a good recommendation in a virtual class about Maths for Data Science, greetings from Peru

  • @rameshmaddali6208
    @rameshmaddali6208 6 лет назад +5

    Best thing i found for this week, so clear to understand - lots of appreciation for your lecture.

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

    Thank you so much Joshua for this uniquely-explained video!!!

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

    The best explanation of MLE I've ever seen!

  • @awfominaya
    @awfominaya 5 лет назад +7

    Finally clicked for me after years of trying to figure this stuff out.

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

    There are actually a lot of explanations of likelihood, but this one gives the best presentation.

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

    "clearly explained" is actually clearly true. Thanks a lot sir

  • @pite9
    @pite9 5 лет назад +6

    I'm just here for the song intros.

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

    I really enjoyed your terminology alert! Good catch!

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

      Thank you very much! :)

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

    The best statistic tutorials from youtube. Thank you

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

    Hi, Josh! Thanks for another great video! I´ve been searching, for a while now, for a video about a method for unsupervised clustering called Growing Neural Gas Networks. It has been an unsuccessful quest. Maybe you could think about a video on that theme! Congrats and thank you very much. Cheers, JE

  • @FalahHazeem
    @FalahHazeem 8 месяцев назад +1

    i swear you make it so much easier than those professors u beeast

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

    The way u explained was really unique and easy to catch👍👍

  • @Daniel-to5jd
    @Daniel-to5jd 5 лет назад +1

    best explanation of this topic that I have found so far

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

    Wow...there is a new jingle. Love it

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

    Thanks for the video, it helped me study for my statisticts exam

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

      Thanks! I hope you did well on your exam! :)

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

    I wish you were my instructor in the Probability and Statistics class

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

    Finished social-science college degree a year ago, have a normal job, out of the blue i just wondered that, what that MLH that i had SEEN in college was, and finally i understand the goddame thing (it's funny that i understood MSq but not this haha).

  • @MindfulAI_Motivation
    @MindfulAI_Motivation 11 месяцев назад +1

    This is goldmine. Wish i had struck it earlier , nevertheless better late than nayver.. Tons and tons of thanks. Josh🙏🙏🙏

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

      Glad you enjoyed it!

  • @kwikstah
    @kwikstah 7 лет назад

    You said that the reason you want to fit a distribution to your data is it can be easier to work with and it is also more general. Could you expand on that? Thanks.

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

    amazing, this is best explaining video on maximum likelihood estimation i ever seem

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

    Thank you so much I'm really happy these things are clear to me now

  • @Lucid874
    @Lucid874 6 месяцев назад +2

    thank you this helped giving me context and background as to what this is lol

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

    love the tune for this clip hahah elegant chords

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

    Thanks a lot, brother. Ur videos are really easy to follow and comprehensive too.

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

    fantastic explanation on the difference between probability and likelihood!

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

    I'm attending Master's classes that miserably fail to do what this one video can do.

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

    We have some data, we want to find the distribution that best bits this data.
    The distribution that has a mean that matches the mean of our data maximizes the likelihood of the data
    We keep shifting the mean of the distribution until we find a point that maximizes our likelihood of the data points. We find also the standard deviation that maximizes the likelihood of our data
    To mathematically find this pdf that best fits our data, sub in all our data points into the pdf (likelihood for all our data points is likelihood of one point x likelihood of next point etc) and then we differentiate partial differentiation wrt to the mean and standard deviation (in the case of normal pdf, which is parameterized by the mean and standard deviation)

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

    Wow! You are a genius! simplifying statistics. Thank you

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

      Glad it was helpful!

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

    Great explanation, great video! Thanks from germany! Our professor is just presenting formulas and text -.-

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

      Glad it was helpful!

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

    Thanks man, this video is absolutely legendary! :D

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

    Excellent Explanation!!!

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

      Glad you liked it!

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

    The professor in my college : "MLE is sjkdfkhdsahd kjdshagjkhdg dvhdglkasjdklfhskdgh dg"
    Josh : "Hold my beer, I am gonna end this man's whole career."

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

    Thank you so much. My textbook was throwing greek letters and symbols at me.

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

    Could you please come up with a video on Bayesian estimate and also what is the difference between Bayesian estimate and MLE? This question is quite commonly asked in interviews.

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

      I'll keep that in mind.

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

    came for the stats, stayed for the intro song

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

    What is the probability distribution of people who like the weird ass intro song the statQuest videos start with? It's distributed by Uniform(0,0).

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

      Dang....

    • @o.biertrinker9649
      @o.biertrinker9649 5 лет назад

      Aman, you are just an outlier among the smart people. But if you try hard maybe one day you'll touch the lower fence.

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

    You are just fabulous brother!!!!

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

      Thank you very much! :)

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

    Wow! Such a simple and elegant explanation!

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

    If I had the chance to quit my MS in Data Science to major in MS in StatQuest, I would do it in a heart beat lol

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

    Very clearly explained, but man, the little intro songs are cringey

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

    Super .. a 6 minutes video say it all ....... compared to lecture hours in good old university days :)

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

      Glad it was helpful!

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

    Best explanation of MLE, Thanks a ton.

  • @ananyamishra382
    @ananyamishra382 10 месяцев назад +1

    I annot express in words how helpful this video was

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

    do a stat quest on statistical hypothesis testing. please

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

    Weirdest intro ever, but well explained.

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

    baysean approach to regression would be great!

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

    You make things easy to understand! Thank you

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

    You made this basically for us for free, yet schools and institutions will insist that spending thousands of dollars on their courses and programmes is worth it and that graphical examples and explanations are never better than theory. It's crazy how much intuition you can develop from just looking at some pretty colours on the screen.

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

    Hi Josh, thanks for the great work. Do you have any StatQuest for Bayesian inference?

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

      That's on the to-do list. Maybe next year after neural networks and time-series.

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

      @@statquest Oh that would be great. However, I need it now😉, I can check it out whenever you share it. Thanks in advance.

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

    this intro song have to be my favorite

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

      Bam! This is a good one.

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

    Any book you would recommend to go along with your videos. Your videos are plain awesome. 😃

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

      If you are interested in machine learning, I would recommend the Introduction to Statistical Learning: faculty.marshall.usc.edu/gareth-james/ISL/

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

    Is this why the “p(E|H)” component of Bayes rule is called the “likelihood”? I see the connection with “given a bunch of observed measurements” (from the “Terminology Alert” section), but not the part about it specifically refers to finding the optimal value for measures.

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

      Bayesian notation tends to be a little different, however, when you hear or see the word "likelihood", just know that they are talking about the y-axis values on the distribution that correspond to the x-axis values. For more details, see: ruclips.net/video/pYxNSUDSFH4/видео.html

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

    When to use probability and/or likelihood?

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

      In general, probability is what model tells us about data (is there a high or low probability that we would observe this data?), and likelihood is what the data tells us about the model (can we fit the model any better to the data?). Here's a video that gives you more details: ruclips.net/video/pYxNSUDSFH4/видео.html

  • @1987-SO
    @1987-SO 3 года назад +1

    excellent way to explain

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

    very well explained.Thanks!

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

    thank you for taking the time for this vid👍

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

    Bro... opening song is still crushing.

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

    The most crucial part of estimating max likelihood lies in 2.52 minutes(later for the graph). If anyone couldn't find the clue of this video, he or she can look into that point. Hope that helps to future viewers.

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

    This was exceptionally clear.

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

    A very basic question -- how do you decide the distribution of a dataset? In this case you assume it's normally distributed. Why it can't be like a gamma distribution? Is there a way to figure out which distribution we should work on?

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

      This is a great question. Often the process that generates the data will dictate which distribution we should use. For example, if we are measuring how long it takes before a new car breaks down, we might want to use a Poisson Distribution. Or if we are measuring the number of people that like orange fanta vs grape fanta, we might use a binomial distribution. Often these common uses are mentioned in the wikipedia article that describes the distribution, so that could give you an idea of what distribution is appropriate for your data.

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

      @@statquest Thank you for answering my question! Really appreciate!

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

      @@statquest Actually could you be more specific how Poisson can fit the car-life expectation model that you're mentioning? I checked the definition and usage of Poisson but now get confused..

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

      @@stevequan7306 I'll be honest, I don't know a lot about "time to failure" problems, so that was probably a bad example for me to give. In statistics, a more traditional use of the Poisson distribution would be to model the number of events that happen in a given time period. For example, if I get, on average, 5 emails a day, then I could model that with a poisson distribution and use that to determine if I'm getting a lot more email than usual (and thus, maybe the spam filter should work harder).

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

      @@statquest Yes! The spam filter example is exactly what I think about Poisson! Btw, by checking some examples, I think for the car-life example, we could use the lognormal distribution.

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

    Thanks man. It helps me to understand concepts better.

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

    Super! Could you now explain the same procedure employing a Bayesian approach, please?

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

    awesome explanation

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

    Great explanation, thanks a lot

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

    superb explanation !!!

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

    great explanation , thank you for making me understand the subject

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

      Glad it was helpful!

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

    Very clear explanation ..thanks

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

      Glad it was helpful!

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

    Can you do one class of Bernoulli distribution? I figured you are the only one I can understand lol

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

      It's on the to-do list.

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

    Thanks. Very accessible.

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

    Best into jingle ever

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

      This is good one. :)

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

    Wow.You just nailed it.
    Th explanation is vivid.

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

    So well explained!!

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

    What's the difference between MLE and EM? Is the EM algorithm is one of way to achieve MLE?

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

    Really good! Made it a lot clearer!
    Just wondering how to understand this for phylogenetics. Does Maximum Likelihood analysis in constructing phylogenetic trees mean that you draw all the potential trees and fit a normal distribution to each tree being the "true tree" as you did in the video. So the maximum likelihood (the observation that explains the species data best) is the most likely phylogenetic tree that explains the species data?

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

      I used to know the answer to this, but no longer. I can't remember how likelihood is calculated for trees.

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

    The song is like a "stairway to heaven" song, but written by a statistician 😄

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

    Best explanation found here, as always...

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

    Could you do method of moments? Thanks!!!

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

      I'll keep that in mind.

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

    REally great explanation. Thank you

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

    Amazing! Thank you.