Maximum Likelihood for the Exponential Distribution, Clearly Explained!!!

  Рет қаралды 204,345

StatQuest with Josh Starmer

StatQuest with Josh Starmer

Күн бұрын

Пікірлер: 376
@statquest
@statquest 2 жыл бұрын
Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/
@Usernotknown21
@Usernotknown21 2 жыл бұрын
I plotted data and it looks like exponential distribution but it is not time series data. I wonder why?
@statquest
@statquest 2 жыл бұрын
@@Usernotknown21 Data can be exponentially distributed if it uses space between events instead of time (for example, the number of miles between gas stations). Also, according to the wikipedia article, there are a handful of non-time/space applications as well: en.wikipedia.org/wiki/Exponential_distribution
@Usernotknown21
@Usernotknown21 2 жыл бұрын
@@statquest that makes sense because it is hospital safety events and processes. For example, if a nurse doesn't wash his hands, in the future that can lead to increase in negative safety events. I tried to run Pearson and other correlations to do a correlation matrix but Pearson assumes the data is normally distributed. Any advice on running correlation matrix on exponentially distributed data in r?
@statquest
@statquest 2 жыл бұрын
@@Usernotknown21 Well, the good news is that Pearson's correlation does not assume normality (see stats.stackexchange.com/questions/3730/pearsons-or-spearmans-correlation-with-non-normal-data )... So you can go ahead and use it. BAM!
@alexm656
@alexm656 2 жыл бұрын
Don't know, if someone already commented on that, but: I'm just wondering why you multiply both sides by λ, where you could also multiply by 1/n. In that case, you would get λ = 1/x̄ and you could have made a reference to a video of yours explaining x̄ :D I'm just messing around, don't take that seriously :)
@michaelharris1086
@michaelharris1086 3 жыл бұрын
As an engineering student at a top UK university, I can safely say that you have been more helpful/useful than my information engineering lecturer. Two hours of confusion over likelihood when I could've just watched a few of your videos. Being smart enough to work at a top university definitely does not correlate with being a good teacher. Thank you anyhow!
@statquest
@statquest 3 жыл бұрын
Wow, thank you!
@albertomontori2863
@albertomontori2863 3 жыл бұрын
“being smart enough to work at a top university does not correlate with being a good teacher”.....i feel you sir,i feel you ❤️
@bijoybasumataryy8870
@bijoybasumataryy8870 2 жыл бұрын
Oh my gosh....which university u study.?
@echoecho5244
@echoecho5244 Жыл бұрын
I never understood why people have to go to uni to attend lectures when they could instead be given excellent books to study instead and examined on them.
@williamblanzeisky2524
@williamblanzeisky2524 4 жыл бұрын
can someone pls tell me what this guy eat growing up?!! how can someone be this good of a teacher???? spent 22 years (school+undergrad+grad) in academic career and this is the first time i see "Statistics" differently.
@statquest
@statquest 4 жыл бұрын
Hooray!!! I ate a lot of carrots. :)
@jonahmarlow3991
@jonahmarlow3991 4 жыл бұрын
@@statquest Double Bam!
@sansin-dev
@sansin-dev 3 жыл бұрын
Josh is clearly passionate about Statistics and teaching. I wish I had these learning resources in high school. At least my kids are benefiting from these videos now.
@tamerosman774
@tamerosman774 2 жыл бұрын
This channel saved me from failing a class and now I just watch the videos for fun. You totally changed how I perceive educational videos. Came here because I had to, staying because I want to. Much love from UNC
@statquest
@statquest 2 жыл бұрын
Thank you and go heels! :)
@ayush9462
@ayush9462 3 жыл бұрын
It just took 9.39 min to explain what I never understood for past 2 weeks. Thank you a ton or a million times. My exams are nearby and now my head is clear to move forward with other distributions as well. My lecturer skipped likelihood and started explaining Max likelihood est. I pray for your good health 🙏 always.
@statquest
@statquest 3 жыл бұрын
Thank you and good luck with your exam! :)
@guilhermebertolini1984
@guilhermebertolini1984 2 ай бұрын
Oh my God. I'm halfway through and I can't BELIEVE this was THE concept I could NOT understand at university, THANK YOU SO DAMN MUCH!!!
@statquest
@statquest 2 ай бұрын
Happy to help!
@ssshukla26
@ssshukla26 4 жыл бұрын
How can I thank you for this? I mean how hard it was for my university professor to make me understand this. I don't know about me but the students who study under you is blessed. Thanks a lot Sir, thanks a lot. Double BAM!!!
@statquest
@statquest 4 жыл бұрын
Thank you very much! :)
@trilisser
@trilisser 4 жыл бұрын
"It's a statistical distribution that models the time between events" So that's why in phylogenetics we use an exponential distribution to describe the time between occurring and disappearance of lineages on a phylogenetic tree! Thank you a lot, man!
@statquest
@statquest 4 жыл бұрын
Bam! :)
@TheGenerationGapPodcast
@TheGenerationGapPodcast Жыл бұрын
You are wrong. That is a double bam, BAM!
@Tweeteketje
@Tweeteketje Жыл бұрын
I wish you were my probability and stats professor. Concise yet crystal clear explanation. I take a deep bow. 🙇
@statquest
@statquest Жыл бұрын
Thank you! :)
@joserobertopacheco298
@joserobertopacheco298 2 жыл бұрын
I am writing from Brazil. Josh Starmer is the magician of the stats explanations!
@statquest
@statquest 2 жыл бұрын
Thank you!
@qulummmdov6572
@qulummmdov6572 4 жыл бұрын
This channel is pure gold! Thanks for all your efforts sir, you are helping us students a lot! All the best
@statquest
@statquest 4 жыл бұрын
Thanks! :)
@sann5146
@sann5146 6 жыл бұрын
Amazing. I studied this first many years ago, and now am in need of reviewing all the concepts for career progression. Never understood so many of these concepts until now. Thank you.
@statquest
@statquest 6 жыл бұрын
Hooray! I'm glad the videos are helping you! :)
@tanmaybhayani
@tanmaybhayani 2 жыл бұрын
How did I not know about this channel until now? This is a gold mine, I just found!!!!
@statquest
@statquest 2 жыл бұрын
Bam!
@fahimchowdhury6742
@fahimchowdhury6742 Ай бұрын
Taking lecture of top rated google engineer, i couldn't clear this topics, thank you.
@statquest
@statquest Ай бұрын
Happy to help!
@chrisg0901
@chrisg0901 6 жыл бұрын
Good stuff and deeply helpful. You're among the best teachers I've had, even if it's via online video. I hope you can do some videos on Poisson regression one day.
@statquest
@statquest 6 жыл бұрын
Thank you! Poisson Regression is definitely on the to-do list - so it's just a matter of time before I get to that one.
@jeunjetta
@jeunjetta 3 жыл бұрын
Finally someone who explains stuff in a way that my brain prefers it. Thank you!
@statquest
@statquest 3 жыл бұрын
Glad you liked it!
@phungtruong6698
@phungtruong6698 3 жыл бұрын
The first time i watched this video i did not understand concepts, now i totally understand how to use maximum likelihood for estimating parameters and using derivative for finding the optimal value
@statquest
@statquest 3 жыл бұрын
BAM! :)
@chaitanyaagrawal8481
@chaitanyaagrawal8481 3 жыл бұрын
Sir, the way you explain things is simply superb. Even though I knew most part of this concept already, but only after watching this video, I have now got the intuition behind this simple logic. Thanks a lot.
@statquest
@statquest 3 жыл бұрын
Thank you! :)
@maheswarisrinivasan8391
@maheswarisrinivasan8391 4 жыл бұрын
Thanks a lot! I searched for exponential distribution everywhere. Everything was so difficult. You are a star. Great. How easily you are explaining. I have become a fan of your teaching style.
@statquest
@statquest 4 жыл бұрын
Thank you very much! :)
@SayanChakraborty10397
@SayanChakraborty10397 2 жыл бұрын
This is by far the best explanation of MLE, I've ever come across! Awesome!
@statquest
@statquest 2 жыл бұрын
Thank you!
@chasti5754
@chasti5754 3 жыл бұрын
Amaziiiiing! You make me actually understand what is happening in all this calculations, such a blessing....SUCH A BLESSING, THANK YOU !
@statquest
@statquest 3 жыл бұрын
Thanks! :)
@sonhs7717
@sonhs7717 6 жыл бұрын
it has cleary figured out the meaning of MLE which was foggy in my brain. Thanks a lot
@statquest
@statquest 6 жыл бұрын
Hooray!! I'm glad the video was helpful. :)
@Celestius_
@Celestius_ 5 жыл бұрын
how can someone be so good at explaining stuff? I might end up watching all the videos XD
@statquest
@statquest 5 жыл бұрын
Thanks! :)
@mac_edmarco
@mac_edmarco 5 жыл бұрын
Thank you so much for this! Likelihood has definitely been one of the more elusive things for me to understand in all of my upper division statistics classes! Especially why the likelihood was a product of the functions with the parameters. I wish I had watched this earlier!!! Especially when deriving likelihoods for likelihood ratio tests and for Max likelihood estimates
@statquest
@statquest 5 жыл бұрын
I'm so glad to hear that the video was helpful! :)
@ericktranoulis96
@ericktranoulis96 11 ай бұрын
I'm here just to say thanks! A lot of studies that I'd saw, and only you were straight to the point, simple as possible. This was really helpful. Subscribed!
@statquest
@statquest 11 ай бұрын
Thank you very much!
@yuganderu5645
@yuganderu5645 4 жыл бұрын
sir your songs are as enjoyable as your teaching!!! you are awesome sir!! NAMASKARAM🙏🙏🙏
@statquest
@statquest 4 жыл бұрын
Thank you very much! :)
@Manny123-y3j
@Manny123-y3j 3 жыл бұрын
Dude, you have no idea how helpful these videos are. I'm pretty sure my professor has no "theory of mind," and I never understand anything he says, and the book we're using is miserable also. Your videos are literally how I'm learning everything for this class.
@statquest
@statquest 3 жыл бұрын
I'm glad my videos are helpful! :)
@PastryDonut
@PastryDonut 2 жыл бұрын
This is where I hit the wall with my limited understanding of math. I'll be back after I learn some! Thanks for the awesome videos!
@statquest
@statquest 2 жыл бұрын
Good luck!
@kr7799
@kr7799 2 жыл бұрын
Excellent video. I feel that to KEY concept to understanding this lecture is the slide on 3:28 the equation that L(lamb|x)=y, the rest is mostly arithmetics.
@statquest
@statquest 2 жыл бұрын
Yep.
@geoffbakerhytch5623
@geoffbakerhytch5623 3 жыл бұрын
Triple BAM!!! and even quadruple BAM!!!! Another brilliant, crystal-clear explanation. Thanks so much, Josh.
@statquest
@statquest 3 жыл бұрын
My pleasure!
@annajohn7890
@annajohn7890 Ай бұрын
Thank you for this extremely detailed and crisp explanation
@statquest
@statquest Ай бұрын
Glad it was helpful!
@asishmagham7948
@asishmagham7948 Жыл бұрын
Wow , Thank you sir ....just Thank you please don't ever stop making these amazing videos.....
@statquest
@statquest Жыл бұрын
You got it!
@mattmecoli
@mattmecoli 6 жыл бұрын
Love your videos! They always present concepts with a clarity and simplicity that makes them much easier to grasp.
@statquest
@statquest 6 жыл бұрын
Thank you! :)
@Alchemist10241
@Alchemist10241 Жыл бұрын
Thanks, I reinforced my understanding of maximum likelihood by watch this video.
@statquest
@statquest Жыл бұрын
Glad it helped!
@arj123sub
@arj123sub 5 жыл бұрын
I understood the exponential distribution very well , thanks to this video.
@PlotlinesRemix
@PlotlinesRemix 2 ай бұрын
The illustrated guide is great. If you don't have it, strongly consider buying it. Couldn't help but notice that the MLE is the reciprocal of the mean. Why is that? Coincidence?
@statquest
@statquest 2 ай бұрын
Thank you! As for your question, I'm not exactly sure why.
@leoxu9673
@leoxu9673 3 жыл бұрын
Once I get a job, I'll be more than happy to donate! Great video!
@statquest
@statquest 3 жыл бұрын
Bam! Thank you! :)
@CraszyAsce
@CraszyAsce Жыл бұрын
I've never seen any explanation of likelihood make so much sense
@statquest
@statquest Жыл бұрын
Thank you! :)
@__Somebody__Else__
@__Somebody__Else__ 4 жыл бұрын
I love your work! You clearly explains concepts, which sooo many professors with A+ publications cannot communicate half as good (and often leave confused students after the first 20 min of their lectures). A small suggestion for these "estimating the parameters of a distribution"-videos. You could mention somewhere in these vids that -in applied statistics - it is really important to pick a distribution that is suitable to represent the "data generating process" i.e. encourage people to first figure out (e.g. by plotting a histogram), what distribution might be useful to describe the data (or more specifically how the data were created). Often students blindly assume a certain distribution and wonder why e.g. regression parameter estimates appear wonky.
@statquest
@statquest 4 жыл бұрын
Thanks! I'll keep that in mind.
@pribumim9638
@pribumim9638 3 жыл бұрын
I was doing Master Degree in Finance with the result of High Distinction from a very reputable univesity in Australia. And yeah, I still got no clue what the hell exponential distribution doing in modelling risk, thanks for this video :')
@statquest
@statquest 3 жыл бұрын
BAM! :)
@VaneyRio
@VaneyRio 4 жыл бұрын
Intro is specially fitting since one of the most common examples for time between events modelling is time between rainy days in a lot of books.
@statquest
@statquest 4 жыл бұрын
Nice
@sintumavuya7495
@sintumavuya7495 Жыл бұрын
2nd video on the MLE and I can safely say you're my new best friend. I'm going to tell all my classmates about you. It's amazing how you have simplified this confusing concept for me. Thank you so much. P.S. I like the little intro songs too 😂 So cute! I hope they're different on every video.
@statquest
@statquest Жыл бұрын
Thanks!
@huhuboss8274
@huhuboss8274 4 жыл бұрын
I want to thank you for your amazing work! I would love to see a StatQuest about marcov chains or autoencoders
@sijianzhou1856
@sijianzhou1856 2 жыл бұрын
your video is sooooooooooo easy to understand!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@statquest
@statquest 2 жыл бұрын
Thanks!
@rrrprogram8667
@rrrprogram8667 6 жыл бұрын
The ONLY thing i like about this channel is EVERYTHING
@statquest
@statquest 6 жыл бұрын
Hooray!!! You're the best! :)
@annahansen4689
@annahansen4689 Жыл бұрын
Thank goodness for this I am no longer entirely confused
@statquest
@statquest Жыл бұрын
bam! :)
@ephodee40
@ephodee40 2 жыл бұрын
Just brilliant, a total career saver. Bless you.
@statquest
@statquest 2 жыл бұрын
bam! :)
@MrClevermind
@MrClevermind 6 жыл бұрын
I'm really happy for what you shared, you have very interesting explanation method, it makes math easy, so I hope if you can share more exercises with their solutions, and also differential equations, we want really about more. Thanks in advance Mr statquest
@statquest
@statquest 6 жыл бұрын
I'm glad you like the videos so much. I'm working on a few other maximum likelihood examples, then I'll do some basic statistics and then back to Machine Learning.... Although differential equations would be fun, too.
@tallwaters9708
@tallwaters9708 4 жыл бұрын
You really are a great teacher, nice job Josh!
@statquest
@statquest 4 жыл бұрын
Thanks! :)
@brendansully12
@brendansully12 5 жыл бұрын
Wish I had found you sooner. This could not be better explained, thank you!
@anaswahid8520
@anaswahid8520 6 жыл бұрын
Sir also make videos on negative binomial,beta distribution,gamma distribution and also try to complete every topic in the syllabus of bsc and msc statistics Your way of teaching is excellent I am following you now a days I am eagerly waiting for your more statistical videos Please reply
@statquest
@statquest 6 жыл бұрын
Over time I hope to cover as many statistical topics as I can. I have a lot of fun making these videos and will make as many as I can. :)
@yyyyyy2504
@yyyyyy2504 5 жыл бұрын
I love your video so much ! I found fun in learning difficulte stuff, like math ! you should record more songs like those at the intro. so far my favorite one is "smelly cat"
@statquest
@statquest 5 жыл бұрын
Thank you! :)
@anshukuppal4003
@anshukuppal4003 6 жыл бұрын
Second vid from this channel that I have watched, liked and subbed. Million thanks Josh
@statquest
@statquest 6 жыл бұрын
Hooray!!! I'm glad you like the videos and have subscribed!
@statquest
@statquest 6 жыл бұрын
KZbin ranks channels based on subscriptions so, by subscribing, you're helping me a lot! :)
@mohammedsazid9751
@mohammedsazid9751 5 жыл бұрын
Mr. Josh. Thank you for the videos. It brings my confidence back and makes me more determined. Any chance u would be able to make a video on order statistics.. i understand the pdf but not totally clear.. again thank you so much for the videos...:)
@ameyvadnere2479
@ameyvadnere2479 3 жыл бұрын
Nice explanation! Would you also explain the bias and consistency of the estimator?
@statquest
@statquest 3 жыл бұрын
I'll keep that in mind.
@ameyvadnere2479
@ameyvadnere2479 3 жыл бұрын
@@statquest Thanks! Awesome and lucid explanation still!
@ovl_758
@ovl_758 2 жыл бұрын
Double BAM!!! I love this video, great explanation!
@statquest
@statquest 2 жыл бұрын
Thanks!
@tikke8511
@tikke8511 5 жыл бұрын
StatQuest makes me so happy….
@statquest
@statquest 5 жыл бұрын
Hooray!!! :)
@shariqueansari9921
@shariqueansari9921 3 жыл бұрын
Thank you so much for such an amazing video!
@statquest
@statquest 3 жыл бұрын
Glad it was helpful!
@fibowibo5359
@fibowibo5359 3 жыл бұрын
just the explanation I was loolikg for, thank you sir!
@statquest
@statquest 3 жыл бұрын
Glad it helped!
@andywho123456
@andywho123456 9 ай бұрын
at time 6:50, a pair of brackets are missing for the differentiation of the log. It should be " =d/dlamda (log(..)+ log[....]) ". You are welcome.
@statquest
@statquest 9 ай бұрын
Yes, I was a little sloppy with the notation.
@larrysheridan5751
@larrysheridan5751 3 жыл бұрын
josh starmer's the man
@statquest
@statquest 3 жыл бұрын
:)
@ketalesto
@ketalesto 3 жыл бұрын
I guess it is not a coincidence that lambda is the inverse of the arithmetic mean? Thanks a lot for your videos!
@statquest
@statquest 3 жыл бұрын
That's right. It's not a coincidence. It's the Maximum Likelihood estimate.
@MrUmban
@MrUmban 4 жыл бұрын
Thank you so much. It was very useful
@statquest
@statquest 4 жыл бұрын
Glad it was helpful!
@russellwarden2899
@russellwarden2899 4 жыл бұрын
You should do video on Bayes :) Great videos
@chirasreepal
@chirasreepal 4 жыл бұрын
Hello Josh, forever grateful for your videos!! Thank you very very much! I have 1 thought.. since you are talking about Max. Likelihood Estimation - I think it's important to add the second derivative step too- that it should be negative. Would love to hear from you. Lots and lots of love :) :)
@statquest
@statquest 4 жыл бұрын
That's exactly right. When you don't know if your function has a single minimum point or a maximum point, then you should check the second derivative to make sure you have what you expect.
@prakharawasthi1419
@prakharawasthi1419 5 жыл бұрын
wow...very helpful n easy to understand as compare to text book
@ugururesin8405
@ugururesin8405 5 жыл бұрын
Not critical but @7:10 there should be parentheses after that d/dλ. By the way, great video!
@statquest
@statquest 5 жыл бұрын
Thanks!
@jagatchaitanyaprabhala8668
@jagatchaitanyaprabhala8668 4 жыл бұрын
your videos are great. Can you make a series for time series modeling as well if possible!
@statquest
@statquest 4 жыл бұрын
That's the plan!
@muralikrishnagadepalli4454
@muralikrishnagadepalli4454 4 жыл бұрын
Big BAM! Thank You. Namasthe.
@statquest
@statquest 4 жыл бұрын
Thanks! :)
@dansolpa
@dansolpa Жыл бұрын
Hi everyone! First of all: Josh, thanks a lot for your awesome videos!!!!!!!!! I really love them!!!!! Everything makes sense when it's explained by you. Second: I have a question, hope someone can help me (: Why L(λ | X1 and X2) = L(λ | X1) L(λ | X2) instead of L(λ | X1 and X2) = L(λ | X1) + L(λ | X2) why we multiply each likelihood instead of adding them? hehe, hope it isn't a very dumb question
@statquest
@statquest Жыл бұрын
It's from probability theory. When we "AND" we multiply. When we "OR", we add. Intuitively, when we want both things to happen, multiplying them together will generally give us a smaller likelihood, but adding them will give us a larger likelihood. Thus, when either thing can happen, we add.
@dansolpa
@dansolpa Жыл бұрын
@@statquest oh! now it makes sense, thanks a lot Josh!!!! :D
@subasishbehera8645
@subasishbehera8645 4 жыл бұрын
A highly intuitive video! thanks for all your efforts..just a simple question the derivative(slope) is also zero at minima of the function right?
@statquest
@statquest 4 жыл бұрын
Yes it is. So when you don't know the shape of the function, then you should check to make sure you are at a maximum. In this case we know the shape of the function.
@subasishbehera8645
@subasishbehera8645 4 жыл бұрын
@@statquest Thanks sir! You make our lives and assignments easier. :-)
@rohitbansal3032
@rohitbansal3032 4 жыл бұрын
You are amazing!! Thank You Sir!
@statquest
@statquest 4 жыл бұрын
Thanks! :)
@carlosdanielgt
@carlosdanielgt Жыл бұрын
What is the channel that is the Combined Maximum Learning Estimator for Statistics and Machine Learning? StatQuest Triple BAM!!!
@statquest
@statquest Жыл бұрын
I love it! Thank you again! :)
@alper4856
@alper4856 5 ай бұрын
very fun to watch.everytime I feel like woah
@statquest
@statquest 5 ай бұрын
bam!
@liezeltamon6354
@liezeltamon6354 4 жыл бұрын
Thanks for this! It seems that although likelihood is not probability (except for discrete distributions wherein theyre equal right?) it is treated like probability because L(x1,x2)=L(x1)*L(x2) 🤔 there's still a bit of confusion left but the videos have been helping me!!
@statquest
@statquest 4 жыл бұрын
If you want to learn more about the differences between probability and likelihood, see: kzbin.info/www/bejne/porbf4aLebh5fpY
@liezeltamon6354
@liezeltamon6354 4 жыл бұрын
@@statquest thank you! I already did before this video :) the comments there have been helpful too!
@gmdg5844
@gmdg5844 4 жыл бұрын
Great lesson! About exponential density... its maximum point is (0,lambda) that means 0 is the most likely data (of course no). Im getting confused...
@statquest
@statquest 4 жыл бұрын
The idea is that we want to find the best value for lambda such that the data will have their maximum likelihood. If the data are all 0, then lambda = 0 would be great! However, usually the data are spread out some, and this makes the problem a little more interesting. Depending on how they are spread out, different value for lambda will result in different likelihoods. We want to find the value for lambda that maximizes the likelihood. Again, if the data are all 0, then lambda = 0. But the data are not always 0.
@peshalgoel7414
@peshalgoel7414 4 жыл бұрын
Referring to 7:17 Although the results will be same! If we assume λ^n[ e^-λ(X1+X2+X3......Xn)] to be equal to a variable 'Y'. Recalling from my mathematics class, I think that dy/dλ should be equal to (Y)(n1/λ - (X1 + X2 + X3.....XN). Although as 'Y' can't be zero as we are maximising it, the results will be same when we equate the derivative result to zero. Please correct me if I am wrong! Again...thanks so much for another amazing statquest!!!!
@statquest
@statquest 4 жыл бұрын
I can't follow your logic.
@peshalgoel7414
@peshalgoel7414 4 жыл бұрын
@@statquest Can I email you the photograph of the steps that I used?
@ebateru
@ebateru 2 жыл бұрын
Great video! Could you do a whole series on time series analysis/ forecasting?
@statquest
@statquest 2 жыл бұрын
I'll keep that in mind.
@Marco-wz8xw
@Marco-wz8xw 6 жыл бұрын
Another great explanation. Thank you!
@statquest
@statquest 6 жыл бұрын
Hooray! :)
@sbasha7
@sbasha7 3 жыл бұрын
thank you so much you bloody amazing legend
@jitendrakumarvishvakarma1797
@jitendrakumarvishvakarma1797 4 жыл бұрын
This is just great explanation :)
@statquest
@statquest 4 жыл бұрын
Glad it was helpful!
@paul_tee
@paul_tee 7 ай бұрын
holy crap i didn't realize critical points of f and log f are the same until now. subbed! question: you got lambda from calculating a 1st order constraint, but maximization is a 2nd order constraint. why doesn't this lambda give, for example, the minimum likelihood?
@statquest
@statquest 7 ай бұрын
You can do the second derivative and prove that the result is optimal. I've done it, and it works. However, I didn't think it was necessary to add to this video.
@oo-rg1gv
@oo-rg1gv 3 жыл бұрын
Hi, This video is very useful. Can you make a video to explain "Maximum Likelihood for the Gamma Distribution" I'm very interested in it!
@statquest
@statquest 3 жыл бұрын
I'll keep that in mind.
@tanishpanjwani6294
@tanishpanjwani6294 11 ай бұрын
You're the best.
@statquest
@statquest 11 ай бұрын
Thanks!
@vigneshvicky6720
@vigneshvicky6720 3 жыл бұрын
Tq so much💖💖
@statquest
@statquest 3 жыл бұрын
Welcome 😊
@simonzhouxiao
@simonzhouxiao 6 жыл бұрын
Question: why do we simply multiply L(lambda|x1) and L(lambda|x2) to get L(lambda|x1, x2)? What's the underlying assumption here?
@statquest
@statquest 6 жыл бұрын
The underlying assumption is that x1 and x2 are independent of each other.
@fierce10
@fierce10 5 жыл бұрын
For independent events A, B: Pr(A & B) = Pr(A)Pr(B). For example, coin flips are independent of each other. If you flip the coin twice, the probability you get tails both times is simply multiplying .5*.5.
@robinkohrs8097
@robinkohrs8097 4 жыл бұрын
Thank you so much Josh for all these videos!! Just one question: It got clear how to find the best estimates for the exponential distribution, but how to decide in general if a normal distribution, an exponential distribution or any other distribution fits best the given data?
@statquest
@statquest 4 жыл бұрын
This is a good question, and one that people ask about a lot. There are a bunch of ways to figure this out. 1) If you have enough data, draw a histogram. That can tell you the distribution 2) Experience with other datasets that are similar. 3) If you understand the process that generates the data, often this will tell you what distribution to use. 4) Did I mention experience? That's probably the most important one.
@robinkohrs8097
@robinkohrs8097 4 жыл бұрын
@@statquest thanks so much josh, helped to understand the process a lot!!
@sodayoda4563
@sodayoda4563 3 жыл бұрын
Love this channel ❤
@statquest
@statquest 3 жыл бұрын
Glad you enjoy it!
@YnjeviYhhei
@YnjeviYhhei Жыл бұрын
very good video thanks
@statquest
@statquest Жыл бұрын
You are welcome!
@AhmedMohammed-if2gh
@AhmedMohammed-if2gh 5 жыл бұрын
please ... Moooooooore and moooooooore videos
@statquest
@statquest 5 жыл бұрын
Hooray! I'm working on them every day. :)
@rjain3443
@rjain3443 5 жыл бұрын
Thanks a lot for your video, it's awesome..!!!! I have some doubts, I would be thankful to you if you can clarify it. - In the maximum likelihood approach, we are finding the best estimate of the parameter assuming a distribution, by observing the data points, so in that case, we are estimating the parameter after observing data. So, is it not same as the posterior probability, where we update the prior after observing the data? -Also, what it means when it is said that in this approach, the error bars for the estimate are obtained by considering the distribution of possible data sets? Thanks !!
@statquest
@statquest 5 жыл бұрын
This method, maximum likelihood, is different from calculating posterior probabilities. They are talking about the standard error. I have a video that explains the standard error: kzbin.info/www/bejne/d2mVk6V8pcmlb8k
@complex314i
@complex314i 5 жыл бұрын
A place to use harmonic mean. Nice.
@vedatcologlu7024
@vedatcologlu7024 5 жыл бұрын
Could you make the slides available as well? Thank you!!
@astaragmohapatra9
@astaragmohapatra9 5 жыл бұрын
Please do a video on ReLu function and its advantage over sigmoid function
@statquest
@statquest 5 жыл бұрын
I'll probably cover that when I do neural networks.
@unculturedweeb6095
@unculturedweeb6095 Жыл бұрын
Thank you sir!!
@statquest
@statquest Жыл бұрын
Most welcome!
@imrul66
@imrul66 5 жыл бұрын
Hi! First, thank you! Second, What to do if we do not know the distribution of the data?
@ellacheng8341
@ellacheng8341 3 жыл бұрын
BAM!! I thought MLE is easy but realize I understood it wrong after watching this
@ellacheng8341
@ellacheng8341 3 жыл бұрын
and "BAM!!" is really brainwashing
@statquest
@statquest 3 жыл бұрын
This is Statistics, not ML.
@ellacheng8341
@ellacheng8341 3 жыл бұрын
@@statquest maximum likelihood
@auzaluis
@auzaluis 4 жыл бұрын
Love the BAM! XD
@statquest
@statquest 4 жыл бұрын
Thanks! :)
@abhijitzarekar9509
@abhijitzarekar9509 3 жыл бұрын
Hey Josh, Thanks for clear explanation, right from basics. However, I have a question. Why is the graph showing declining trend? How to interpret in English sentence? Could you please help here?
@statquest
@statquest 3 жыл бұрын
It just means that most events happen in a short amount of time. Fewer events take a long time before they occur.
@QZainyQ
@QZainyQ 3 жыл бұрын
Thank you, really
@statquest
@statquest 3 жыл бұрын
No worries!
Odds and Log(Odds), Clearly Explained!!!
11:31
StatQuest with Josh Starmer
Рет қаралды 355 М.
Maximum Likelihood For the Normal Distribution, step-by-step!!!
19:50
StatQuest with Josh Starmer
Рет қаралды 554 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 81 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 127 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,9 МЛН
Каха и лужа  #непосредственнокаха
00:15
Maximum Likelihood for the Binomial Distribution, Clearly Explained!!!
11:24
StatQuest with Josh Starmer
Рет қаралды 108 М.
Covariance, Clearly Explained!!!
22:23
StatQuest with Josh Starmer
Рет қаралды 567 М.
The medical test paradox, and redesigning Bayes' rule
21:14
3Blue1Brown
Рет қаралды 1,2 МЛН
Maximum Likelihood Estimation for the Exponential Distribution
18:52
Samuel Cirrito-Prince
Рет қаралды 23 М.
But what is a convolution?
23:01
3Blue1Brown
Рет қаралды 2,7 МЛН
Probability is not Likelihood. Find out why!!!
5:01
StatQuest with Josh Starmer
Рет қаралды 1,1 МЛН
Understanding Exponential vs Poisson Distributions
6:34
Explained by Michael
Рет қаралды 66 М.
The Binomial Distribution and Test, Clearly Explained!!!
15:47
StatQuest with Josh Starmer
Рет қаралды 286 М.
How to calculate p-values
25:15
StatQuest with Josh Starmer
Рет қаралды 427 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 81 МЛН