Notes by Sara
Lesson 13

Ten bonds, how many defaults?

Example, with made-up numbers. A fund holds 10 bonds from unrelated companies. Each has a 10% chance of defaulting this year. What is the chance that exactly 2 default? That none do? That 3 or more do?

The idea

The number of defaults is a random variable: a number whose value depends on chance. The list of every possible value and its probability is its probability distribution.

DiscreteTakes separate values you can count: 0, 1, 2 defaults. Each value has its own probability.
ContinuousCan take any value in a range, like tomorrow's return of 0.83%. You talk about the chance of a range instead.

Counting defaults is a classic binomial situation: a fixed number of tries (10 bonds), each with the same chance of "success" (10%), each independent of the others. Here's the whole distribution:

One default is the most likely count. Three or more happen about 7% of the time.

P(exactly k) = (ways to choose k of n) × pk × (1 − p)n − k

pk is the chance that k particular bonds default, and (1 − p)n − k that the rest don't. The number of ways to pick which k bonds, written C(n, k), counts all the arrangements. In a spreadsheet: =COMBIN(10,2) gives 45, and =BINOM.DIST(2,10,0.1,FALSE) gives the whole answer.

Quick check

Which of these is a discrete random variable?

Worked example: exactly 2 defaults

1. Ways to choose which 2 of 10 defaultC(10, 2) = 45
2. Those 2 default0.12 = 0.01
3. The other 8 don't0.98 = 0.4305
4. Multiply45 × 0.01 × 0.4305
Chance of exactly 2 defaults19.4%

None default: 0.910 = 34.9%. Three or more: 1 − (34.9% + 38.7% + 19.4%) = 7.0%. The expected number is n × p = 10 × 0.1 = 1 default, and the standard deviation is √(n × p × (1 − p)) = 0.95. One warning: if defaults move together, as in a recession, the chance of many at once is far higher than this.

Try it yourself
Choose the tries, the chance and the count.
Exactly k
k or more
Expected count · standard deviation
Common mistakes
Three slips beginners make.
  • Forgetting the number of ways. 0.12 × 0.98 is the chance for two particular bonds. Multiply by 45 for any two.
  • Using it when tries aren't independent. Loans in one town or one industry tend to default together.
  • Mixing "exactly" and "at least". "3 or more" means adding up 3, 4, 5, … or, more easily, 1 minus the chance of 0, 1 or 2.

Remember

  • A random variable is a number set by chance. Its distribution gives the probability of each value.
  • Binomial: n independent tries, same chance p, count the successes.
  • P(exactly k) = C(n, k) × pk × (1 − p)n − k. Expected count = n × p.

Check yourself

Three questions. Try them without scrolling up.

1. In how many ways can you choose 2 loans out of 5?

2. A share has a 50% chance of rising each day, independently. What's the chance it rises on exactly 2 of the next 4 days?

3. A lender has 20 independent loans, each with a 5% chance of default. How many defaults should it expect?

Score: 0 of 3