Professional Documents
Culture Documents
Example 1:
Form a collection of 3 white balls, 2 black balls, and 1 red ball, 2 balls is to be
randomly selected. Let X 1 denote the number of white balls and X 2 the
number of black balls.
(a) Find the joint probability distribution table of X 1 and X 2 .
23
24
Example 2:
Let f x1 , x 2 2 x1 ,0 x1 k ;0 x 2 1; and f x1 , x 2 0, otherwise.
(a) Find k .
(b) Find F 0.7,0.5 , F 2,0 and F 0.2,3 .
[solution:]
(a)
x
1 k 1
f x1 , x 2 dx1 dx 2
1
2 k
2 x1dx1dx2 dx 2 k dx 2 k 2 1 k 1 .
2
1 0 0
0 0 0
24
25
k 1.
(b)
0.5 0.7 0.50.7
F 0.7,0.5 P X 1 0.7, X 2 0.5 f x1 , x2 dx1dx2 2 x dx dx1 1 2
0 0
x
0.5 0.5
2 0.7
0
1 0 dx2 0.49dx
0
2 0.49 0.5 0.245
0 2 0 1
F 2,0 P X 1 2, X 2 0 f x1 , x2 dx1dx2 2 x1dx1dx2
0 0
0 0
1
x12 0 dx2 1dx2 1 0 0
0 0
3 0.2 1 0.2
F 0.2,3 P X 1 0.2, X 2 3 f x1 , x2 dx1dx2 2 x dx dx
1 1 2
0 0
x
1 1
2 0.2
1 0 dx2 0.04dx2 0.04
0 0
and
f 2 x 2 P X 2 x 2 f x1 , x 2 ,
x1
respectively.
Let X 1 and X 2 be continuous random variables. The marginal
probability density function for X 1 and X 2 are
f 1 x1 f x 1 , x 2 dx 2 ,
and
f 2 x2 f x 1 , x 2 dx1 ,
respectively.
P X 1 x1 , X 2 x 2 f x1 , x 2 ,
f1 x1 | x 2 P X 1 x1 | X 2 x 2
P X 2 x2 f 2 x2
25
26
P X 1 x1 , X 2 x2 f x1 , x 2 ,
f 2 x 2 | x1 P X 2 x 2 | X 1 x1
P X 1 x1 f1 x1
provided that f 1 x1 0 .
Let X 1 and X 2 be continuous random variables. The conditional
probability density function X 1 given X 2 is
f x1 , x 2
, f 2 x2 0
f1 x1 | x 2 f 2 x 2
0, otherwise.
Similarly, the conditional probability density function X 2 given X 1 is
f x1 , x 2
, f1 x1 0
f 2 x 2 | x1 f 1 x1
0, otherwise.
Example 1 (continue):
(c) Find the marginal probability distribution function of X 1 .
(d) Given one of chosen balls being black, what is the distribution for the number
of balls being white?
[solution:]
(c) f1 (0) f 0,0 f 0,1 f 0,2 0 2 1 3 ,
15 15
3 6 0 9 ,
f 1 (1) f 1,0 f 1,1 f 1,2
15 15
300 3
f1 (2) f 2,0 f 2,1 f 2,2
15 15
2
f 0,1 15 1 ,
f1 0 | 1 P X 1 0 | X 2 1
f 2 1 8 4
15
26
27
6
f 1,1 15 3 ,
f1 1 | 1 P X 1 1 | X 2 1
f 2 1 8 4
15
f 2,1 0
f1 2 | 1 P X 1 2 | X 2 1 0
f 2 1 8
15
Example 2 (continue):
(c) Find the marginal probability density function for X 1 and X 2 .
(d) Find the conditional probability density function for X 1 given X 2 and the
conditional probability density function for X 2 given X 1
[solution:]
(c)
1
f1 x1 f x1 , x 2 dx 2 2 x1 dx 2 2 x1 ,0 x1 1; .
0
1
f 2 x2 f x , x dx
1
1 2 1 2 x1 dx1 x12 0
1,0 x 2 1;
0
f x1 , x 2
f 1 x1 | x 2 2 x1
f 2 x2
and
f x1 , x 2 .
f 2 x2 | x1 1
f1 x1
27
28
P X 1 x1 , X 2 x 2 f x1 , x 2 f1 x1 f 2 x 2 P X 1 x1 P X 2 x 2
P A B P A P B , A X 1 x1 , B X 2 x 2 .
Example 1 (continue):
(e) Are X 1 and X 2 independent?
[solutions:]
No since f 1,0 3 5 6 9 6 f1 1 f 2 0 .
15 25 25 15 15
Example 2 (continue):
(e) Are X 1 and X 2 independent?
[solutions:]
Yes since f x1 , x 2 2 x1 f1 x1 f 2 x 2 .
Example 3:
Let and Are
f x1 , x 2 6 x1 x 22 ,0 x1 k ;0 x 2 1; f x1 , x 2 0, otherwise. X1
and X 2 independent?
[solution:]
1
f 1 x1 f x1 , x 2 dx2 6 x1 x 22 dx 2 2 x1 x 23
1
0
0
2 x1 ,0 x1 1;
1
f 2 x2 f x1 , x 2 dx1 6 x1 x 22 dx1 3x12 x 22
1
0
0
3 x 22 ,0 x1 1.
Thus,
.
f x1 , x 2 6 x1 x 22 f1 x1 f 2 x 2
Therefore, X 1 and X 2 are independent.
(II) Multivariate Probability Distribution
Joint Probability Distribution (Density) Function:
Let X 1 , , X n be discrete random variables. The joint probability
distribution function is
f x1 , , x n P X 1 x1 , , X n x n ,
where x1 , , x n are possible values of X 1 , , X n , respectively. f
satisfies the following conditions:
1. f x1 , , x n 0 for all x1 , , x n ;
2. f x , , x 1 .
x2 xn
1 n
28
29
Example 4:
Let X 1 , , X n are a random sample from a normal distribution N , 2 . Then,
n
xi 2 xi 2
l , 2 2 2
n 2 2
e n i 1
2 2
2
e
i 1 2 2
Example 5:
Let X 1 , , X n are a random sample from a binomial distribution B m, p .
Then,
n
n
m xi n m xi n
nm xi
l p p 1 p p 1 p i 1
m xi i 1
i 1 xi i 1 xi
Example 6:
Let X 1 , , X n are a random sample from a Poisson distribution Poisson .
Then,
29
30
n
xi
n
e xi e n i 1
l n
xi !
i 1
x!
i 1
i
30