How to use probability trees to evaluate conditional probability

academics economics statistics & probability
By Rae

 

If you’re majoring in economics, you will likely also need to take a statistics course.  One of the trickiest concepts is dealing with conditional probabilities.  In most classes, they teach you a fairly complicated equation known as Bayes’ Theorem.

Screen Shot 2017-05-03 at 5.21.54 PM.png

While this isn’t a hard formula to plug values into, it doesn’t give an intuitive understanding of what the conditional probability P(A|B) actually is.  Also, think about being a few years out of school – what are the chances you’ll remember Bayes’ Theorem and properly calculate a conditional probability?

One of my professors taught a more visual method to evaluate conditional probabilities, known as probability trees.  When you’re confronted with a question about the probability of one event dependent on another event, just remember to draw a tree!

Here’s an example problem that shows how to apply this method. Suppose someone is getting tested for Tuberculosis (TB). TB is relatively rare these days, so let’s say only 1% of the population has the disease.  Also, the test for the disease is 99% accurate. This means that if you have TB, there is a 99% probability you will have a positive test, and if you do not have TB then there is a 99% probability you will have a negative test.  How likely is a patient to have TB if he gets a positive test result? To solve this problem, put the given information into a probability tree. 
Screen Shot 2017-05-03 at 5.22.54 PM.png

The information about the test accuracy is a conditional probability.  If you have TB, there is a 99% probability that you will have a positive test result; if you do not have TB, there is a 1% chance you will have a positive test result.  The sum of probabilities on each set of branches from a node should be one. If the probability someone has TB is 1%, we know the probability someone does not have TB is 99%.

Now, we have to calculate the intersection probabilities.  These are the probabilities that a patient has TB and has a given test result or that a patient does not have TB and has a given test result.  To calculate the intersection probabilities, which are shown at the terminus of each branch, multiply all of the probabilities along a specific branch.  The calculations are shown in the tree diagram. 

Notice that we have the probability of a positive test result given disease status, but we actually want to know the probability of having TB given a positive test result.  To answer how likely a patient is to have TB given a positive test result, we need to “flip” the tree.  To flip the tree, redraw the tree and place the events in the correct order along the branches. The intersection probabilities will be the same, so the probabilities at the end of the branches will still be the same for each pairing of events. The unconditional probability of a positive test result is the sum of the probability a patient has TB and has a positive test result and the probability that a patient does not have TB and has a negative test result. Similarly, the unconditional probability of a negative test result is the sum of the probability a patient has TB and has a negative test result and the probability a patient does not have TB and has a negative test result.

Screen Shot 2017-05-03 at 5.25.35 PM.png

The final probability to calculate is the conditional probabilities, which are along the second set of branches.  Recall that to get the intersection probabilities, we multiplied along the unconditional probability and the conditional probability along each branch.  Therefore, we divide the intersection probability by the unconditional probability to get the probability a patient has a disease conditional on the test result.  Finally, we see that P(Patient has TB | positive test result) is 50%. 

Bayes’ Theorem would give us the same answer as the probability tree flip.Feel free to use whichever method you find more intuitive.  Often professors present only one of these methods, and it can be helpful to see the solution to a problem with a different technique.

Screen Shot 2017-05-03 at 5.26.26 PM.png

Comments

topicTopics
academics study skills MCAT medical school admissions SAT expository writing college admissions English MD/PhD admissions strategy writing LSAT GMAT GRE physics chemistry math biology graduate admissions academic advice ACT interview prep law school admissions test anxiety language learning premed MBA admissions career advice personal statements homework help AP exams creative writing MD study schedules test prep computer science Common Application summer activities history mathematics philosophy organic chemistry secondary applications economics supplements research 1L PSAT admissions coaching grammar law psychology statistics & probability legal studies ESL CARS SSAT covid-19 dental admissions logic games reading comprehension engineering USMLE calculus PhD admissions Spanish mentorship parents Latin biochemistry case coaching verbal reasoning DAT English literature STEM excel medical school political science skills AMCAS French Linguistics MBA coursework Tutoring Approaches academic integrity chinese letters of recommendation Anki DO Social Advocacy admissions advice algebra art history artificial intelligence astrophysics business cell biology classics diversity statement gap year genetics geometry kinematics linear algebra mechanical engineering mental health presentations quantitative reasoning study abroad technical interviews time management work and activities 2L DMD IB exams ISEE MD/PhD programs Sentence Correction adjusting to college algorithms amino acids analysis essay athletics business skills careers cold emails data science dental school finance first generation student functions graphing information sessions international students internships logic networking poetry resume revising science social sciences software engineering tech industry trigonometry writer's block 3L AAMC Academic Interest EMT FlexMed Fourier Series Greek Health Professional Shortage Area Italian Lagrange multipliers London MD vs PhD MMI Montessori National Health Service Corps Pythagorean Theorem Python Shakespeare Step 2 TMDSAS Taylor Series Truss Analysis Zoom acids and bases active learning architecture argumentative writing art art and design schools art portfolios bacteriology bibliographies biomedicine brain teaser campus visits cantonese capacitors capital markets central limit theorem centrifugal force chemical engineering chess chromatography class participation climate change clinical experience community service constitutional law consulting cover letters curriculum dementia demonstrated interest dimensional analysis distance learning econometrics electric engineering electricity and magnetism escape velocity evolution executive function freewriting genomics harmonics health policy history of medicine history of science hybrid vehicles hydrophobic effect ideal gas law immunology induction infinite institutional actions integrated reasoning intermolecular forces intern investing investment banking lab reports linear maps mandarin chinese matrices mba medical physics meiosis microeconomics mitosis mnemonics music music theory nervous system neurology neuroscience object-oriented programming office hours operating systems

Related Content