Independent solution

How to solve this Bayes' Theorem question

Setup

Setup

Let A and B identify the two product types, and let F be failure before year three.

Pr(A)=0.10,Pr(B)=0.90\Pr(A)=0.10,\qquad \Pr(B)=0.90
F={T<3}F=\{T<3\}

Model

Model

Use each exponential survival function to calculate the likelihood of the observed early failure.

Pr(FA)=1e3/2=0.7768698399\Pr(F\mid A)=1-e^{-3/2}=0.7768698399\ldots
Pr(FB)=1e3/4=0.5276334473\Pr(F\mid B)=1-e^{-3/4}=0.5276334473\ldots

Compute

Compute

Weight the two likelihoods by their prior probabilities and normalize.

Pr(AF)=0.10(1e3/2)0.10(1e3/2)+0.90(1e3/4)\Pr(A\mid F)=\frac{0.10(1-e^{-3/2})}{0.10(1-e^{-3/2})+0.90(1-e^{-3/4})}
Pr(AF)=0.1405953989\Pr(A\mid F)=0.1405953989\ldots

Answer

Answer

The posterior probability rounds to 0.14.

0.14(B)\boxed{0.14\quad\text{(B)}}