[see Equation (2.26)], for three events A, B, and C, we have, in the case of three
random variables X, Y, and Z,
Hence, for the general case of n random variables, X 1 ,X 2 ,...,Xn,or X,wecan
write
In the event that these random variables are mutually independent, Equations
(3.49) become
Example 3.9.To show that joint mass functions are sometimes more easily
found by finding first the conditional mass functions, let us consider a traffic
problem as described below.
Problem: a group of n cars enters an intersection from the south. Through
prior observations, it is estimated that each car has the probability p of turning
east, probability q of turning west, and probability r of going straight on
(p q r 1). Assume that drivers behave independently and let X be the
number of cars turning east and Y the number turning west. Determine the
jpmf pX Y (x, y).
Answer: since
we proceed by de te rmining pX Y (xy) and pY (y). The marginal mass function
pY (y) is found in a way very similar to that in the random walk situation
described in Example 3.5. Each car has two alternatives: turning west, and
not turning west. By enumeration, we can show that it has a binomial distribu-
tion (to be more fully justified in Chapter 6)
64 Fundamentals of Probability and Statistics for Engineers
pXYZ
x;y;zpXYZ
xjy;zpYZ
yjzpZ
z
fXYZ
x;y;zfXYZ
xjy;zfYZ
yjzfZ
z
9
=
;
3 : 48
pX
xpX 1 X 2 ...Xn
x 1 jx 2 ;...;xnpX 2 ...Xn
x 2 jx 3 ;...;xn...pXn 1 Xn
xn 1 jxnpXn
xn;
fX
xfX 1 X 2 ...Xn
x 1 jx 2 ;...;xnfX 2 ...Xn
x 2 jx 3 ;...;xn...fXn 1 Xn
xn 1 jxnfXn
xn:
9
=
;
3 : 49
pX
xpX 1
x 1 pX 2
x 2 ...pXn
xn;
fX
xfX 1
x 1 fX 2
x 2 ...fXn
xn:
)
3 : 50
pXY
x;ypXY
xjypY
y;
j
pY
y
n
y
qy
1 qny; y 1 ; 2 ;...:
3 : 51