Exercise · Volume 1 · 1.2.10-16
Exercise 1.2.10-16
not stated yet in Lean solution written
| Rating | M25 |
|---|---|
| Markers | M (mathematical) |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.10 of Volume 1. Companion chapter: Analysis of an algorithm |
The task
Find the generating function, the mean and the variance of a mixture of the distributions taken with the probabilities .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Condition on which distribution is used.
Hint 2
For the variance, write with the formula (13) for each .
Solution
Show the solution
The probability that is , so . Let and . Then , so .
By (13), . Then and
Since , (expand the right side and use ). So
Check
Take (the value ) and (the value ) with . Then , with mean and variance . The formula gives .
Remarks
The first term is the mean within the groups and the second is the spread between the groups. This is the law of total variance.
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.