Bayes' Theorem Example: Surprising False Positives

We apply Bayes' Theorem to decide the conditional probability that you have an illness given that you have tested positive for a disease. It turns out the probability is way lower than you might think from just considering false positives alone.
►FULL DISCRETE MATH PLAYLIST: • Discrete Math (Full Co...
OTHER COURSE PLAYLISTS:
►CALCULUS I: • Calculus I (Limits, De...
► CALCULUS II: • Calculus II (Integrati...
►MULTIVARIABLE CALCULUS (Calc III): • Calculus III: Multivar...
►VECTOR CALCULUS (Calc IV): • Calculus IV: Vector Ca...
►DIFFERENTIAL EQUATIONS: • How to solve ODEs with...
►LINEAR ALGEBRA: • Linear Algebra (Full C...
OTHER PLAYLISTS:
► Learning Math Series
• 5 Tips To Make Math Pr...
►Cool Math Series:
• Cool Math Series
BECOME A MEMBER:
►Join: / @drtrefor
MATH BOOKS & MERCH I LOVE:
► My Amazon Affiliate Shop: www.amazon.com/shop/treforbazett
SOCIALS:
►Twitter (math based): / treforbazett
►Instagram (photography based): / treforphotography

Пікірлер: 155

  • @jayare6975
    @jayare69753 жыл бұрын

    the best part is how it goes in a bit further depth by exploring what happens if you test positive twice ( probability of disease given you test positive 2 times in a row ) that ish hit different

  • @ccuny1
    @ccuny14 жыл бұрын

    What happens when you're 58 and you decide to (re)learn discrete math, logic and probabilities? You watch this series and have a fun ride. Liked and subbed: it's brilliant, lively, entertaining and a great (re)learning experience. Thank you so much.

  • @renelchesak3555
    @renelchesak35554 жыл бұрын

    Beautiful wrapping up of the concept! "The whole point of Bayesian analysis is that as I get more information, I get to update the probabilities by which I believe events are going to occur."

  • @jackwillims4248
    @jackwillims42483 жыл бұрын

    This global pandemic is the perfect time to learn this theorem

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    For sure, if there was ever a more perfect application it is hard to imagine

  • @MathsHistoryHelp

    @MathsHistoryHelp

    2 жыл бұрын

    Yup. The amount of arguments i have had with people who claim vaccinated and unvaccinated are both spreading covid equally...ignoring all the vaccinated who did not get infected in the first place and so were not in the studies....

  • @VeritasEtAequitas

    @VeritasEtAequitas

    2 жыл бұрын

    First by examining how the results were games by manipulating cycle thresholds and changing the criteria for a "positive" to include similar symptoms of any illness, the suddenly "died with" as opposed to "died from" most of while had 4+ comorbidities becomes quite shocking. The only remaining question is at what confidence interval we can deem it a for-profit scam with CEOs and board members of oversight approving their own profits. Whoops!

  • @juanchetumare
    @juanchetumare2 жыл бұрын

    I agree with the majority of the comments. This was masterfully explained. I used to be a TA on discrete maths, probability and statistics and this felt like a breath of fresh air. Thanks a lot!

  • @DK-ij9sh
    @DK-ij9sh Жыл бұрын

    All the lessons about Bayes' Theorem are great. Thanks for explaining them in a simple and interesting way.

  • @ralphmachado8201
    @ralphmachado82014 жыл бұрын

    Today you thought me something in 12 minutes which my teachers couldn't teach in 12 months.!

  • @sakura-sc5bw
    @sakura-sc5bw3 жыл бұрын

    I was really struggling with this theorem. Your video helped tons. Thanks a lot!

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    You're very welcome!

  • @alexjohnston6847
    @alexjohnston68473 жыл бұрын

    Worth explicitly showing are the relationships of TP (True Positive), TN (True Negative), FP (False Positive), and FN (False Negative). These relationships are often glossed over, and people frequently mix them up, leading to wrong answers! True Positive and False Positive are NOT complements, nor are True Negative and False Negative. Instead, the TP/TN/FP/FN relationships are: 1. TP and FN are complements, so TP = 1 - FN and FN = 1 - TP 2. TN and FP are complements, so TN = 1 - FP and FP = 1 - TN

  • @muhammadsiddiqui2244

    @muhammadsiddiqui2244

    3 жыл бұрын

    Thanks, I was confused about them.

  • @VeritasEtAequitas

    @VeritasEtAequitas

    2 жыл бұрын

    Yes, and even worse then they claim a certain reliability but then increase and decrease cycle thresholds to make big numbers, then to "prove" their product is after self-appeoving it with nepotistic relationships. ;)

  • @seyedhamidazimidokht3569

    @seyedhamidazimidokht3569

    Жыл бұрын

    I found This more intuitive: TP + FN = Total Positive ==> TP = Total Positive - FN. (this was mentioned in the video. getting %90 from %10).

  • @michaeldeleted
    @michaeldeleted2 жыл бұрын

    I have watched at least 10 other videos on Bayes. After watching yours I finally get it. Thanks, so much!

  • @DrTrefor

    @DrTrefor

    2 жыл бұрын

    Glad it helped!

  • @harshmodi2553
    @harshmodi25534 жыл бұрын

    Sir, Your explanation about the concepts are so clear that anyone can understand clearly. Thank you so much.

  • @justus4883
    @justus48832 жыл бұрын

    Thanks, had only been given a week to understand this theorem and your videos really help my understand it 👍

  • @domzippilli3738
    @domzippilli37386 жыл бұрын

    Great work, this helped me a lot. I see you just published this, and with the growth in popularity and relevance of probabalistic programming and machine learning, it's right on time.

  • @domzippilli3738

    @domzippilli3738

    6 жыл бұрын

    As a side note, I heard a baby crying around 8 minutes... assuming that's yours, congratulations!

  • @shivendrayadav5962
    @shivendrayadav59624 жыл бұрын

    This principle has applications in information retrieval too.I was struggling to understand it but thanks to you I am out of the woods. Cheers mate

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

    Sir ...what a power of explanation, confidence you have.. Thank you so much sir..

  • @AJP0987654321
    @AJP09876543214 жыл бұрын

    I think you need more explanation going from the original formula to the expanded denominator, but it's a great example and helped me dearly. Thank you very much

  • @shivanibiswal3269
    @shivanibiswal32695 жыл бұрын

    Greatly explained.. thank you 😊

  • @deepaaggarwal2812
    @deepaaggarwal28122 жыл бұрын

    Very well explained, it helped a lot. Thanks.

  • @hafizhabdillah3030
    @hafizhabdillah30304 жыл бұрын

    better than my lecture, moreee better, you are the best. thanks for sharing, hope you be well, during this pandemic.

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

    Doctor you are the best. Thanks for breaking this down for mr.

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

    last year you saved my calculus course this year you are saving my statistic course

  • @user23724
    @user237243 жыл бұрын

    This was a great video, it really helped so much, thank you, you're really helping me love math! :)

  • @sunny739
    @sunny7392 жыл бұрын

    amazing explanation sir ! thanks a lot for this tutorial

  • @santosksingh
    @santosksingh6 жыл бұрын

    Awesome explanation!

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

    Great! the best explanation I've ever heard

  • @thesouravmalakar8922
    @thesouravmalakar89225 жыл бұрын

    *Wow, excellently explained !! By the way, it's little like tongue twister !!*

  • @simonhwang4
    @simonhwang44 жыл бұрын

    Your enthusiasm for teaching math is simultaneously disturbing and infectious. Thanks for the work you do

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

    very helpful! Thank you so much!

  • @v8pilot
    @v8pilot2 жыл бұрын

    I found this video very helpful and I thank you for presenting it. However, does not the analysis for the case of testing positive twice in a row depend on an assumption that errors in the tests are independent? I can imagine situations where successive tests are far from independent - for example I might use covid test kits from the same production batch or there might be some peculiarity of my blood chemistry that routinely confuses some enzyme test. (I used to calculate reliability of communication networks. I found that even very small correlations between link failures could completely change results calculated on the assumption of independence between link failures.)

  • @sdsa007
    @sdsa0072 жыл бұрын

    Bravo! gotta update my prostate-cancer probability!

  • @aminzaiwardak6750
    @aminzaiwardak67504 жыл бұрын

    Thanks a lot you explained very good.

  • @nurulanasuhahseffene4887
    @nurulanasuhahseffene48873 жыл бұрын

    you have a great way of explaining things and this is random but you sound like ryan gosling

  • @Jimmy-wh1fd
    @Jimmy-wh1fd6 жыл бұрын

    Very informative!

  • @alice20001
    @alice200015 жыл бұрын

    Thank you so much for putting in the second scenario where you go through the test twice!

  • @lovelyjain1568
    @lovelyjain15683 ай бұрын

    thanx a lot....true life saver

  • @rehabalsaleh166
    @rehabalsaleh1663 жыл бұрын

    Wow! I got it! Thank you so much!

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

    WONDERFULLY EXPLAINED CONTENT...I'm surprised this has so few views... Well he has a huge no of subscribers...so that makes sense thanks!

  • @andyellingson8617
    @andyellingson86173 жыл бұрын

    Thank you for the videos, very helpful

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    You are welcome!

  • @crypticnomad
    @crypticnomad4 жыл бұрын

    How would one apply this concept to a model that is fairly well calibrated but has a pretty large false positive rate? Instead of just a binary output it gives a probability. Would I use that probability as the prior?

  • @b.s.balakumarbalakumar867
    @b.s.balakumarbalakumar8673 жыл бұрын

    Excellent exposition

  • @multipleoranges6307
    @multipleoranges63073 жыл бұрын

    Thank you so much!

  • @shis10
    @shis104 жыл бұрын

    Excellent video

  • @Gumikrukon
    @Gumikrukon6 жыл бұрын

    Great stuff :) Thank you! :)

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

    Why I am thinking about Corona tests rn ? And word positive for it is haunting!

  • @fabiovargasbr
    @fabiovargasbr2 жыл бұрын

    Excellent

  • @rafamejia11
    @rafamejia114 жыл бұрын

    I am wondering if someone could use a Bayesian approach to estimate undetected covid-19 cases?, I mean obtain the probability of infected population that are not being tested in a country or in a specific region. Especially on those places that the government is not given that much information about the spread of the virus, if in fact you can actually use Bayes' Theorem, can you make a video about that?

  • @legendaryplayer4486
    @legendaryplayer44864 жыл бұрын

    Sir do you have a video regarding Bernoulli trials.

  • @geeves21312
    @geeves213125 жыл бұрын

    This is exceptionally well explained. I have real trouble assigning the events. For example, "P(A|B) means have disease having tested positive, and P(B) is testing positive)". The breakdown has really helped wrap my mind around it. Thank you!

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

    I'll have to rewatch this a couple of times ✌️

  • @ObaidurRehmanX
    @ObaidurRehmanX2 жыл бұрын

    Excellent way of teaching. Subscribing!

  • @DrTrefor

    @DrTrefor

    2 жыл бұрын

    Welcome aboard!

  • @omerozgurcelik907
    @omerozgurcelik90710 ай бұрын

    This is great 👍

  • @jojorusinek7492
    @jojorusinek74923 жыл бұрын

    i arrive at the same answer but my "priors" have changed on the second test. it appears that you use the same prior of 1% on the second test for the probability of having the disease notwithstanding the positive first test. post test odds = pre-test odds x likelihood ratio (LR) for +'ve test, where pre-test odds = .01/0.99 or .0101 and LR is sensitivity/(1-specificity). so, post test odds =0.0101x0.9/0.05 = 0.181818 probability = odds/(1+odds) = 0.181818/1.181818 = 15.38%. for a second test, the pre-test odds are no longer 1%, but are .181818 post-2nd test odds = 0.181818 x LR for a positive test (which has not changed) = 0.181818 x 0.9/0.05 = 3.27 probability = 3.27/4.27 = 76.6%

  • @continnum_radhe-radhe
    @continnum_radhe-radhe Жыл бұрын

    This is quite interesting.

  • @dddhhj8709
    @dddhhj87093 жыл бұрын

    pretty good explaination

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

    you explained this so well go off unc

  • @ŚmiemWątpić
    @ŚmiemWątpić6 жыл бұрын

    Amazing! 😀😁😍😎 Most underwatched video on youtube! 😐

  • @abinashgiri7528

    @abinashgiri7528

    6 жыл бұрын

    Śmiem Wątpić because he stolen idea from Veritasium

  • @aneet84
    @aneet844 жыл бұрын

    Well made video! I am a college professor and aspire to this level also but I have a few questions: (1) Do you get tired through having to be as expressive (this is a good thing!) as you are, through an online medium? I see that you make a great effort in projecting your voice and also gesticulating to drive home "the point". This must be tiring (2) What recording/capturing software do you use? Thank you for your time!

  • @PetukTraveller
    @PetukTraveller3 жыл бұрын

    Illness, diseases , these are the examples to understand Bays Theorem :)

  • @zorba81674
    @zorba816744 жыл бұрын

    Trevor, wouldn't we use 15.4% as the "priior" that you do have the disease when you run the test a 2nd time? I'm thinking of the posterior becoming the prior.

  • @muhammadsiddiqui2244

    @muhammadsiddiqui2244

    3 жыл бұрын

    yes

  • @sunnys7899
    @sunnys78993 жыл бұрын

    Outstanding explanation

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    Glad it was helpful!

  • @markbole2496
    @markbole24962 жыл бұрын

    Fun to watch in COVID times. Case numbers being reported using lateral flow could be far off.

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

    The importance of knowing your initial risk (and how it differs from the population incidence) can't be stressed enough. When I see my doctor it is because something is wrong. The doctor looks at the presentation and effectively puts me in a sub population with an elevated risk of various diseases - the results of relevant tests then update those risks until there is enough confidence to prescribe a treatment. (Well that's the theory). In practice the diagnosis involves the doctors experience, training and judgement. Bayes theorem allows that subjective judgement to be replaced or at least reinforced by calculation.

  • @shilohmheespana7837
    @shilohmheespana78374 жыл бұрын

    Hello sir, thanks for that clear explanation however i have one question. Should not we use the result of the first solving which is 0.154 as a prior for the 2nd test result where it resulted into another positive? Im new to this so I'm quite confused so please correct me on which part did i misunderstood. Thank you so much :D

  • @matheuso.7204

    @matheuso.7204

    Жыл бұрын

    I was wondering the same thing

  • @emmablassel843
    @emmablassel8434 жыл бұрын

    Thank you.

  • @davidgarner5628
    @davidgarner56286 жыл бұрын

    The example of repeating the test assumes that the two tests are uncorrelated (independent). It is often the case that when a medical test fails to give the correct result, it is for a reason and repeating the test may fail for the same reason.

  • @Diagnoc

    @Diagnoc

    Жыл бұрын

    That was also my concern.

  • @RedditLeafy420
    @RedditLeafy4203 жыл бұрын

    I got tested positive for anphetamine and ecstasy but i havent used anything so what will happen, they told me that they will send the same urine again and contact me

  • @mustanserbillah2975
    @mustanserbillah29755 жыл бұрын

    superb method of teaching which every one can easily understand. thank you sir

  • @DirtyPhlegm
    @DirtyPhlegm5 жыл бұрын

    Suppper video!!

  • @charlesedeki--mathcomputer7198
    @charlesedeki--mathcomputer71983 жыл бұрын

    Please what is the name of the software you are using for the video, its great way to present lecture, thank you.

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    I have a whole vid about my process here: kzread.info/dash/bejne/mqGFxsGJj9TQYdo.html&ab_channel=Dr.TreforBazett

  • @pawanmishra9342
    @pawanmishra93426 жыл бұрын

    Great work

  • @pawanmishra9342

    @pawanmishra9342

    6 жыл бұрын

    I don't know why people don't watch this work instead of pewdiepie

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

    makes it seem like grade 6 content, so perfectly explained

  • @bnjaminhartley9141
    @bnjaminhartley91414 жыл бұрын

    Make some videos on systems and signals

  • @joserobertopacheco298
    @joserobertopacheco2982 жыл бұрын

    Very good video, one of the best I have ever watched about this subject. But at 2:32 he should consider 10 % not 5%, as he said at 2:09 that the teste also have a false negative rate of 10%. May I be wrong?

  • @jacksmith870
    @jacksmith8703 жыл бұрын

    Video by veritasium says the P(Having Disease) is prior information so it is updated using the previous result. But you updated P(Testing positive| Having Disease) . What am I missing here?

  • @jacksmith870

    @jacksmith870

    3 жыл бұрын

    found out there are two ways to get to the same answer. Either Update the prior probability or update the P(HD| test positive).

  • @simonndungu9746
    @simonndungu97464 жыл бұрын

    From past experience it is known that a machine if set up correctly 90% of the time, then 95% of good parts are expected but if the machine is not set up correctly then the probability of a good part is only 30%. On a given day the machine is set up and the first component produced was found to be good. What is the probability that the machine is set up correctly? solution for this?

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

    Doing the test twice is not necessarily independent events. What is really needed is the chance that someone who hasn't the disease but had a false positive having a second false positive. Ideally the second test would be a different test for the same disease where the results are independent.

  • @WernerBeroux
    @WernerBeroux10 ай бұрын

    The second part (taking the test twice) assumes that the events are independent. If it's something stable in the test subject's body that isn't the disease that triggers the false positive, then taking the test many times would have no affects on the probabilities.

  • @humzahalkindi
    @humzahalkindi4 жыл бұрын

    Awesome

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

    Great video. Shame there is so much boom and echo in the sound.

  • @TheMainCOW
    @TheMainCOW4 жыл бұрын

    LOVE THE VIDEO! But, I think you confused FP with FN. If there is 10% chance that test will give a FN, then there is 90% chance that when test gives negative, we actually DO NOT have the illness. On the other hand, if there is 5% chance that test will give a FP, then there is 95% chance that when test gives positive we actually DO have the illness. So, P(A) should be 0.95, correct?

  • @suyash601

    @suyash601

    4 жыл бұрын

    Let me clear this a bit for you. I am restating your sentence with little modifications. If there is 10% chance that test will give a FN, then there is 90% chance that when test gives positive, we actually DO have the illness. On the other hand, if there is 5% chance that test will give a FP, then there is 95% chance that when test gives negative we actually DO NOT have the illness.

  • @liyah33

    @liyah33

    3 жыл бұрын

    When do we get answer to this question...

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

    2:06 Why positive test might have cases?

  • @QZainyQ
    @QZainyQ3 жыл бұрын

    That's a baby crying or a cat at 8:10😂

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    haha that's my baby:D

  • @QZainyQ

    @QZainyQ

    3 жыл бұрын

    @@DrTrefor That's beautiful, best wishes man, And you really have been of great help

  • @pikeconsultinggroupinc.5287
    @pikeconsultinggroupinc.5287 Жыл бұрын

    Why don't you use the first test's posterior probability of 15.4% ,which then becomes a prior ,to figure out second test posterior probability?

  • @marco-vz5kv
    @marco-vz5kv3 жыл бұрын

    Sir is ~A and A' (A complement ) equal?

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    yes, just different notation for the same idea. A common option is A^c too

  • @hamedazimi2726
    @hamedazimi272611 ай бұрын

    Thank you for your detailed explanation, but shouldn't it be 0.95 for P(B|A) instead of 0.9? Because P(B|A) represents the probability of a positive test result given that one is actually sick. With a 5 percent false positive rate, it means that 95 percent of sick people would receive a positive test result (which aligns with P(B|A) of 0.95). 7:41

  • @kashmoney1227
    @kashmoney12274 жыл бұрын

    What does the 77 percent represent

  • @MrTighe12

    @MrTighe12

    4 жыл бұрын

    that you actually have the disease given you have just done the test twice and both times it came up positive

  • @grumpywasp4533
    @grumpywasp45333 жыл бұрын

    A genuine question. Doesn’t the FPR reset each time? Meaning every individual test has a 95% chance of being correct. This isn’t the same as 5 out of 100 being false. If the accuracy of every individual test is 95%, then each individual tests is 95% accurate. Does that in reality equate to 5 out of 100 being wrong? Can you apply specific accuracy to bulk testing?

  • @DrTrefor

    @DrTrefor

    3 жыл бұрын

    Indeed, there is a big difference between 95% and 5 in 100 people. The most likely outcome for 100 people is 5, but in any specific group of 100 people sometimes it will be less and sometimes more than this. So it is ok to build intuition like I did a the beginning of the video with a sample of 100 people, but you can't only look at that.

  • @grumpywasp4533

    @grumpywasp4533

    3 жыл бұрын

    Dr. Trefor Bazett thanks for this! I was having an argument about the COVID PCR FPR - 0.8% (ish). I argued that out of 100k tests if only 80 are positive then they could all be false as the PFR suggests around 800 FPs. I was told “no” that’s statistically highly improbable as the likelihood of each individual positive being correct is 99.2%. I don’t know how to reconcile the two - I’m not maths smart!

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

    I have a question: There is a store. 40% of the store contains products from company A, the remainder from company B. The store is also composed of 30% Large items, the rest being Small items. Suppose that 50% of the store is composed of items that are either from company B or is Large, what is the probability of choosing an item belonging to company A given that the item you chose is Small? So this is how I did it: P[B] = 40% so the other 10% must be the large items from company A to make P[B & L] = 50%. Which means that P[L|A] = (1/6) because 60% x (1/6) gives me the 10% I needed. This also means that P[S|A] = 5/6. Since company A supplies 10% of the Large items, this must mean that company B must supply 20% of the Large items to make a storewide total of 30%. Which means P[L|B] = (1/2) and P[S|B] = (1/2). Using Bayes' Theorem, I got P[A|S] = (1/2). Is this correct?

  • @av6530
    @av65303 жыл бұрын

    shouldn't be P(B|A)=.95? I'm confused on this part, other than that the video was amazing!

  • @jojorusinek7492

    @jojorusinek7492

    3 жыл бұрын

    false negative rate of 10% means than the test will reflect positive for the presence of the disease 90% of the time. The sensitivity of the test is .90 (will be positive when the disease is present).

  • @websogooddotcom
    @websogooddotcom4 жыл бұрын

    The opposite is also true. If you don't have the disease and given the test is positive, the first test would yield 84.6% (approximately 5/6) probability of getting a false result. The second test would drop to 23.4%. Only the 3rd test would be close to zero (i.e 1.7%). Therefore most of the medical test/statistic is not trustworthy if taken only once. However, this is also true for the distributed data itself. Because IF all the 100 subjects are only tested once, how trustworthy is the distributed data that you depend on initially?

  • @kjeldgaard0
    @kjeldgaard03 жыл бұрын

    I am puzzled at your calculation of P(A|B) after the second test. Instead of using the probability of testing positive twice, why don't you simply update the prior P(A) to be 0.154 instead of 0.01? Given that the first test is positive, the probability that the patient has the disease is no longer the general prevalance of 1% but is now 0.154. The sensitivity and specitivity of the test is the same, so you end up with P(A|B) = .74

  • @pikeconsultinggroupinc.5287

    @pikeconsultinggroupinc.5287

    Жыл бұрын

    That's exactly my thought. the new (2nd test) prior is the 1st test's posterior probability 0f .154

  • @neko_aple
    @neko_aple4 жыл бұрын

    Wait. Why is that test approved if it has a very high false positive and negative rate then?! Just kidding. I'm enjoying this.

  • @bernardodc9631
    @bernardodc96312 жыл бұрын

    I teste positive for covid, with 6% chance of false positive (and 96% true positive). Then tested negative twice. Wasn't able to crunch the numbers, though

  • @karannchew2534
    @karannchew25342 жыл бұрын

    08:09 baby sound?

  • @DrTrefor

    @DrTrefor

    2 жыл бұрын

    haha yup!

  • @hardiksharma2838
    @hardiksharma28383 жыл бұрын

    I'm corona infected, But now I'm not sure.

  • @TheOldGuy2000
    @TheOldGuy20004 жыл бұрын

    Wait a second... Should not P(B\A) be the compliment of P(B\~A) by definition and derivation of your final equation? In other words should not P(B\A) + P(B\~A) = 1. In your case it equals 0.95. Am I missing something here?

  • @suyash601

    @suyash601

    4 жыл бұрын

    @@DrTrefor Wait, what? lol

  • @TheOldGuy2000

    @TheOldGuy2000

    4 жыл бұрын

    @@DrTrefor But that is not the same as your statement in this video. Prob of positive reading (B) given you have disease (A), Prob(B\A) = 0.9. There is only one more case for a positive reading (at least in your example). That is a positive reading (B) when you dont have disease (~A). Now A is the compliment of ~A, surely we agree on that (you either have disease or your dont). And for a positive test does it not follow you can either test positive and have the disease or test positive and not have disease. So the prob of one or the other is equal to 1. To fit your unicorn example then that system must have only unicorns or humans. So Prob unicorn (U) if human (H) is then P(U\H) =0 and probability of unicorn given you are not human P(U\~H) =1, 0 + 1=1 so yes it does add up.

  • @TheOldGuy2000

    @TheOldGuy2000

    4 жыл бұрын

    Since the prob of one or the other is equal to 1 or P(B\A) + P(B\~A) =1. To match your unicorn example then in the system there can only be unicorns or humans. In that case the P(U\H) = 0 and the P(U\~H) =1. So yes it does add up… 1+0=1.

  • @VijfMiljard

    @VijfMiljard

    4 жыл бұрын

    This is about conditional probabilities, so the complement of P(B|A) is P(~B|A). You can only talk about complements when the a priori is the same.

  • @howardroark1216
    @howardroark12165 жыл бұрын

    Why does it have be solved using a formula? You can simply solve it by assuming a population of say a 100 or 1000 people and solve it by using actual numbers. Gor eg., in a population of 1000 people 10 will actually have the disease, 9 out of those 10 will test positive, 49.5 people who do not have the disease will also test positive. Hence, the probability of having the disease if you test positive is 9/(49.5+9)= 0.1538. You headed in this direction in the beginning but then you veered off to using the formula.

  • @michaelbauers8800

    @michaelbauers8800

    5 жыл бұрын

    In my job as a software engineer I find process is a good thing. It gives you a step by step approach to solving issues, to help you avoid making errors. A formula is similar to a process, forcing you to follow steps.

  • @luisbielmillan8467
    @luisbielmillan84673 жыл бұрын

    ty ty ty, my teacher didnt explain shit throughout the course

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

    Wow...

  • @danielc4267
    @danielc42675 жыл бұрын

    If you don't understand why True Positive + False Negative = 100%, check out this wikipedia picture: en.wikipedia.org/wiki/Sensitivity_and_specificity#/media/File:Sensitivity_and_specificity.svg