In: Statistics and Probability
A certain market has both an express checkout line and a superexpress checkout line. Let X1 denote the number of customers in line at the express checkout at a particular time of day, and let X2 denote the number of customers in line at the superexpress checkout at the same time. Suppose the joint pmf of X1 and X2 is as given in the accompanying table.
x2 | |||||
0 | 1 | 2 | 3 | ||
x1 | 0 | 0.09 | 0.07 | 0.04 | 0.00 |
1 | 0.05 | 0.15 | 0.04 | 0.04 | |
2 | 0.05 | 0.03 | 0.10 | 0.06 | |
3 | 0.01 | 0.03 | 0.04 | 0.07 | |
4 | 0.00 | 0.02 | 0.05 | 0.06 |
(a) What is P(X1 = 1,
X2 = 1), that is, the probability that there is
exactly one customer in each line?
P(X1 = 1, X2 = 1)
=
(b) What is P(X1 =
X2), that is, the probability that the numbers
of customers in the two lines are identical?
P(X1 = X2) =
(c) Let A denote the event that there are at least two
more customers in one line than in the other line. Express
A in terms of X1 and
X2.
A = {X1 ≤ 2 + X2 ∪ X2 ≤ 2 + X1}
A = {X1 ≥ 2 + X2 ∪ X2 ≥ 2 + X1}
A = {X1 ≥ 2 + X2 ∪ X2 ≤ 2 + X1}
A = {X1 ≤ 2 + X2 ∪ X2 ≥ 2 + X1}
Calculate the probability of this event.
P(A) =
(d) What is the probability that the total number of customers in
the two lines is exactly four? At least four?
P(exactly four) | = |
P(at least four) | = |
(a)
From the joint distribution table,
P(X1 = 1, X2 = 1) = 0.15
(b)
P(X1 = X2) = P(X1 = 0, X2 = 0) + P(X1 = 1, X2 = 1) + P(X1 = 2, X2 = 2) + P(X1 = 3, X2 = 3)
= 0.09 + 0.15 + 0.10 + 0.07
= 0.41
(c)
A = {X1 ≥ 2 + X2 ∪ X2 ≥ 2 + X1}
P(A) = P(X1 = 0, X2 = 2) + P(X1 = 0, X2 = 3) + P(X1 = 1, X2 = 3) +
P(X1 = 2, X2 = 0) + P(X1 = 3, X2 = 0) + P(X1 = 4, X2 = 0) +
P(X1 = 3, X2 = 1) + P(X1 = 4, X2 = 1) + P(X1 = 4, X2 = 2)
= 0.04 + 0.00 + 0.04 + 0.05 + 0.01 + 0.00 + 0.03 + 0.02 + 0.05
= 0.24
(d)
P(exactly four) = P(X1 = 1, X2 = 3) + P(X1 = 2, X2 = 2) + P(X1 = 3, X2 = 1) + P(X1 = 4, X2 = 0)
= 0.04 + 0.10 + 0.03 + 0.00
= 0.17
P(at least four) = P(X1 = 1, X2 = 3) + P(X1 = 2, X2 = 2) + P(X1 = 2, X2 = 3) + P(X1 = 3, X2 = 1) + P(X1 = 3, X2 = 2) + P(X1 = 3, X2 = 3) + P(X1 = 4, X2 = 0) + P(X1 = 4, X2 = 1) + P(X1 = 4, X2 = 2) + P(X1 = 4, X2 = 3)
= 0.04 + 0.10 + 0.06 + 0.03 + 0.04 + 0.07 + 0.00 + 0.02 + 0.05 + 0.06
= 0.47