Statistics How To

How to Use a Probability Tree or Decision Tree

Main Index>>Probability > How to Use a Probability Tree

 
Watch the video or Read the steps below to find out how to use a probability tree:

How to Use a Probability Tree or Decision Tree: Overview

Sometimes, you’ll be faced with a probability question that just doesn’t have a simple solution. Drawing a probability tree (or a tree diagram) is a way for you to visually see all of the possible choices, and to avoid making mathematical errors. This how to will show you the step-by-step process of using a decision tree.

How to Use a Probability Tree: Steps

Sample question: “An airplane manufacturer has three factories A B and C which produce 50%, 25%, and 25%, respectively, of a particular airplane. Seventy percent of the airplanes produced in factory A are passenger airplanes, 25% of those produced in factory B are passenger airplanes, and 25% of the airplanes produced in factory C are passenger airplanes. If an airplane produced by the manufacturer is selected at random, calculate the probability the airplane will be a passenger plane.”

Step 1:Draw lines to represent the first set of options in the question (in our case, 3 factories). Label them (our question list A B and C so that is what we’ll use here).

Step 2: Convert the percentages to decimals, and place those on the appropriate branch in the diagram. For our example, 50% = 0.5, and 25% = 0.25.
how to use a probability tree

Step 3: Draw the next set of branches. In our case, we were told that 70% of factory A’s output was passenger. Converting to decimals, we have 0.7 P (“P” is just my own shorthand here for “Passenger”) and 0.3 NP (“NP” = “Not Passenger”).
Making a probability tree branch
Step 4:Repeat step 3 for as many branches as you are given.

prob tree 3
Step 5: Multiply the probabilities of the first branch that produces the desired result together. In our case, we want to know about the production of passenger places, so we choose the first branch that leads to P.
probability tree 4

Step 6: Multiply the remaining branches that produce the desired result. In our example there are two more branches that can lead to P.
probability tree 5
Step 6: Add up all of the probabilities you calculated in steps 5 and 6. In our example, we had:

.35 + .0625 + .0625 = .475

That’s it!

Feel like cheating at statistics?

15 thoughts on “How to Use a Probability Tree or Decision Tree

  1. Angie Widdows

    I thought that this problem explanation was very helpful. When doing homework problems related to this, the explanation was not helpful. This explanation walked you thru step by step.

  2. Donna Allen

    I agree that this is helpful looking at it explained in detail. I didn’t see anything like this in the book. The first time I saw the probability tree mentioned was in doing the homework assignment in mathzone.

  3. Joey Adams

    I certainly found the decision tree approach useful for this particular problem. However, based on my brief experience doing homework, two things you may want to watch out for:

    1. If a decision (e.g. pulling a 5 out of a deck of cards) changes the state of the problem, make sure the denominators of your fractions are correct. For instance, if there’s 4/52 kings in a deck, pulling one leaves 3/51 kings in the deck, not 3/52.

    2. Decision trees can grow exponentially large, so be on the lookout for patterns when you use them. If you’re taking a test and you forget some rules of combinatorics, making a simpler instance of your test question (e.g. draw 2 cards instead of 5) may help you find patterns more quickly. Really, though, nPr, nCr, and the counting principles are really great to hang on to.

    I actually had prior exposure to decision trees participating in Google Code Jam (see http://code.google.com/codejam/contest/dashboard?c=186264# if you’re interested). The great thing about learning probability as a computer science student is that both fields share a lot of concepts :)

  4. Stephanie

    Joey,
    Thanks for your insights into solving probabilities. I’m sure that as you have experience programming you are going to find stats a breeze!
    Stephanie

  5. Karin Martindale

    I used the probability tree in Mathzone on the problem regarding the car companies producing the different colored cars. The book did not touch on the tree concept at all. This is an easy way to understand the problem as well as check for mistakes.

  6. crystal lydick

    The probability tree really helped me with these probability problems when I was working in mathzone. It explained exactly how to work those type of problems. Made it so much easier for me to have a diagram to follow.

  7. Maimi

    so helpful thanx a bunch TT _ TT <——this was suppose 2 be a crying face but thanx anyway ^,^

  8. Morne Jooste

    Hi,

    There is a typing mistake. 0.35 + 0.625 + 0.625 is not equal to 0.475 but rather 1.6 so it should be 0.35 + 0.0625 + 0.0625.

    Just thought i would correct it.