De Morgan's Laws (in a probability context)

A discussion of De Morgan's laws, in the context of basic probability. I illustrate De Morgan's laws using Venn diagrams, describe their meaning in a worded example, and show how they might be useful in a probability calculation.
I will get back to statistics videos in the not-too-distant future. Right now, I'm hammering away on probability for a little while.

Пікірлер: 89

  • @Francois6048
    @Francois60484 жыл бұрын

    I really got over-stimulated by the name of job A

  • @stevenmacaroni

    @stevenmacaroni

    3 жыл бұрын

    That's my dream job

  • @TheBrickagon

    @TheBrickagon

    2 жыл бұрын

    I was hoping someone commented that, and this was the first I saw 😂😂😂

  • @ineriswetrust
    @ineriswetrust2 жыл бұрын

    These videos are very clear and useful. Great job! Now I have to go back and like them each individually...

  • @regularfoodblog
    @regularfoodblog4 жыл бұрын

    This was incredibly clear - thanks and great job.

  • @ishitakothari5095
    @ishitakothari5095 Жыл бұрын

    Clearly illustrated and explained. Thank you

  • @jafetsalo
    @jafetsalo4 жыл бұрын

    Straightforward and easy. Nice video!

  • @melontusk7358
    @melontusk73582 жыл бұрын

    This is the literal best explanation on the entire internet

  • @BattleFieldGalaxy
    @BattleFieldGalaxy6 жыл бұрын

    Thank you so much for your videos. I passed my probability class with a good grade because of you! (:

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    You are very welcome! I'm glad to be of help.

  • @alexgabriel5877

    @alexgabriel5877

    4 жыл бұрын

    @@jbstatistics come back :(

  • @amywilderson85
    @amywilderson854 жыл бұрын

    You really know how to teach! Thank you!

  • @Lena-of7wd
    @Lena-of7wd5 жыл бұрын

    Thank you, this was helpful!

  • @ethanpan7163
    @ethanpan71632 жыл бұрын

    Study for AP computer science this year, this helps a lot, thank you!

  • @kushjuvekar1080
    @kushjuvekar10803 жыл бұрын

    Incredible visualisation !

  • @Cleisthenes2
    @Cleisthenes2 Жыл бұрын

    This one has seemed the most intuitive of this entire series to me

  • @jbstatistics

    @jbstatistics

    Жыл бұрын

    I'm glad you found it intuitive. (Then there is nothing to remember!) De Morgan's Laws are interesting. Students often have trouble with the symbolic representation, but the notion that 'not (this or that)' = 'not this and not that' is pretty straightforward to grasp, especially with simple examples. Cheers.

  • @marklendacky1015
    @marklendacky10152 жыл бұрын

    Thank you for this, really got the idea behind it after watching this!

  • @katiedunn7369
    @katiedunn73694 жыл бұрын

    thank you thank you, this was so helpful!

  • @abdom.abdellatif4807

    @abdom.abdellatif4807

    3 жыл бұрын

    can we be friends?

  • @benjamincloete2768
    @benjamincloete27684 жыл бұрын

    Thank you so freaking much....please keep the good work

  • @gmartirosyan
    @gmartirosyan6 жыл бұрын

    Glad, you're back!!

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    Thanks! It's good to be back!

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    Thanks!

  • @furkatsultonov9976
    @furkatsultonov99763 жыл бұрын

    good demonstration by using the diagrams. Thank you

  • @abner6a
    @abner6a Жыл бұрын

    Amazing explanation!

  • @jbstatistics

    @jbstatistics

    Жыл бұрын

    Thanks!

  • @Cerealonmars
    @Cerealonmars Жыл бұрын

    hands down one of the best explanations ive ever heard. thank you for the examples

  • @ASHUTOSHSINGH-mv8mp
    @ASHUTOSHSINGH-mv8mp5 жыл бұрын

    you are so cool. Thank you do much professor

  • @emmurysimbarashesithole1040
    @emmurysimbarashesithole10402 жыл бұрын

    amazing and very clear

  • @jbstatistics

    @jbstatistics

    2 жыл бұрын

    Thanks! I'm glad to be of help!

  • @veyshaliramathar3859
    @veyshaliramathar3859 Жыл бұрын

    amazing video :) literally so easy and simple to understand , thank you 🙏

  • @cococnk388
    @cococnk3882 жыл бұрын

    so smooth ...thanks jb

  • @mihirramaswamy1313
    @mihirramaswamy1313 Жыл бұрын

    Brilliant video

  • @sophiamounis6233
    @sophiamounis62333 жыл бұрын

    Amazing and simple explanation! Thank you:)

  • @dienodecol1808
    @dienodecol18085 жыл бұрын

    Very clear.Thank you

  • @jbstatistics

    @jbstatistics

    5 жыл бұрын

    You are very welcome!

  • @michaelrislingnb306
    @michaelrislingnb3062 жыл бұрын

    thank you for the animation :)

  • @Darakkis
    @Darakkis Жыл бұрын

    Brilliant!

  • @Sunithakitchenofficial
    @Sunithakitchenofficial3 жыл бұрын

    THIS APP IS HELPFUL 😍😍😍😍😍

  • @priyanksilswal3532
    @priyanksilswal35323 жыл бұрын

    Awesome

  • @wiggles7976
    @wiggles79762 жыл бұрын

    Let's take it up a notch, because I have a problem that's more complicated. I have 10 digits, A through J, and from those I generate a 4-digit ordered string such as AAAA or ABCD or AJAE. I want to know the probability that the string has at least one A in it. Call the 4 variables that make up the string w,x,y,z, so the string is wxyz. We are then finding the probability of statement S:="w=A or x=A or y=A or z=A". I am not sure if this is correct, but I believe one way to proceed is to find the easier probability of not S = "w != A and x != A and y != A and z != A". The probability that w != A is (1-pr(w=A))=(1-0.1)=0.9, and the same for x,y, and z. Thus, we multiply the probabilities together so that the probability of not S is (0.9)^4 = 6561/10000, and thus the probability of S is (1-Pr(not S))=(1-6561/10000)=3439/10000. So, the probability that at least one digit is an A is 0.3439. I believe this is correct. I don't know how to put this in the language of sets instead of the language of boolean statements.

  • @amerabushakra1328
    @amerabushakra13286 жыл бұрын

    Thank you Thank you Thank you

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    (You are very welcome!)^3

  • @N0N5T0P

    @N0N5T0P

    5 жыл бұрын

    @@jbstatistics I see what you did there ^_^

  • @salsalo8826
    @salsalo88265 жыл бұрын

    How did you get .05 and 0.45?

  • @christiancoder454

    @christiancoder454

    4 жыл бұрын

    Sal Salo you have to subtract that overlap. See it is 0.15 in the middle. Well in order to evenly distribute the probability correctly, you need to subtract 0.15 from both A and B probabilities so it makes sense.

  • @thedeathofbirth0763
    @thedeathofbirth07636 ай бұрын

    We Canadians are the best at everything! Well in this case you are Jb. Thanks man!

  • @jbstatistics

    @jbstatistics

    6 ай бұрын

    Thanks! Happy to be of help!

  • @buchmanguzman7108
    @buchmanguzman71087 ай бұрын

    Can the last example be represented using a venn diagram.I can't find the probability of the intersection of A and B.Thanks

  • @jbstatistics

    @jbstatistics

    7 ай бұрын

    The last example asks for the probability of the intersection of the *complements* of A and B. This intersection is the same event as the complement of the union of A and B (By De Morgan's laws, as given in the video). Casually speaking, that's the region outside the circles.

  • @xianjunchanling5122
    @xianjunchanling51222 жыл бұрын

    Thanks a lot!

  • @TrushSeeker22
    @TrushSeeker224 жыл бұрын

    Thank you

  • @sargiskh
    @sargiskh4 жыл бұрын

    Thanks!!!!

  • @SIDEKICKONYOUTUBE
    @SIDEKICKONYOUTUBE3 жыл бұрын

    HELP ! im really confused with this ... Not (A and B) = Not A or Not B but it seems like it will have the same result as Not A and Not B ... what am i missing ? Not (A or B) = Not A and Not B also seems like it will have the same result as Not A or Not B ... can anyone give me an example with literal numbers so that i can understand how they actually differ in results ?

  • @wx8699

    @wx8699

    3 жыл бұрын

    im not sure i can answer your quetions. my english is bad so sorry for error or grammar mistake not(p and q) you need to start with inside bracket. "and" not means "and" it means the space that interact ,or you can say when they are both true. space only p but not q is not selected bcs p = true but q =false. space only q but not p is also not selected bcs q = true but p = false. the space interact between p and q is selected bcs both true so not (p and q) means that the space that are not interact, or you can say in either one is not true or both are false.(just like the opposite of p and q) Not p or not q. No bracket we just start it from left to right. "or" is means you can accept both true or either one is false. not p is the space which besides p so outside p is true and inside p is false.outside q is true and inside q is false. then the interact space p and q will be false because both are touch the space of inside p and inside q. (both false) So, the other space that not interact between p and q will be selected because they are accepted by "or"(either one is false or both are true) Not (p or q) inside bracket first. "or" only did not accept space both false p is true and q is true. the interact space p and q is both true. the space only have p is p = true and q = false.(accepted bcs not both false) q same as p so space inside p and q is all true. then not (p or q)means the space that not true, also means that the space that p = false and q = false. so the space we take will be the space outside p and outside q because the space is both false(no p and no q). Not p and not q no bracket start from left to right. not p = inside p is false and outside p is true not q = inside q is false and outside q is true "and" means interact and both must be true. so the space that outside p and also outside q will be selected bcs both are true.

  • @mobslaeh
    @mobslaeh2 жыл бұрын

    @ 4:26, I totally understand how the probability of the compliment of the union of A & B = 1 - 0.65 = 0.35. However, if we look at it from another perspective then the intersection of A compliment & B compliment = 0.80 × 0.40 = 0.32 not 0.35. Anybody can explain the discrepancy here? Where is there 0.03 difference? Thanks in advance.

  • @jbstatistics

    @jbstatistics

    2 жыл бұрын

    The events are not independent here. The probability of the intersection of two events is equal to the product of their probabilities if and only if the events are independent.

  • @mobslaeh

    @mobslaeh

    2 жыл бұрын

    @@jbstatistics That makes perfect sense. Thank you so much.

  • @elitsadimitrova6762
    @elitsadimitrova6762 Жыл бұрын

    ty king

  • @knowledgewithfun9333
    @knowledgewithfun93333 жыл бұрын

    Thankyou sir

  • @richardphiri130
    @richardphiri1303 жыл бұрын

    thank you

  • @OScienceV
    @OScienceV4 жыл бұрын

    Mustwatchkzread.info/dash/bejne/fotkpqVxodPVccY.html

  • @tayyab.sheikh
    @tayyab.sheikh Жыл бұрын

    Me feeling like an expert after watching the complete playlist ✅

  • @jbstatistics

    @jbstatistics

    Жыл бұрын

    Glad to be of help!

  • @samirelzein1978
    @samirelzein19784 жыл бұрын

    Would recommend calling not independent as dependent 90% of the times and only 10% of the times not independent, as the notion of dependency is way stronger and something big to prove in physics or any other real life events. From what i saw so far was the inverse trend with not independent used 97% of the time, which is helping less setting up intuition. My 2 cents.

  • @ebiebii6028
    @ebiebii60286 жыл бұрын

    thanks. give us list of all on the way vids pls...

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    While I have a big list of videos I want to make, and have a notion of where I'm going with all of this, I'm never sure what's coming next until I sit down to record. So I'm not going to post an "upcoming" type of list. (Things come up, and I might go a different route, and I don't want to pen myself in.)

  • @ebiebii6028

    @ebiebii6028

    6 жыл бұрын

    til now, you've done alot to me, i appreciated. but to catch what ST is, i've need some basics, geometric&harmonic mean, quartiles, range, iqr, SK,... by your way of teaching.

  • @chrisvincent782
    @chrisvincent78210 ай бұрын

    great video and thank you, but is it possible you made an error= 2:44 Not A and Not B

  • @jbstatistics

    @jbstatistics

    10 ай бұрын

    What do you think is in error? It's highly unlikely there's a problem. "Not A and not B" does not come up at 2:44.

  • @user-po3gr6ef6s
    @user-po3gr6ef6s2 жыл бұрын

    أحسنت يا رجل

  • @Chris-ng9zi
    @Chris-ng9zi4 ай бұрын

    Do D'Morgan's laws apply to mutually exclusive events as well?

  • @jbstatistics

    @jbstatistics

    4 ай бұрын

    They are universal laws that have no conditions other than we're discussing two events in a sample space.

  • @Chris-ng9zi

    @Chris-ng9zi

    4 ай бұрын

    @@jbstatistics I have the following question. Let's say C - is the event that a manager is in the office and P(C) = 0.48. And D - the event that the manager is at home with P(D) = 0.27. Find the probability that she will neither be in her office or at home. I have two solutions but they do not agree. Solution 1: C and D are mutually exclusive. P(CvD) ' = 1 - (.48+.27)= .25 Solution 2: P(CvD)' = P(C') and P(D')= P(C')P(D') = (1-0.48)(1-0.27)= (0.52)(0.73)= 0.38 I know solution 2 is incorrect but I can't find the error in my logic. Please help.

  • @Chris-ng9zi

    @Chris-ng9zi

    4 ай бұрын

    @@jbstatistics test

  • @jbstatistics

    @jbstatistics

    4 ай бұрын

    @@Chris-ng9zi The error is that solution 2 implicitly assumes that being in the office is independent of being at home, which of course it is not. The probability of an intersection is equal to the product of the individual probabilities if and only if the events are independent.

  • @dr.upasanapahujataneja1707
    @dr.upasanapahujataneja17073 жыл бұрын

    Nice video# Dr. Upasana Taneja

  • @ElizaberthUndEugen
    @ElizaberthUndEugen6 жыл бұрын

    At 3:50 Why isn't P(A or B) = P(A) + P(B) but rather P(A\B) + P(A and B) + P(B\A)? And also, why aren't these the same? P(A) + P(B) is .2 + .6 = .8. P(A\B) + P(A and B) + P(B\A) is .05 + .15 + .45 = .65 huh?

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    P(A or B) = P(A) + P(B) - P(AnB) (the addition rule). It is also true that P(A or B) = P(AnB^c) + P(AnB) + P(A^c n B). Both of those work out to 0.65 in the example in this video.

  • @ElizaberthUndEugen

    @ElizaberthUndEugen

    6 жыл бұрын

    AnB denotes A and B? Then the or in P(A or B) is an exclusive or?

  • @jbstatistics

    @jbstatistics

    6 жыл бұрын

    Yes, I'm using AnB to denote the intersection of A and B. I'm using "or" in the inclusive sense, as nearly everyone does in a study of probability. A or B means A or B or both.

  • @ElizaberthUndEugen

    @ElizaberthUndEugen

    6 жыл бұрын

    Ok thanks, I understand it now for the most part. One last question though, the probabilities A and B need to be normalized somehow, right? But they do not sum to 1 here. Why is that? I mean if the probabilities for "getting the job" were say .9 for both A and B and the the probability of getting both (P(AnB)) were 0, then P(A or B) would be .9 + .9 - 0... so A and B must be normalized, but if they were normalized they would some to 1, but they don't. Why is that?

  • @winniesomanje1862
    @winniesomanje18623 жыл бұрын

    You fit!👌

  • @nikoalaves7111
    @nikoalaves71113 жыл бұрын

    this guy is funny

  • @AlancRodriguez
    @AlancRodriguez4 жыл бұрын

    Well done

  • @phantomproduction5757
    @phantomproduction5757 Жыл бұрын

    So Easy!

  • @musicalhits1082
    @musicalhits10823 жыл бұрын

    SIR DEMORGAN'S FROM INDIA

  • @HL-iw1du
    @HL-iw1du3 жыл бұрын

    t