Академический Документы
Профессиональный Документы
Культура Документы
Joint Distributions
Discrete Continuous
Continuous
Discrete
1. f XY ( x, y ) 0( x, y ) R 2
2. f XY ( x, y ) 1
all x allY
BITS Pilani, Pilani Campus
Continuous Case:
1. f XY ( x, y ) 0 ( x, y ) R 2
2. f XY ( x, y ) dy dx 1
3. P[a X b and c Y d ]
b d
f XY ( x, y ) dy dx,
a c
for ab,c d real is called the joint density for (X,Y).
BITS Pilani, Pilani Campus
Note: In one dimensional continuous
case, the probabilities correspond to
areas under density curve while in the
case of 2-D, they corresponds to
volumes under density surfaces.
P [ X 1 and Y 0] P [ X 0 and Y 1]
f XY (1, 0) f XY (0,1)
0.060 0.030 0.09
f X ( x ) f XY ( x, y )
be
all y
The marginal density for Y, defined to be
fY ( y ) f XY ( x, y )
all x
BITS Pilani, Pilani Campus
row
0 1 2 3 sums
y
x f X ( x)
col. 1
sums
0.910 0.045 0.032 0.013
fY ( y ) BITS Pilani, Pilani Campus
Continuous Case:
f XY ( x, y ) f X ( x) fY ( y )
for all x and y.
BITS Pilani, Pilani Campus
In general for n random variables,
X 1 ,..., X n are indep iff
n
f X1 ...X n ( x1 ,..., xn ) f X i ( xi )
i 1
1
f XY ( x, y ) , 0 y x 1
x
(a)Verify that this is a valid density
for a two dimensional random variable.
0 y
x 0
( y ln y y ) | 1
1
0
0 0
3 72
y
2 P[B]= 1-P(B), where
Y=1-x
B = (X+Y<1}, Hence
1 x
BITS Pilani, Pilani Campus
Cumulative distribution function
Def: Let (X,Y) be a two dimensional
random variable. The cdf F of the two
dimensional random variable (X,Y)
is defined by:
F ( x, y) P[ X x and Y y]
| H ( x, y) |
all x all y
f XY ( x, y) converges.
BITS Pilani, Pilani Campus
For (X,Y) continuous
E[ H ( X , Y )]
H ( x , y ) f XY ( x , y ) dxdy
provided
| H ( x, y ) |
f XY ( x, y ) dy dx exists.
E[a0 a1 X 1 ... an X n ]
a0 a1E[ X 1 ] ... an E[ X n ]
is given by:
1 fY ( y )
fY ( y )
f ( x , y ) dx
fY ( y )
1
BITS Pilani, Pilani Campus
Example: Suppose that the two
dimensional continuous random variable
(X,Y) has joint pdf given by:
xy
f ( x, y ) x , 0 x 1,0 y 2
2
3
0, elsewhere
f XY ( x, y0 )
f X | y0 ( x ) .
f Y ( y0 )
x 2 xy 0 / 3 6 x 2 2 xy 0
Hence f X | y0 ( x ) ; 0 x 1,
1 / 3 y0 / 6 2 y0
0 ew.
(If y0 [0,2], then f Y (y 0 ) 0
hence the conditional density
f X|y 0 (x) is undefined for any x.)
BITS Pilani, Pilani Campus
2. The conditional density for Y given
given X= x, denoted by fY|x is given by:
f ( x, y )
fY | x ( y ) XY
, f X ( x) 0
f X ( x)
3
0, elsewhere
The conditional density of Y given X= x0
(between 0 and 1) is:
x0 x0 y / 3 3x0 y
2
f XY ( x0 , y )
f Y | x0 ( y )
f X ( x0 ) 2 x0 (2 / 3) x0
2
2 y
0 y 2, and equals to 0 ew.
f XY ( x, y) 8 xy , 0 y x 1
BITS Pilani, Pilani Campus
(g) Find the conditional distribution of X
given Y
(h) Find the probability that the lights will
be switched off within 45 minutes of the
system being activated given that they were
switched on 10 minutes after the system was
activated.
(j) Find the expected time that the lights will
be switched off given that they were switched
on 10 minutes after the system was activated.
BITS Pilani, Pilani Campus
56.Let X denote the number of “do loops”
in a Fortran program and Y the number of
Runs needed to debug the program. Assume
that the joint density for (X,Y) is given as:
x/y 1 2 3 4