Multinomial Distribution:: Definition: Let A Multinomial Experiment Have K (K 2) Possible Outcomes Where Each
Multinomial Distribution:: Definition: Let A Multinomial Experiment Have K (K 2) Possible Outcomes Where Each
(iii) On any given trial, the probability that a particular outcome will occur is constant.
n! xk−1 xk
X
k−1
f (x1 , x2 , .., xk−1 ) = px1 1 px2 2 ....pk−1 pk ; xi ≤ n
x1 !x2 !...xk−1 !xk ! i=1
Pk−1 P
where pk = 1 − pi and xk = n − k−1i=1 xi
Pk i=1
Remark: Given that i=1 xi = n; then essentially we only have k − 1 random variables.
The random variables X1 , X2 , .., Xk−1 are components of random vector X having multi-
nomial distribution.
1
Mean vector and variance covariance martix
Marginal distributions
2
Conditional distribution
the conditional distribution of X1 , X2 , .., Xr given Xr+1 , Xr+2 , .., Xk−1 is given by
!xk
m! Xr
f (x1 , x2 , .., xr ) = q x1 q x2 ....qrxr 1 − qj
x1 !x2 !...xr !xk ! 1 2 j=1
where
X
k−1
pj
m=n− xi and qj = ; j = 1, 2, .., r
r+1
p1 + p2 + ...pr + pk
Generating function of multinomial distribution:
Let X′ = [X1 , X2 , .., Xk−1 ] be a random vector having multinomial distribution.
XX X n! Y
k−1
M (t1 , t2 , ..tk−1 ) = .. (pi eti )xi pxkk
x1 x2 xk−1
x1 !x2 !...xk−1 ! i=1
t1
= [p1 e + p2 et1 + ... + pk−1 etk−1 + pk ]n
XX X n! Yk−1
G(s1 , s2 , ..sk−1 ) = .. (pi si )xi pxkk
x1 x2 xk−1
x1 !x2 !...xk−1 ! i=1
= [p1 s1 + p2 s2 + ... + pk−1 sk−1 + pk ]n
XX X n! Y
k−1
Φ(t1 , t2 , ..tk−1 ) = .. (pj eitj )xj pxkk
x1 x2 xk−1
x1 !x2 !...xk−1 ! j=1
it1
= [p1 e + p2 eit1 + ... + pk−1 eitk−1 + pk ]n
where t = (t1 , t2 , .., tk−1 )ϵℜk−1 and i is imaginary number with property i2 = −1
3
Finding moments using generating functions:
4
Next
h i
∂2
∂t2j
Φ(t)
t=(0,0,..,0)
E[Xj2 ] =
i2
i.e. obtain the second derivative of the characteristic function with respect to tj
and then substitute for all values of vector t equal to zero. Divide the derivative
by the square of the imaginary number i
Example 1:
Let X′ = [X1 , X2 , X3 ] have joint probability distribution function
20!
f (x1 , x2 , .., x3 ) = 0.2x1 0.25x2 0.35x3 0.2(20−x1 −x2 −x3 )
x1 !x2 !x3 !(20 − x1 − x2 − x3 )!
Find
(i) Pr(X1 = 4, X2 = 6, X3 = 7)
5
Solution:
(i)
20!
Pr(X1 = 4, X2 = 6, X3 = 7) = 0.24 0.256 0.357 0.23 = 0.0094
4!6!7!3!
20!
h(x1 , x3 ) = 0.2x1 0.35x3 (1 − 0.2 − 0.35)20−x1 −x3
x1 !x3 ! (20 − x1 − x3 )!
f (x1 , x2 , x3 )
g(x2 |x1 , x3 ) =
h(x1 , x3 )
20!
= 0.2x1 0.25x2 0.35x3 0.2(20−x1 −x2 −x3 )
x1 !x2 !x3 !(20 − x1 − x2 − x3 )!
20!
÷ 0.2x1 0.35x3 (1 − 0.2 − 0.35)20−x1 −x3
x1 !x3 ! (20 − x1 − x3 )!
x2 20−x1 −x2 −x3
(20 − x1 − x3 )! 0.25 0.2
=
x2 !(20 − x1 − x2 − x3 )! 1 − 0.2 − 0.35 1 − 0.2 − 0.35
given X1 = 4, X3 = 8; hence
x2 20−4−x2 −8
(20 − 4 − 8)! 0.25 0.2
g(x2 |x1 , x3 ) =
x2 !(20 − 4 − x2 − 8)! 1 − 0.2 − 0.35 1 − 0.2 − 0.35
x2 12−x2 2
12! 0.25 0.2
=
x2 !(12 − x2 )! 0.45 0.45
Example 2:
Let the joint characteristic function of the distribution of a random vector X be
6
Solution:
Using the uniqueness property of characteristic function; the joint probability distri-
bution of X is
15!
f (x1 , x2 , x3 , x4 ) = 0.1x1 0.3x2 0.1x3 0.2x4 0.315−x1 −x2 −x3 −x4
x1 !x2 !x3 !x4 !(15 − x1 − x2 − x3 − x4 )!
Given X2 = 5, X3 = 2
7
Hence
" # " #
E[X1 |X2 = 5, X3 = 2] 8 × 1/6 = 4
E[X1 , X4 |X2 = 5, X3 = 2] = = 3
E[X4 |X2 = 5, X3 = 2] 8 × 2/6 = 8
3
and
" # " #
8 × 1/6 × 5/6 −8 × 1/6 × 2/6 10
− 94
V ar(X1 , X4 |X2 = 5, X3 = 2) = = 9
−8 × 2/6 × 1/6 8 × 2/6 × 4/6 − 49 16
9