Original practice · fully worked
Original variant: device type after a second-hour failure
A device is type A with probability 0.37 and type B with probability 0.63. Conditional on type, its lifetime is exponential. The respective probabilities of surviving one hour are 0.50 and 0.80. A device is observed to fail after hour one but no later than hour two. Calculate the conditional probability that it is type A.
- A
0.1600 - B
0.2500 - C
0.3700 - D
0.4785 - E
0.5215
Answer and calculation
Exponential survival implies S(2)=S(1)², so the second-hour failure likelihoods are 0.50-0.25=0.25 for A and 0.80-0.64=0.16 for B. The prior-weighted masses are 0.0925 and 0.1008, giving posterior probability 0.478531 and choice D.
Setup
Setup
Let F be the event that failure occurs during the second hour. Exponential survival over two hours is the square of one-hour survival.
SA(2)=0.502=0.25,SB(2)=0.802=0.64 Model
Model
Subtract two-hour survival from one-hour survival to obtain each interval likelihood.
Pr(F∣A)=0.50−0.25=0.25 Pr(F∣B)=0.80−0.64=0.16 Compute
Compute
Apply Bayes' theorem to the two prior-weighted interval probabilities.
Pr(A∣F)=0.37(0.25)+0.63(0.16)0.37(0.25) =0.19330.0925=1933925=0.4785307812 Answer
Answer
The posterior probability of type A rounds to 0.4785.
0.4785(D)