Professional Documents
Culture Documents
Joint and Marginal PMF
Joint and Marginal PMF
Joint and Marginal PMF
PXY(x,y)=P(X=x,Y=y).PXY(x,y)=P(X=x,Y=y).
RXY={(x,y)|PXY(x,y)>0}.RXY={(x,y)|PXY(x,y)>0}.
RXY⊂RX×RY={(xi,yj)|xi∈RX,yj∈RY}.RXY⊂RX×RY={(xi,yj)|xi∈RX,yj∈RY}.
∑(xi,yj)∈RXYPXY(xi,yj)=1∑(xi,yj)∈RXYPXY(xi,yj)=1
PXY(x,y)=P(X=x,Y=y)=P((X=x)∩(Y=y)).PXY(x,y)=P(X=x,Y=y)=P((X=x)∩(Y=y
)).
Marginal PMFs
The joint PMF contains all the information regarding the
distributions of XX and YY. This means that, for example, we can
obtain PMF of XX from its joint PMF with YY. Indeed, we can write
PX(x)=P(X=x)=∑yj∈RYP(X=x,Y=yj)=∑yj∈RYPXY(x,yj).law of total
probablityPX(x)=P(X=x)=∑yj∈RYP(X=x,Y=yj)law of total
probablity=∑yj∈RYPXY(x,yj).
PY(Y)=∑xi∈RXPXY(xi,y).PY(Y)=∑xi∈RXPXY(xi,y).
Example
Consider two random variables XX and YY with joint PMF given in
Table 5.1.
Table 5.1 Joint PMF of XX and YY in Example 5.1
a. Find P(X=0,Y≤1)P(X=0,Y≤1).
b. Find the marginal PMFs of XX and YY.
c. Find P(Y=1|X=0)P(Y=1|X=0).
d. Are XX and YY independent?
Solution
o
a. To find P(X=0,Y≤1)P(X=0,Y≤1), we can write
P(X=0,Y≤1)=PXY(0,0)+PXY(0,1)=16+14=512.P(X=0,Y≤1)=PX
Y(0,0)+PXY(0,1)=16+14=512.
PX(0)=PXY(0,0)+PXY(0,1)+PXY(0,2)=16+14+18=1324.PX(0)=P
XY(0,0)+PXY(0,1)+PXY(0,2)=16+14+18=1324.
We obtain
PX(x)=⎧⎩⎨⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪132411240x=0x=1otherwisePX
(x)={1324x=01124x=10otherwise
PY(y)=⎧⎩⎨⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪7245127240y
=0y=1y=2otherwisePY(y)={724y=0512y=1724y=20oth
erwise
P(Y=1|X=0)=P(X=0,Y=1)P(X=0)=PXY(0,1)PX(0)=141324=613.P(
Y=1|X=0)=P(X=0,Y=1)P(X=0)=PXY(0,1)PX(0)=1413
24=613.