NOTE: Conditional probabilities can be written two ways: a "long" version and a "short" version. In this video I use the long version (because it's easier for me to read)... P(A and B | B) = P(A and B)/P(B) ...however, the short version is commonly used... P(A | B) = P(A and B)/P(B) Both mean the same thing, in other words: P(A and B | B) = P(A | B). The short version implies the "and B" part. Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/
@exploringdiversity5723 жыл бұрын
Your version is much easier for non-statisticians like me :)
@statquest3 жыл бұрын
@@exploringdiversity572 bam!
@chandrashekar3169 ай бұрын
omg this cleared up so much confusion i had from reading my text book where they were using the shorthand
@pomegranate85932 жыл бұрын
I love how I need a video that seems designed for 7 year olds to understand my uni course. Great vid thanks
@statquest2 жыл бұрын
Glad it was helpful!
@BulbasaurLeaves2 жыл бұрын
I like the style. It's fun and nostalgic
@TheRedCubeYT7 ай бұрын
this is secondary school level maths
@nsuinteger-au5 ай бұрын
bam!
@asrao37887 ай бұрын
In India due to competition for engineering entrance exam teacher majorly focus on question types rather than concept in depth. Im glad there is a place where people learn for fun not just for competition, also appreiciate teachers like you who can turn subjects into magic. Keep up the good work! From now on I'm permanent on this channel. You are the best!
@statquest7 ай бұрын
Thank you very much!
@shinej112 жыл бұрын
I always thought I was incapable of learning math, but it had always intrigued me. I just discovered what was missing; a good teacher. Thank you very much.
@statquest2 жыл бұрын
bam!
@PastryDonut2 жыл бұрын
I'm in the same boat as you man, love this channel
@mikejohns13473 жыл бұрын
I "stumbled" upon the contingency table method many years ago when trying teach myself the basics of probability. This approach is really the only approach for developing a solid understanding of conditional probability, as well as joint and marginal probability. I've never seen anyone present it this way and I'm so glad to see it here! Just more evidence that Josh Starmer is an absolute master instructor.
@statquest3 жыл бұрын
BAM! Thank you very much! :)
@endahfajarwati83362 жыл бұрын
you know, me too.
@Ash-bc8vw2 жыл бұрын
Hey this table reminds me of confusion matrix from a ML classification problem
@turtle33412 жыл бұрын
this is how i wish people taught stuff, i really hope these ways of learning statistics get the recognition they deserve! please keep it up !!!!
@statquest2 жыл бұрын
Thank you!
@azinkhodadadi79122 жыл бұрын
I should of paid you instead of my useless lecturer at university! This is so much more useful thank you!
@statquest2 жыл бұрын
Glad I could help!
@drpkmath123453 жыл бұрын
Very nice video for sure. Conditional prob is one of the topics students feel the most difficulty when they start studying for stat! Great job!
@statquest3 жыл бұрын
Thank you! :)
@siennadae-knight55983 ай бұрын
Just about started crying when the cartoon-y jingle and graphics started and felt a weight lift off my shoulders when you introduced the contigency table. I have 0 background in prob and stats, always hated the subject, and was terrified it would be impossible for me to learn. None of the symbols made sense to me. The concepts gave me a headache. And I wouldn't even know where to begin asking questions considering no matter how much I seemed to "understand" what my professor was saying in class, the moment I saw a homework question, complete blank. I thought I was doomed to just memorizing formulas that made no sense to me, which isn't a great thing to say as an engineering student. Thank you. I've been saved by your channel.
@statquest3 ай бұрын
Happy to help! :)
@usethisforproductivity-tg7xq2 ай бұрын
erm what the sigma
@rejithmadhavan57352 жыл бұрын
Logical explanation, precision and genuineness - your way of teaching exemplifies these essential qualities. Thanks so much Josh for these great lessons. Invaluable effort!
@statquest2 жыл бұрын
Wow, thank you!
@baqirhusain56522 жыл бұрын
You are a GOD of simple explanations
@statquest2 жыл бұрын
Thanks!
@jacob.96648 ай бұрын
Soda and Candy > Mechanical engineering degree. Thank you it was very helpful!
@statquest8 ай бұрын
BAM! :)
@IarukaSkYouk5 ай бұрын
I FUCKING HATE PROBABILITIES SO MUCH I ACTUALYL GAVE UP 3 TIMES LEARNING THE COURSE (THE COURSE IS HIGH QUALITY IM JUST VERY STUPID) IM SO SO SO GLAD IM STARTING TO GET IT FROM YOUR VIDEOS JOSH. YOU'RE DEFINITELY THE #1 GUY ON KZbin.
@statquest4 ай бұрын
thanks! :)
@Florithepenguin9 ай бұрын
Struggled with this topic literally for years! You solved my problem within just 10 min.! 🎉
@statquest8 ай бұрын
Bam! :)
@tyt035383 жыл бұрын
This is the best video explaining conditional probability. Hands down.
@statquest3 жыл бұрын
Thanks!
@AndrywMarques3 жыл бұрын
Great video! I never saw the "long version" to write conditional probabilities before but it's better to understand. Very intuitive!
@statquest3 жыл бұрын
Yes, I like it more, too.
@minettelamprecht902 ай бұрын
I am forever in my uni lecturer's debt for being too lazy to explain and instead give us the link to your index!! I need to learn stats as part of my Data Science Programming course, and you have been VERY helpful
@statquest2 ай бұрын
BAM! Good luck with the course!
@Regular.Biceps2 жыл бұрын
Exceptional explanation... I'm Completely in love with your teaching style
@statquest2 жыл бұрын
Thank you!
@HardikBhakhar7 ай бұрын
Never thought that to understand conditional probabilities is this easy … thanks prof 🎯
@statquest7 ай бұрын
bam! :)
@talentlancer13588 ай бұрын
Thank you so much! This is the best video on conditional probability on internet.
@statquest8 ай бұрын
Thank you!
@Oliver-cn5xx3 жыл бұрын
Hi Josh, I am a long time fan of your channel and all of the shameless self-promotion has guilted me into buying one of your study guides (LDA). They seem great, a nice supplement to your videos. Though I think you would benefit greatly from stripping down the ordering process, I mean for online purchases almost noone asks for complete addresses, phone numbers and names anymore. I fought very hard with myself to finish it and parting with that information, and I succeeded simply because of being so grateful for the videos you provide. You'd probably sell a lot more of these if you just ask for an email. Like most. Cheers
@statquest3 жыл бұрын
Thanks for the advice! I'll see what I can do to simplify the ordering process.
@jacktaylor15163 жыл бұрын
This is one of the best explanations of absolutely anything I've ever seen and heard. Well done. Subscribed.
@statquest3 жыл бұрын
Awesome, thank you!
@phuctran46793 жыл бұрын
Thank you Josh & the team. I'm so grateful I've found your channel. You make me truly love statistics!
@statquest3 жыл бұрын
Glad you enjoy it!
@Nakameguro973 жыл бұрын
Thank you SO MUCH for clarifying that AB = A and B, when A and B are events. I get confused because XY is literally multiplication when X and Y are random variables. It can be doubly confusing because both events and random variables (even though they are different types) can be passed into P(), the probability function. Function overloading is a thing in computer programming, but I’m shocked to see it in math. Also, the implied A and B in P(A | B) is a lifesaver, many times over. BTW, understanding the tables in this video is pivotal in grasping marginal distributions, Baye’s Theorem, and joint probability distributions - it feels like I’m getting the other three concepts for free!
@statquest3 жыл бұрын
Triple bam!!! :)
@dizetoot3 жыл бұрын
THANK YOU! I've really been struggling to get an intuitive understanding of conditional probability and this has helped so much!
@statquest3 жыл бұрын
Glad it helped!
@leandroimail2 жыл бұрын
I love these classes. They are so easy to understand. Thks you for sharing with us!
@statquest2 жыл бұрын
Thank you very much! :)
@onurkrmz92063 жыл бұрын
Today I discovered your channel and it is truly a gem. As a EEE student who tries to make sense of subject of probability and neural network stuff, I believe I will benefit a lot from your work and be thankful for rest of my life. Especially statistics is challenging as things get messy a lot and scary/unintuitive equations with confusing notations start to appear. I did not look at all of your videos yet, but I hope that you did statistics less scary for those like me. My best regards
@statquest3 жыл бұрын
Awesome! Here's a page that lists all of my videos (and playlists etc): statquest.org/video-index/
@vavy56522 жыл бұрын
You are literally saving me from my statistics exam! Thank you so much, your explanations are brilliant and you are really making me focus with your simple and funny ways. Thank you again!
@statquest2 жыл бұрын
Good luck! :)
@between_the_lines6173 Жыл бұрын
You're the statistics buddha! The analogies and the calming voice!
@statquest Жыл бұрын
Thanks!
@buihung3704 Жыл бұрын
A 6 years old can understand this. That's genius
@statquest Жыл бұрын
Thanks!
@arpitkakkar27803 жыл бұрын
Awesome. I always come here to get my doubts clear. Love the way you teach. Lots of BAM!!!
@statquest3 жыл бұрын
Thanks!
@colinirvine7573 жыл бұрын
Great job Josh!!!!! This is such a clear and precisely laid out video perfect for my students.
@statquest3 жыл бұрын
bam!
@tamminh4802 ай бұрын
cant express how grateful i am to stumble across your channel!!!! I thought I was dumb but not anymore haha
@statquest2 ай бұрын
bam! :)
@ShashwatAgarwal0073 жыл бұрын
Happy Guru Purnima Sir, So blessed that this channel exists. ❤️🙏
@statquest3 жыл бұрын
Thank you! And thank you for supporting StatQuest! BAM! :)
@tomr03status993 жыл бұрын
❤️❤️
@dhendroid23733 жыл бұрын
This is how every tutorial should be!
@statquest3 жыл бұрын
Thanks!
@ivlivs.c3666 Жыл бұрын
Incredibly well-explained. Thank you!
@statquest Жыл бұрын
Thank you! :)
@faiazrummankhan55893 жыл бұрын
This channel is the bible of " Making 'Understanding Statistics' Easy !"
@statquest3 жыл бұрын
bam! :)
@uvofsam3 жыл бұрын
Bam!! , what a bam person to explain everything about statistics so bamly!!
@statquest3 жыл бұрын
Thanks!
@NoahElRhandour3 жыл бұрын
Bamks!
@jacktrimboli3 жыл бұрын
I get a dopamine rush every time this man says bam
@statquest3 жыл бұрын
bam!
@jerryquid4057 Жыл бұрын
You're incredible. You make everything seem so easy
@statquest Жыл бұрын
Wow, thank you!
@AbcdAbcd-ol5hn2 жыл бұрын
😭😭😭😭thanks a lot😭😭😭god bless you, u are doing a noble job, may you get all the riches, love and happiness in the world
@statquest2 жыл бұрын
Thank you very much! :)
@ramprakash78723 жыл бұрын
Conditional probability : Decoded. BAM !!! Tbh Some of your videos ( Very few actually. For example p-value 😁) were not very clear to me ( Well that's just me ! ) in the first instance but I digested through them somehow. But with little study & focus or just give a break for a while, the 2nd or 3rd look at your video makes the concept super clear to me and I don't need to look elsewhere. Thanks for making such videos and making statistics/probability easier.
@statquest3 жыл бұрын
I'm glad you are able to understand the concepts.
@prachisharma45723 күн бұрын
Omgg I finally understood this Bam!!
@statquest23 күн бұрын
bam! :)
@BARAKABLESSING2 жыл бұрын
This helped understand c prob. I am taking a mandatory into to stat class with no math experience and passion. Thanks
@statquest2 жыл бұрын
Good luck!
@amribrahim78503 жыл бұрын
Awesome explanation. Thanks to you and Triple Bam members
@statquest3 жыл бұрын
Glad you liked it! BAM! :)
@shamsulazhar3 жыл бұрын
Finally, I understand this. BAM!!!!
@statquest3 жыл бұрын
Bam!
@tsigeasteraye44855 ай бұрын
This is amazing way of explanation!
@statquest5 ай бұрын
Thanks!
@josevaldes74933 жыл бұрын
amazing googleplex BAM! Man you did it again. BRAVO
@statquest3 жыл бұрын
Wow, thanks!
@sanjeevsingh-zz2hg Жыл бұрын
Your way of teaching ! Bam!
@statquest Жыл бұрын
Thanks!
@ahmadatta663 жыл бұрын
"I hate using abbreviations" And I love you for that
@statquest3 жыл бұрын
bam!
@anthonyrinna13059 ай бұрын
First, I'll admit I had "Do you love orange soda?" from Keenan and Kel in the back of my mind. That said, this video has been immensely helpful, thank you!
@statquest9 ай бұрын
:)
@kayhankashi9970 Жыл бұрын
SUPERB explanation... BAAAM !!!!!
@statquest Жыл бұрын
Thanks!
@yujan91032 жыл бұрын
Well explained. Bit long but makes the concept clear as possible. A big THANK YOU Josh.
@statquest2 жыл бұрын
Thanks!
@gabrielasantana38093 жыл бұрын
And BAM! I subscribed….such a clear explanation
@statquest3 жыл бұрын
Awesome, thank you!
@sillyfarmerbilly88723 жыл бұрын
"statsquatch" I love it 😂 Also I guess I never put together that you could use the probabilities to calculate conditional probabilies, super helpful
@statquest3 жыл бұрын
BAM! :)
@swarnachoppella3883 жыл бұрын
Thank you! Great content always🤩
@statquest3 жыл бұрын
My pleasure!
@dyles18323 жыл бұрын
The people demand a Montecarlo Simulations StatQuest!!!
@justinwhite27253 жыл бұрын
That would be nice.
@statquest3 жыл бұрын
I'll keep that in mind. We may get to something like it when I cover bayesian statistics.
@tomr03status993 жыл бұрын
That could be nice
@LightFlameGamerOPАй бұрын
BAM! You just got a new subscriber 😂
@statquestАй бұрын
Thank you!
@simonroques85793 жыл бұрын
Excellent video..again ! So good to be hit by the triple bam !!! 😁
@statquest3 жыл бұрын
Hooray! :)
@pratyushkashyap8492 жыл бұрын
Incredible lecture!! Bamm😀
@statquest2 жыл бұрын
Thank you!
@avrilduck83267 ай бұрын
After 4:40, I cried "that's enough" because it was relentless!!
@statquest7 ай бұрын
bam
@rishikeshpillay3 жыл бұрын
Thanks for this explanation.....It really help me to grasp this topic....
@statquest3 жыл бұрын
Bam!
@MuspiMeroll7 ай бұрын
i love you this actually helped so much
@statquest7 ай бұрын
Thanks!
@LukaszWiklendt3 жыл бұрын
It's interesting notation that you keep the superfluous condition on the left side of the pipe. I.e. using p(c=0 and s=1 | s=1) instead of p(c=0 | s=1). Do you find students understand it better this way?
@statquest3 жыл бұрын
Yes. To me it is much clearer.
@vinodliyanage41283 жыл бұрын
Best explanation ever. Thank you! ❤️
@statquest3 жыл бұрын
Thank you! :)
@kensarmoreto18632 жыл бұрын
although that i calculate conditional probability during college, i cannot get the concept of it leaving a gap in my stat knowledge... i stumbled in your video and i have a basic understanding about it. im just need a more examples regarding conditional probability to fully master this concept... Thanks Josh for your videos and hoping for more topics about stats and data analysis.
@statquest2 жыл бұрын
I'm glad my video was helpful! :)
@BrittanyFunke Жыл бұрын
This was amazing and fun. Thank you!
@statquest Жыл бұрын
Glad you enjoyed it!
@zaf31532 жыл бұрын
Super easy ti understand! Thanks alot
@statquest2 жыл бұрын
Glad it helped!
@CW-vl9zd9 ай бұрын
Good video that cleared up a lot of my questions. Only thing I'm confused now tho is 9:20 let's say we are given all the probabilities. How do I know if a probability is p(not love c and loves s | loves s) or p(loves s | not love c and loves s)? Confused because we know both the numerator and denominator. Thanks
@statquest9 ай бұрын
Well, the second one, p(loves s | not love c and loves s), really doesn't make sense to calculate at all. This is because the conditional part, "not love c and loves s" is only a subset of "loves s", and thus, the conditional part does not give us any useful information about the larger "loves s" population.
@CW-vl9zd9 ай бұрын
@@statquest Thank you!
@kekahazra976910 ай бұрын
Bam! I like the way you teach.....keep up!....Bam Bam!😅
@statquest10 ай бұрын
Thank you very much! BAM! :)
@anashaat952 жыл бұрын
Thanks a lot. Clearly explained as you stated.
@statquest2 жыл бұрын
Thank you!
@markobe083 жыл бұрын
Josh is the best
@statquest3 жыл бұрын
Thanks!
@tomr03status993 жыл бұрын
Yeh!
@durgeshkshirsagar1163 жыл бұрын
Wow. Great explanation with nice song ❤️❤️
@statquest3 жыл бұрын
Thanks a lot 😊!
@durgeshkshirsagar1163 жыл бұрын
@@statquest welcome sir 🙏🏻
@sudhamjayanthi Жыл бұрын
thank you, uncle bam!
@statquest Жыл бұрын
My pleasure!
@surendrabarsode89593 жыл бұрын
Very well explained as usual!! BTW, do you have any plans for making videos on stochastic calculus topics like Brownian motion, Ito integral, martingale measures etc. If so, I am looking forward to them.
@statquest3 жыл бұрын
I'll keep those topics in mind.
@tomr03status993 жыл бұрын
👍👍👍👍
@janiceoou3 жыл бұрын
I was looking for sth like this recently, thanks for somehow read my mind XD (I guess some kinda probability?? BAM!
@statquest3 жыл бұрын
BAM! :)
@helgemeyer65114 ай бұрын
What is the probability of a video being great GIVEN that we know it is made by Josh? Pretty close to 100%, I'd say!
@statquest4 ай бұрын
BAM! :)
@sigmakings7285 Жыл бұрын
That's a great one.thank you😊
@statquest Жыл бұрын
Glad you liked it!
@graningfire17767 ай бұрын
Quadra BAMMMM ! ITS now clearly cleared in my mind
@statquest7 ай бұрын
It's not clear? What time point, minutes and seconds, was confusing?
@graningfire17767 ай бұрын
@@statquest sorry sir , I wish to write now but due to my mistake it become not .
@piruthuviraj3 жыл бұрын
Thank you so much...Now I cleared. 😁🥰🥰
@statquest3 жыл бұрын
bam!
@animelife93513 жыл бұрын
Because of you, I knew this Concept "BAM" 😹😸
@statquest3 жыл бұрын
bam!
@RaceyBeats2 жыл бұрын
So bloody good!
@statquest2 жыл бұрын
Thanks!
@micahdesign66573 жыл бұрын
best video ever !
@statquest3 жыл бұрын
:)
@yonatanaquinteror29893 жыл бұрын
Awesome! BAM!!!
@statquest3 жыл бұрын
:)
@sampathkumar34053 жыл бұрын
Josh , Please start a series for mathematics concepts for machine learning. Such as probability, linear algebra, statistics, calculus etc.. It'll great help for us.
@statquest3 жыл бұрын
I have a bunch of statistics videos here: statquest.org/video-index/
@lakshman5873 жыл бұрын
If we take Event A:Not loves candy Event B:Loves soda Then general formula is P(A∩B|B)=P(A∩B)/P(B) Is the above formula same as P(A|B)=P(A∩B)/P(B) (This is the formula I was taught)
@statquest3 жыл бұрын
Yes, they are the same. The formula that you were taught is harder to read than the one I use, so I don't use it.
@lakshman5873 жыл бұрын
@@statquest Ok thanks a lot :)
@justinwhite27253 жыл бұрын
Yeah. What does upside-down-U mean?
@justinwhite27253 жыл бұрын
I'm gonna go out on a limb and say that 8:14, the formula on the bottom is the long form of the notation you used. And he's showing in this frame how the results are the same.
@tomr03status993 жыл бұрын
Yes
@SarahFeng92 Жыл бұрын
Your channel is amazing, I wish I had discovered it earlier! Would you ever consider making the slides available for sale? I would absolutely buy them.
@statquest Жыл бұрын
I have some of them for sale here: statquest.org/statquest-store/
@ceseb233 жыл бұрын
Great video, perfect explanation, marvelous song, as always :D I would love to see a video about Generalized Linear Models( other than logistic).
@statquest3 жыл бұрын
Thanks and I'll keep that topic in mind.
@tomr03status993 жыл бұрын
👍👍👍
@mostafayounes269Ай бұрын
thank you ❤❤
@statquestАй бұрын
:)
@jackfrost89697 ай бұрын
Excellent excellent excellent
@statquest7 ай бұрын
Many many thanks!
@Darkev773 жыл бұрын
At 5:08, is it legitimate to ask "What is the probability that someone loves candy given that we know they love soda"? Without having the "and soda" condition. Or is the fact that it's "given/knowing they love soda" implies that it has to be "loves candy and soda"?
@statquest3 жыл бұрын
Conditional probabilities can be written two ways: a "long" version and a "short" version. In this video I use the long version (because it's easier for me to read)... P(A and B | B) = P(A and B)/P(B) ...however, the short version is commonly used... P(A | B) = P(A and B)/P(B) Both mean the same thing, in other words: P(A and B | B) = P(A | B). The short version implies the "and B" part.
@joshuaperling29853 жыл бұрын
amazing! the best!!
@statquest3 жыл бұрын
Thank you! :)
@fabianarodriguez. Жыл бұрын
I GET IT NOW THANK U SO MUCH
@statquest Жыл бұрын
bam! :)
@fabriciomagalhaessena2289 Жыл бұрын
Thank you so much for this video! It saves my life hahaha
@statquest Жыл бұрын
Thanks!
@EngRiadAlmadani3 жыл бұрын
BAMMM!!!! Great work Can you make video about bayesian classifier because it's depending on conditional probability
@statquest3 жыл бұрын
I've already done that. Here's the link: kzbin.info/www/bejne/hWOvY4isbtWXeqM
@Darkev773 жыл бұрын
This might sound like a silly question but, shouldn’t one expect that P(A | ~A) = 0, and vice-versa? However this conditional notation doesn’t encompass that
@statquest3 жыл бұрын
Actually, it does. What you are asking is "The probability that someone loves candy AND does not love candy given that we know that they love candy". This results in the equation p(loves candy & does not love candy) / p(loves candy) = 0 / (6/14) = 0.
@Darkev773 жыл бұрын
@@statquest thanks a lot prof for your clarifications!
@qwerty111111223 жыл бұрын
Hi Josh! I've been working with DEseq2 a lot. Is dispersion shrinkage on your TODO list for statquest? I realize it's a little more of a niche topic for bioinformatics than broadly applicable tho
@statquest3 жыл бұрын
I'll keep it in mind.
@shahf133 жыл бұрын
Great job josh you are my favorite teacher !! , can you think about making a video about Multicollinearity? bam
@statquest3 жыл бұрын
I'll keep that in mind.
@RajSARAF495 Жыл бұрын
Beautiful ❤
@statquest Жыл бұрын
Thank you! :)
@sleepydev47003 жыл бұрын
Hundred Bam!! Great explanation as always Could you put the playlist link in the description, it will help us a lot, thanks.