Lesson 33 of 36 · Quantitative reasoning
Conditional probability, Bayes and expected value
Read conditional probabilities from tables, solve Bayes problems with 1,000 imagined cases, and compute expected values and binomial chances.
About 25 minutes
In this lesson
- Compute a conditional probability from a table or a tree, and test two events for independence.
- Solve a Bayes problem, false positives included, by imagining 1,000 cases.
- Compute an expected value, net of any cost, and use the binomial formula with its mean and variance.
The idea
Given means a smaller world
, read "the probability of A given B", is the chance of A once you know that B has happened. Knowing B rules out every outcome outside B, so B becomes the new whole:
With counts, it is the number of cases with both A and B divided by the number of cases with B. Take 200 surveyed graduates:
| Works in finance | Works elsewhere | Total | |
|---|---|---|---|
| Studied economics | 48 | 72 | 120 |
| Studied another subject | 16 | 64 | 80 |
| Total | 64 | 136 | 200 |
, because the economics row is the new whole. , because now the finance column is. Same numerator, different questions, different answers. Before dividing, name the group the question puts you in; its total goes underneath.
Rearranging the definition gives the multiplication rule, , which is what you apply along each branch of a probability tree. The draws without replacement in counting and probability used exactly this rule.
Independence
A and B are independent when knowing one leaves the chance of the other unchanged: . The easiest test to apply is
In the table, , but , so subject and job are not independent. Equivalently, : economics graduates are more likely than the group as a whole to work in finance.
Independent does not mean mutually exclusive. Two events that cannot happen together have , so if each has a positive chance they fail the test: learning that one happened tells you the other did not.
Bayes: imagine 1,000 cases
Bayes questions give the chance of the evidence given the cause and ask for the reverse. By hand, the safest route is to turn the percentages into counts for an imagined group of 1,000. Suppose 10% of borrowers default, and a credit model flags 90% of the borrowers who default and 10% of those who do not:
| Flagged | Not flagged | Total | |
|---|---|---|---|
| Default | 90 | 10 | 100 |
| No default | 90 | 810 | 900 |
| Total | 180 | 820 | 1,000 |
A flagged borrower is one of 180, and 90 of them default: . The model catches 90% of defaulters yet is right only half the time when it flags someone, because its 10% false-positive rate applies to a group nine times as large. When the cause is rare, false positives can match or outnumber true ones.
Bayes' theorem says the same in symbols, with for default and for flagged:
The denominator is the flagged column of the table. If a percentage of 1,000 is not a whole number, imagine 10,000 instead.
Expected value
A payoff that takes the values with probabilities has expected value
a weighted average with the probabilities as weights. It is the average result per play over many repetitions, not necessarily a result that can occur: one roll of a fair die has expected value 3.5. Check first that the probabilities add to 1. A cost paid in every case comes off once at the end: with a €10 ticket and an expected prize of €7, the expected net result is a loss of €3 per ticket. Expected values also add and scale: and .
A 2024 sample test on Bocconi's website, not linked from the current test page, included items on expected values. Bocconi publishes no topic list for quantitative reasoning, so treat this as a useful tool rather than a promised topic. The lesson on scoring, pacing and guessing applies expected value to guessing under negative marking.
The binomial distribution
Repeat the same trial times, independently, with success probability each time. The number of successes then follows the binomial distribution:
Any one order with successes and failures has probability , and counts the orders, that is, which of the trials succeed. Exactly 3 heads in 5 tosses of a fair coin: .
The mean and variance are
and the standard deviation is . For 100 tosses of a fair coin, the mean is 50, the variance 25 and the standard deviation 5.
The formula needs a fixed number of trials, two outcomes per trial, the same every time, and independence. Drawing from a small bag without replacement is not binomial, because each draw's chances depend on what came out before.
Worked examples
Example 1: A test for a rare fault
Of the chips a factory makes, 2% are faulty. A quality test flags 95% of faulty chips and 5% of good chips. A chip is flagged. What is the probability that it is faulty?
Imagine 1,000 chips: 20 faulty and 980 good.
Faulty and flagged: 95% of 20 is 19. Good but flagged: 5% of 980 is 49.
Given a flag, the chip is one of the flagged chips, and 19 of those are faulty: .
Estimate: , so is a little more, about 0.28. Check by the formula: .
Answer
, about 28%. The tempting 95% is the chance of a flag given a fault, the reverse conditional. Most flagged chips are good, because good chips are 49 times as common as faulty ones.
Example 2: Expected value net of cost
Developing a product costs €2 million. The firm estimates a 30% chance that the product earns €10 million, a 50% chance that it earns €2 million and a 20% chance that it earns nothing. What is the expected net value of developing it?
Check the probabilities: .
Expected earnings: million euros.
The €2 million is paid in every case, so subtract it once: million euros.
Check with the net outcomes, which are , and million: million.
Answer
An expected net value of €2 million. Forgetting the cost gives €4 million. €2 million is not one of the possible net results (+€8 million, €0 or −€2 million); it is the long-run average.
Example 3: Four independent start-ups
A fund backs 4 start-ups. Each succeeds with probability , independently of the others. Find the probability that exactly one succeeds, the probability that at least one succeeds, and the mean and standard deviation of the number of successes.
This is binomial with and . Exactly one: , about 0.41.
At least one is the complement of none: , about 0.59.
Mean: . Variance: , so the standard deviation is .
Check: the probabilities of 0, 1, 2, 3 and 4 successes are , , , and , which add to 1.
Answer
Exactly one: . At least one: . Mean 0.8, standard deviation 0.8. Leaving out gives , the chance that one particular start-up is the only success.
Common traps
Reversing the condition
"90% of defaulters are flagged" is , not . The two share a numerator but divide by different groups. Name the group the question says you are in; its total goes underneath.
Forgetting the false positives
A small false-positive rate applied to a large group produces many false alarms. In a Bayes question, count both routes to the evidence, true and false, before dividing. A table of 1,000 cases makes both routes visible.
Dividing by everyone
Dividing the flagged defaulters by all 1,000 borrowers gives , a joint probability. "Given flagged" means dividing by the flagged total only.
Charging the cost only when you win
An entry fee or an upfront cost is paid in every outcome, including the ones that pay nothing. Subtract it from the expected payoff once, or from every outcome before weighting; never from the winning outcomes alone.
Leaving out the binomial coefficient
is the probability of one particular order of successes and failures. Multiply by , the number of orders, unless the question fixes which trials succeed.
Check yourself
Answer each question before you open its answer.
Question 1: A flagged firm
Quantitative reasoning: conditional probability
In a region, 5% of firms underreport their taxes. A screening system flags 80% of the firms that underreport and 10% of the firms that do not. A firm is flagged. What is the probability that it underreports?
- A.
- B.
- C.
- D.
Show the answer
Answer: B.
Working
Imagine 1,000 firms: 50 underreport and 950 do not. Flagged: 80% of 50 is 40, and 10% of 950 is 95, so 135 firms are flagged. Then , about 0.30. Check by the formula: .
Why the other options are wrong
- A. This is 40 out of all 1,000 firms, the chance that a firm both underreports and is flagged; given the flag, divide by the 135 flagged firms only.
- C. Divides the 40 true flags by the 95 false flags; the denominator must be all 135 flagged firms.
- D. This is the chance of a flag given underreporting, the reverse conditional; it ignores the 95 firms that are flagged although they report correctly.
What carries over
Imagine 1,000 cases and divide within the group you are told about: here, the flagged firms.
Question 2: A game with an entry fee
Quantitative reasoning: expected value
A game costs €5 to play. A fair six-sided die is rolled once: a 6 pays €12, a 4 or a 5 pays €6, and any other result pays nothing. What is the expected net result of one play?
- A.A loss of €1
- B.A gain of €1
- C.A gain of €1.50
- D.A gain of €4
Show the answer
Answer: A. A loss of €1
Working
Expected prize: euros. Net of the €5 cost: , a loss of €1 per play. Check with net outcomes of , and : .
Why the other options are wrong
- B. Averages the three payoffs, , as if each were equally likely, then takes off the €5; a 4 or a 5 has probability and nothing has .
- C. Subtracts the €5 from the winning outcomes only, ; a player who wins nothing has still paid €5.
- D. This is the expected prize before the €5 cost is taken off.
What carries over
Weight each payoff by its probability, then subtract a cost that is paid in every case.
Question 3: Defective parts
Quantitative reasoning: binomial probability
Each part a machine makes is defective with probability 0.1, independently of the others. In a batch of 5 parts, what is the probability that exactly 2 are defective?
- A.0.00729
- B.0.0081
- C.0.0729
- D.0.1
Show the answer
Answer: C. 0.0729
Working
Binomial with , , : . By hand, and .
Why the other options are wrong
- A. Leaves out : is the probability of one particular order, such as the first two parts being the defective ones.
- B. Swaps the exponents, , which is the probability of exactly 3 defective parts.
- D. Computes and drops ; the other three parts must also be good.
What carries over
Multiply one order's probability, , by the number of orders, .
Key points
: the group you are told about supplies the denominator.
A and B are independent exactly when .
For Bayes, imagine 1,000 cases, split them by cause and then by evidence, and divide within the evidence group.
Expected value is a probability-weighted average; subtract a cost that is paid in every case.
Binomial: , with mean and variance .
All questions here are original and written for UniExamer; none comes from the test maker.
Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.