3.88
Question
In Example 5e, what is the conditional probability that the ith coin was selected given that the first n trials all result in heads?
Step-by-Step Solution
Verified Answer
1Step 1: Set up the problem using Bayes' theorem
In Example 5e, there are coins with probability \(i/k\) of heads for \(i = 0, 1, 2, \ldots, k\). A coin is randomly selected (each with probability \(1/(k+1)\)) and flipped \(n\) times, all resulting in heads. We want \(P(\text{coin } i \mid n \text{ heads})\).
2Step 2: Apply Bayes' theorem
By Bayes' theorem:
\(P(\text{coin } i \mid n \text{ heads}) = \frac{P(n \text{ heads} \mid \text{coin } i) \cdot P(\text{coin } i)}{\sum_{j=0}^{k} P(n \text{ heads} \mid \text{coin } j) \cdot P(\text{coin } j)}\)
Since each coin is equally likely: \(P(\text{coin } i) = \frac{1}{k+1}\).
\(P(n \text{ heads} \mid \text{coin } i) = \left(\frac{i}{k}\right)^n\).
\(P(\text{coin } i \mid n \text{ heads}) = \frac{P(n \text{ heads} \mid \text{coin } i) \cdot P(\text{coin } i)}{\sum_{j=0}^{k} P(n \text{ heads} \mid \text{coin } j) \cdot P(\text{coin } j)}\)
Since each coin is equally likely: \(P(\text{coin } i) = \frac{1}{k+1}\).
\(P(n \text{ heads} \mid \text{coin } i) = \left(\frac{i}{k}\right)^n\).
3Step 3: Simplify
\(P(\text{coin } i \mid n \text{ heads}) = \frac{(i/k)^n}{\sum_{j=0}^{k}(j/k)^n} = \frac{i^n}{\sum_{j=0}^{k} j^n}\)
4Step 4: Final answer
The conditional probability that the \(i\)-th coin was selected given that all \(n\) trials resulted in heads is:
\(P(\text{coin } i \mid n \text{ heads}) = \frac{i^n}{\sum_{j=0}^{k} j^n} = \frac{i^n}{0^n + 1^n + 2^n + \cdots + k^n}\)
\(P(\text{coin } i \mid n \text{ heads}) = \frac{i^n}{\sum_{j=0}^{k} j^n} = \frac{i^n}{0^n + 1^n + 2^n + \cdots + k^n}\)
Other exercises in this chapter
Q.3.81
An investor owns shares in a stock whose present value is 25.She has decided that she must sell her stock if it goes either down to 10 or up to 40. If each chan
View solution Q. 3.87
Consider Example 2a, but now suppose that when the key is in a certain pocket, there is a 10 percent chance that a search of that pocket will not find the key.
View solution Q.3.88
In Example 5e, what is the conditional probability that the ith coin was selected given that the first n trials all result in heads?
View solution Q.3.89
In Laplace’s rule of succession (Example 5e), are the outcomes of the successive flips independent? Explain.
View solution