# Sum Rule & Bayesâ€™ Theorem

- The unconditional probability of event B is equal to the sum of joint probabilities of event (A,B) and the probability of event (Aâ€™,B). Here Aâ€™ is the probability of not happening of A
- The joint probability of events A and B is the product of conditional probability of B, given A has occurred and the unconditional probability of event A

- We know that P(AB) = P(B/A) * P(A)
- Also P(BA)= P(A/B) * P(B)
- Now equating both P(AB) and P(BA) we get:

- The joint probability of events A and B is the product of conditional probability of B, given A has occurred and the unconditional probability of event A

P(B) can be further broken down using sum rule defined above:

Out of a group of 100 patients being treated for chronic back trouble, 25% are chosen at random to receive a new, experimental treatment as opposed to the more usual muscle relaxant-based therapy which the remaining patients receive. Preliminary studies suggest that the probability of a cure with the standard treatment is 0.3, while the probability of a cure from the new treatment

is 0.6.

1. How many patients (on an average) out of the 100 patients selected at random would be cured?

- 30
- 40
- 37.5
- 42.5

2. Some time later, one of the patients returns to thank the staff for her complete recovery.

What is the probability that she was given the new treatment?

- 0.375
- 0.425
- 0.4
- 0.425

**1. C.**

25% are given new treatment =>75% are given old treatment.

P(Cure) = P(Cure/New) * P(New) + P(Cure/Old) * P(Old) = 0.375

So out of 100 patients 37.5 will get cured

**2. C.**

Apply Bayesâ€™ Theorem

P (New / Cure) = P (Cure / New) * P (New) / P (Cure) = 0.6 * 0.25 / 0.375 = 0.40

Calculate the probability of a subsidiary and parent company both defaulting over the next year. Assume that the subsidiary will default if the parent defaults, but the parent will not necessarily default if the subsidiary defaults. Assume that the parent had a 1 year PD = 0.5% and the subsidiary has 1 year PD of 0.9%.

- 0.45%
- 0.5%
- 0.545%
- 0.55%

**B.**

P (S| P) = 1 = P(P & S)/P(P)

P (P & S) = P(P) = 0.5%