Original practice · fully worked
Original variant: compare two gamma completion times
Two independent processing times X and Y have gamma distributions with a common scale of 4. Their shape parameters are 2 and 3, respectively. Calculate the probability that X exceeds Y.
- A
0.1250 - B
0.1875 - C
0.3125 - D
0.4000 - E
0.6875
Answer and calculation
For independent gamma variables with a common scale, U=X/(X+Y) is Beta(2,3). Thus P(X>Y)=P(U>1/2)=5/16=0.3125, choice C.
Setup
Setup
Transform the two common-scale gamma variables to their share of the total.
U=X+YX∼Beta(2,3) Model
Model
The event X greater than Y is equivalent to the share U exceeding one half.
fU(u)=12u(1−u)2,0<u<1 {X>Y}={U>21} Compute
Compute
Integrate the beta density over the upper half of its support.
Pr(X>Y)=∫1/2112u(1−u)2du =1−[6(21)2−8(21)3+3(21)4]=165=0.3125 Answer
Answer
The probability that X finishes later is 0.3125.
0.3125(C)