Beruflich Dokumente
Kultur Dokumente
CONTENTS
UNIT II
TWO DIMENSIONAL RANDOM VARIABLES
CHAPTER I
Joint Distributions
Distribution function
CHAPTER II
Covariance
Correlation
Regression
CHAPTER III
UNIT III
TWO DIMENSIONAL RANDOM VARIABLES
CHAPTER I
Note
(i)If the possible values of (X , Y) are finite or countable infinite, (X ,Y) is called a two
dimensional discrete random variable.
(ii)If (X , Y) can assume all values in a specified region R in the xy-plane, (X ,Y) is called a
two dimensional continuous random variable.
(ii)
p
i
ij
=1
dx
dy
dy
dx
p x- X x + and y
y + = f ( x, y )
2
2
2
2
(ii ) f ( x , y ) d x d y = 1 .
R
Note
P{a X b, c Y d } = f ( x , y ) dx dy
c a
F ( x, y ) = pij
j
F ( x, y ) =
f ( x, y)dx dy
Properties of F (x , y)
(i) F(- , y) = 0 = F( x , - ) and F ( , ) = 1
(ii) P {a < X < b , Y y} = F (b , y) F (a , y)
(iii) P{X x , c <Y <d} = F (x , d) F (x , c)
(iv) P{a < X < b , c < Y <d } = F (b, d) F(a, d) F(b , c) + F(a , c)
(v) At points of continuity of f (x , y)
2 F
= f ( x, y )
x y
Pi* = P ( X = xi ) = pij
j
is called the marginal probability function of X. It is defined for X=x1 , x2 , and denoted as
Pi*. The collection of pairs {Xi , Pi* }, i = 1, 2, 3, is called the marginal probability
distribution of X.
Similarly the collection of pairs {Yj , P*j }, j = 1,2,3, is called the marginal
probability distribution of Y, where P*j =
fx ( x) =
Similarly, f Y ( y ) =
Note
P (a X b ) = P (a X b, < Y < )
b
f ( x, y)dxdy
= f ( x, y )dy dx
a
= f x ( x)dx
a
Similarly,
d
P(c Y d ) = fY ( y)dy
c
Problems
1 The joint probability mass function (PMF) of X and Y is
P (x, y)
0.1
0.04
0.02
0.08
0.2
0.06
0.06
0.14
0.3
[ X 1, Y 1]
independent.
Answer
Y
0
Pi* = P ( X = xi )
0.1
0.04
0.02
P ( X = 0 ) = 0.16
0.08 0.20
0.06
P ( X = 1) = 0.34
0.06 0.14
0.30
P ( X = 2 ) = 0.5
0.24 0.38
0.38
P ( x, y )
X
P j = P (Y = y j )
Now
P [ X 1, Y 1] = P [ X = 0, Y = 0 ] + P [ X = 0, Y = 1] + P [ X = 1; Y = 0 ] + P [ X = 1; Y = 1]
We have
P0*.P*0
P0* = 0.16
and
P*0 = 0.24
= 0.0384 0.1 = P
Pij Pi*.P* j
Hence X and Y are not independent .
The
joint
probability
mass
function
of
(X,Y)
is
P ( x, y ) = k ( 2 x + 3 y ) ; x = 0,1, 2, y = 1, 2,3.
Find the marginal probability distribution of X
Y
X
3K
6K
9K
5K
8K
11K
7K
10K
13K
Answer
j =1
i=0
P ( xi , yi ) = 1
1
72
Pi* = P ( X = xi )
3/72
6/72
9/72
P ( X = 0 ) = 18 / 72
5/72
8/72
11/72
P ( X = 1) = 24 / 72
7/72
10/72
13/72
P ( X = 2 ) = 30 / 72
given
by
3 The following table represents the joint probability distribution of the discrete
random variable ( X , Y )
Y
1
1/12
1/6
1/9
1/5
1/18
1/4
2/15
X
1
p(y)
1/12
1/6
1/4
1/9
1/5
14/45
1/18
1/4
2/15
79/180
p(x)
5/36
19/36
1/3
p(x)
5/36
19/36
1/3
Marginal distribution of Y is
p(y)
1/4
14/45
79/180
(ii)Conditional
distribution
of
given
P(X = x / Y = 2) =
P(X = x Y = 2)
, where x = 1 , 2 , 3
P(Y = 2)
P(X = 1/ Y = 2) =
P(X = 1 Y = 2)
P(Y = 2)
0
14 / 45
=0
P(X = 2 / Y = 2) =
P(X = 2 Y = 2)
P(Y = 2)
1/ 9
14 / 45
= 5/14
P(X = 3 / Y = 2) =
P(X = 3 Y = 2)
P(Y = 2)
by
1/ 5
14 / 45
= 9/14
(iii)Conditional distribution of Y given X = 3
is
given
P(Y = y / X = 3) =
P(Y = y X = 3)
, where y = 1 , 2 , 3
P(X = 3)
P(Y = 1/ X = 3) =
P(Y = 1 X = 3)
P(X = 3)
0
1/ 3
=0
P(Y = 2 / X = 3) =
P(Y = 2 X = 3)
P(X = 3)
1/ 5
1/ 3
= 3/5
P(Y = 3 / X = 3) =
P(Y = 3 X = 3)
P(X = 3)
2 / 15
1/ 3
= 2/5
10
11
P ( X 2 , Y = 3) = P ( X = 1 , Y = 3) + P ( X = 2 , Y = 3 )
1 1
+
18 4
11
36
P ( Y 2 ) = P(Y = 1) + P(Y = 2)
1 14
+
4 45
101
80
The
1
1
+0+
12
6
1
4
joint
f XY ( x, y ) =
of
two
random
variables
and
1
x ( x y ) ;0 < x < 2; x < y < x and 0 , otherwise
8
Find fY / X
is
given
by
12
Answer
y f ( x, y )
f = XY
, where f X ( x ) is the marginal density function of X
fX ( x)
x
f X ( x) =
f ( x, y ) dy =
1
x 8 x ( x y ) dy
x
1 2
y2
= x yx
8
2 x
1 3 x3
x3
3
= x + x
8
2
2
x3
= ,0 < x < 2
8
1
x( x y)
y 8
,0 < x < 2 and x < y < x
fY / X =
1 3
x
x
8
= 0, otherwise
i.e.,
x y
y 2 , x < y < x
f = x
x 0
,otherwise
1 1 x
P(X+Y<1)
f ( x, y ) dydx
0 0
1 1 x
4 xydydx
0 0
1 x
y2
= 4 x dx
2 0
0
1
= 2 x (1 x ) dx = 2 x (1 2 x + x 2 ) dx
2
= 2 ( x 2 x 2 + x3 ) dx
0
1
x 2 2 x3 x 4
= 2
+
2
3
4 0
1 2 1
6 8 + 3 1
= 2 + = 2
=
2 3 4
12 6
6 The joint p.d.f of the RV (X, Y) is given by
f(x,y) = Kxy
x2 + y 2
) ;x>0,y>0
.
Find the value of K and prove also that X and Y are independent.
Solution :
Here the range space is the entire first quadrant of the xy plane
By the property of the joint. p. d.f., we have,
x >0 y > 0
Kxy e
x2 + y 2
dxdy = 1
13
K ye y .xe x dxdy = 1
2
0 0
Put
x2 = t
2xdx = dt
K
y 2
ye
e t dt.dy = 1
Then
2 0
0
t
K
y2 e
ye ( )0 dy = 1
2 0
1
K
2
y
ye (1)dy = 1
2
Put
K
y2
ye
dy = 1
2 0
y2 = v
K 1 v
e dv = 1
2 2 0
K 1 e v
=1
2 2 1 0
K1
(1) = 1
2 2
K
=1 K = 4
4
2ydy = dv
14
f X ( x ) = f ( x, y ) dy
0
= 4 x ye
x2 + y 2
dy
= 4 xe
x2
ye
( )
y2
dy
= 4 xe
x2
et
1
dt
2
= 2xe
x2
e t
1 0
= 2xe x , x > 0
[ Q Put y 2 = t 2 ydy = dt ]
15
fY ( y ) = f ( x, y )dx
0
= 4 ye
y2
xe
x2
dx
= 4 ye
y2
et
1
dt
2
[ Q Put x 2 = t 2 xdx = dt ]
= 2ye y
e t
1
0
= 2ye y , y > 0
Consider,
f ( x ) . f ( y ) = 4 xy e
x2 +y 2
= f ( x, y )
f(x,y)= 4 ,0 x, y 2,
0, otherwise
Find P (x+y 1)
Solution :
1 1 y
P ( x + y 1) =
f ( x, y )dxdy
0 0
16
1 1 y
1
dxdy
4
1
1y
= [ x ]0 dy
40
1
1
(1 y )dy
4 0
1
y2
1
= y
4
2 0
1 1
1 ( 0 0 )
4 2
11 1
= .
42 8
1
( 6 x y ) ,0 < x < 2, 2 < y < 4 ,
8
=0 ,
otherwise
f ( x, y )dxdy
17
1 3
1
( 6 x y ) dxdy
8
2
=
0
11
x2
= 6 x xy dy
8 0
2
2
1
1
9
18 3 y 12 + 2 + 2 y dy
8 0
2
1 7
= y dy
8 02
1 7
y2
= y
8 2
2 0
1 7 1
=
8 2 2
=
(ii) P ( X + Y < 3 )
3
8
18
19
3 3y
=
2
f ( x, y )dxdy
0
3 3y
=
2
1
8 ( 6 x y )dxdy
0
3 y
1
x2
= 6 x xy dy
82
2
0
2
3
3 y)
(
1
= 6 ( 3 y )
y ( 3 y ) dy
8 2
2
2
3
3 y)
(
1
= 18 6 y
3 y + y 2 dy
8 2
2
13
1
= 18 6 y 9 6 y + y 2 3 y + y 2 dy
82
2
1
6 y2 9
6 y2 y3 3y2 y3
= 18 y
y+
+
8
2
2
4
6
2
3 2
=
1
54 27 54 27 27 27
54
8
2
2
4
6
2
3
1
24 18 24 8 12 8
36
+
+
8
2
2
4 6 2 3
5
24
P ( X < 1 Y < 3)
P ( Y < 3)
20
f ( y) =
1
f ( x, y ) dx = 8 ( 6 x y )dx
2
x2
1
= 6 x
xy
8
2
0
1
[12 2 2 y ]
8
1
(5 y )
4
3
P (Y < 3 )
= f ( y )dy
2
3
1
( 5 y )dy
2 4
1
y2
= 5 y
4
2 2
1
9
5
3
+ 2
(
)
4
2
1
9 5
7 =
4
2 8
3
P ( X < 1 Y < 3)
3
=8=
P ( X < 1 / Y < 3) =
5 5
P ( Y < 3)
8
3
+ xy,0 < x < 1,0 < y < 1
f(x,y) = 4
0
, otherwise
y
Find f and P (Y > 1 / 2 / X = 1 / 2 )
x
Solution
3
+ xy ,0 < x < 1, 0 < y < 1
Given f ( x, y ) = 4
0
, otherwise
y f ( x, y )
W.K.T. f =
where f ( x ) is the marginal density of X.
f ( x)
x
f ( x, y )dy
f ( x) =
= + xy dy
4
0
1
3
xy 2
= y+
2 0
4
Now f
3 x
+ ,0 < x <1
4 2
3
+ xy
3 + 4 xy
4
=
=
3 x
3 + 2x
+
4 2
1/ 2 f
1
P (Y > 1/ 2 / X = 1/ 2 ) =
y
dy
x x=1/ 2
21
22
3 + 4 xy
1/ 2 3 + 2 x x=1/ 2 dy
1
3+ 2y
dy
3 +1
1/ 2
1
1
3 y + y 2
1/ 2
4
1
3 1
4
4
2 4
1
(16 6 1)
16
9
16
6
2
( x + y ) ;0 x 1, 0 y 1
f ( x, y ) = 5
0
,
otherwise
6
2
( x + y ) ; 0 x 1, 0 y 1
Given that f ( x, y ) = 5
0
,
otherwise
f ( x) =
f ( x, y ) dy
6
= ( x + y 2 ) dy
50
1
6
y3
= xy +
5
3 0
6
1
= x + ,0 < x 1
5
3
The marginal pdf of Y is
f ( y) =
f ( x, y ) dx
6
x + y 2 ) dx
(
50
1
6 x2
= + xy 2
5 2
0
6
1
= y 2 + , 0 y 1.
5
2
3/ 4
3
1
P y = f ( y ) dy
4 1/ 4
4
3/ 4
5 y
1/ 4
1
+ dy
2
23
6 y3 y
= +
5 3 2 1/4
3/4
6 2 y3 + 3y
=
5
6
1 / 4
3/ 4
1
= 2 y 3 + 3 y
1/ 4
5
1 27 9 1 3
= 2 + 2 +
5 64 4 64 4
1 27 9 1 3
= +
5 32 4 32 4
=
1 26 6
+
5 32 4
1 13 3
+
5 16 2
1 13 + 24
5 16
1
= [37]
80
=
37
80
= 0.4625
24
g(x)
f ( x, y ) dy
= e
( x + y )
dy
=e
dy
= e x e y
= e x , x 0
g ( x ) = e x , x 0
(i) To find P(X < 1)
25
26
P ( X < 1) = g ( x ) dx
0
= e x dx
0
= e x |10
= e 1 1
= 1 e 1
(ii)To find P(X+Y < 1)
`x varies from `0 to (1-y) and `y varies from `0 to `1
1 1 y
P(X+Y<1) =
0 0
( x + y )
dxdy = e y ex
1 y
0
dy
0
1
= e y 1 e (1 y ) dy
0
= e y e 1 dy
0
= e y e1 y
= e1 + e 1 1
= 1 2e1
1
0
27
fY / X
Solution :
By the property of joint p.d.f, we have,
f ( x, y ) dxdy = 1
2 x
Cx ( x y ) dydx = 1
0 x
y2
C x xy
dx = 1
2
x
0
2
2 x 2 2 x 2
C x x x dx = 1
2
2
0
x2 3x2
C x +
dx = 1
2
2
0
2
C 2 x3 dx = 1
0
28
x4
2C = 1
4 0
16
2C = 1
4
C=
1
8
fX ( x) = f ( x) =
1
f ( x, y ) dy = x ( x y ) dy
8 x
x
x
y2
= xy
8
2 x
x 2 x 2 2 x 2
x x
8
2
2
x x2 3x2
= +
8 2
2
x
2 x2 )
(
8
x3
= ,0 < x < 2
4
1
x( x y)
f
x
,
y
y
(
)
1
8
f
=
=
=
( x y), x < y < x
(c) Y / X
x3
f ( x)
2 x2
x
4
29
fY ( y ) = f ( y )
1
1
= x ( x y ) dx = ( x 2 xy )dx
8
80
0
2
1 x3 x2 y
=
8 3
2 0
1 8
2 y
8 3
1
(8 6 y )
24
1
2(4 3 y )
24
(4 3y)
12
, x < y < x
30
EXERCISE
PART-A
I Choose the best answer
1FXY( , ) =
(a)1
(b)0
(c)
(d)none
(b)YE(X)
(c)E(X)E(Y)
(d)none
3 F(-,y) = .
(a)1
(b)0
(c)
(d)-
Answers
(1)1
(2)E(X)E(Y)
(3)0
(3)f(y) =
(2)True
(3)False
31
PART-B
1For the following bivariate distribution , find (i) P(X 2 , Y = 2)
(ii)P(Y = 3) (iii)F(3) (iv)P(X < 3 , Y4)
X/Y
0.1
0.2
0.1
0.05
0.12
0.08
0.01
0.1
0.05
0.1
0.09
X/Y
0.1
0.04
0.02
0.08
0.20
0.06
0.06
0.14
0.30
, otherwise
9e-3x e-3y , x ,y 0
0
, otherwise
2(2x+3y)/5 , 0 x ,y 1
0
, otherwise
32
33
CHAPTER-II
Properties
(i)E[g(X)] =
(ii)E[h(Y)] =
h(y)f
Covariance
The covariance between two random variables X and Y is defined as
)(
Cov(X, Y) = E X X Y Y
Correlation Coefficient
The correlation coefficient between two random variables X and Y is defined
as, xy =
Cov(X, Y)
x y
34
Note
(i)If xy = 0 then X and Y are said to be uncorrelated.
(ii)If E(XY) = 0 then X and Y are said to be orthogonal.
Note
V(X + Y) = V(X) + V(Y) + 2 Cov(X ,Y)
Properties of covariance
Cov (aX , bY) = ab Cov (X,Y)
Cov(X + a ,Y + b) = Cov(X , Y)
Var(aX + bY + c) = a2 Var(X) + b2 Var(Y) + 2ab Cov(X , Y)
Cov(X ,Y) = E(XY) E(X) E(Y)
Properties of correlation coefficient
-1 (X , Y) 1
Correlation coefficient is independent of change of origin and scale. i.e., If U = (X-a)/h and V
= (Y-b)/k where h , k > 0 then
(X , Y) = (U , V).
Problems
1 Suppose the joint propbability mass function of a RV (X,Y) is given by,
1
, for (0,1), (1, 0), (2, 2)
= 3
0, otherwise
(i) Are X and Y independent ? (ii) Are X and Y uncorrelated ?
0
P(y) =
1/3
1/3
1/3
1/3
1/3
1/3
P(x) =
1/3
1/3
1/3
We have
35
=
=
and
= .
=
=
E(Y)
E(
E(
)=
V(X)
= E(
=
Var(Y) = E(
=
E (XY) =
= (0.0.1/3) + (0.1.1/3) + (0.2.0) + (1.0.1/3) +( 1.1.0) + (2.0.0) + (2.1.0)
+ (2.2.1/3)
=
36
5 , 12 and 9
Solution.
Since X, Y and Z are uncorrelated,
Cov (X,Y) = 0 ; Cov (Y,Z) = 0 and Cov (Z,X) = 0
i.e.,
= 25; E(
= 144 and E(
(Q Var X = E ( X ) [ E ( X )] )
2
To find :
=
Cov (U,V)
+YZ)
) + E(Y) . E(Z)
37
Cov (U,V) = E(
) (E(
+ E(Y) E(Z)
= Var Y = 144
Var U
= Var (X+Y)
= Var X + Var Y + 2 Cov (X,Y)
= 25 + 144 + 0 = 169
= 13
Var V
= Var (Y+Z)
= Var Y + Var Z + 2 Cov (Y,Z)
= 144 + 81 + 0
= 225
= 15
= 0.7385
65
66
67
67
68
69
70
72
Y:
67
68
65
68
72
72
69
71
38
Solution :
X
XY
65
67
4355
4225
4489
66
68
4488
4356
4624
67
65
4355
4489
4225
67
68
4556
4489
4624
68
72
4896
4624
5184
69
72
4968
4761
5184
70
69
4830
4900
4761
72
71
5112
5184
5041
544
552
37560
37028
38132
Y=
Y = 552 = 69
n
= 68 69 = 4692
Cov (X,Y) =
= 4695 4692 = 3
The correlation Co-efficient of X and Y is given by,
r (X, Y) or (X , Y) =
f ( x) =
f ( x, y )dy
= (2 x y ) dy
0
y2
= ( 2 x ) y
2 0
= 2 x
1
2
3
x, 0 < x < 1.
2
f ( x, y ) dx = ( 2 x y ) dx
39
40
1
x2
= ( 2 y ) x
2 0
=2 y
3
y, 0 < y < 1
2
xf ( x ) dx
E (X) =
= x x dx
0 2
1
= x x 2 dx
02
1
3x 2 x 3
=
4
3 0
3 1
4 3
94
12
5
12
Similarly, E (Y)
5
12
1
2
E( X ) =
x f ( x ) dx
2
23
x
0 2 x dx
= x 2 x 3 dx
2
0
1
x3 x 4
=
2 4 0
1 1
2 4
1
4
Similarly E(
1
4
2
1 5
4 12
41
1 25
4 144
36 25
144
11
144
42
11
144
1 1
E ( XY ) = xyf ( x, y ) dxdy
0 0
1 1
= xy ( 2 x y ) dxdy
0 0
1 1
= ( 2 xy x 2 y xy 2 ) dxdy
0 0
x3 y x 2 y 2
= x2 y
dy
3
2
0
0
1
y y2
= y dy
3 2
0
1
2 y y2
=
dy
3
2
0
1
y 2 y3
=
6 0
3
1 1
3 6
2 1
6
1
6
1 5 5
.
6 12 12
1 25
6 144
24 25
144
1
144
43
xy =
Cov ( X,Y )
x y
-1
144
11 11
12 12
-1
11
Solution :
The marginal density function of X is given by,
f ( x, y )dy
f ( x) =
= ( x + y ) dy
0
y2
= xy +
2 0
44
1
= x + ,0 < x < 1
2
The marginal density function of Y is given by,
f ( y) =
f ( x, y )dx
= ( x + y ) dx
0
x2
= + xy
2
0
1
= y + ,0 < y <1
2
1
E ( X ) = xf ( x ) dx
0
= x x + dx
2
0
1
= x 2 + dx
2
0
1
x3 x2
= +
4 0
3
1 1
+
3 4
7
12
45
46
E (Y ) = yf ( y ) dy = y y + dy
2
0
0
1
y3 y 2
7
= + =
4 0 12
3
1
1
x2
E ( X ) = x f ( x ) dx = x x + dx = x3 + dx
2
2
0
0
0
1
x 4 x3
1 1 3+ 2 5
= + = + =
=
4
6
4
6
12
12
0
||| ly E (Y 2 ) =
5
12
V ( X ) = E ( X 2 ) E ( X )
5 49
12 144
11
144
X =
11
11
and ||| ly Y =
12
12
E ( XY ) = ( xy )( x + y ) dxdy
0 0
1 1
= ( x 2 y + xy 2 ) dxdy
0 0
x3 y x 2 y 2
=
+
dy
3
2
0
0
1
y y2
= + dy
3 2
0
1
y 2 y3
= +
6 0
6
1 1 2 1
+ = =
6 6 6 3
47
Cov ( X , Y ) = E ( XY ) E ( X )(Y )
rXY
1 7 7
.
3 12 12
1 49
3 144
48 49
144
1
144
1
Cov ( X , Y )
1
=
= 144
=
= 0.0909
X Y
11
11 11
.
12 12
3 ( x + y ) , 0 < x 1,0 y 1, x + y 1
, otherwise
0
f(x,y) =
48
Solution :
Given
3 ( x + y ) ,0 < x 1, 0 y 1, x + y 1
, otherwise
0
f (x,y) =
=
=3
=3
=3
=3
=
=
=
P[X + Y < ] =
=3
= 3
dx
=3
49
50
=
=
=
=
=
=
=
=
To find Cov (x,y)
E[XY] =
=3
=3
=3
dx
51
=3
=3
dx
dx
dx
E[x]
=
Similarly E(y)
52
53
15
10
0.2
0.4
20
0.3
0.1
15
p(y)
10
0.2
0.4
0.6
20
0.3
0.1
0.4
p(x)
0.5
0.5
Solution :
X
Y
E[X]
E[Y]
E[XY] =
= 50
=
Cov (x,y)
54
Regression
Regression is a mathematical measure of the average relationship between two or
more variables interms of the original limits of the data.
Lines of Regression
If the variables in a bivariate distribution are related we will find that the points in
the scattered diagram will cluster around some curve called the curve. If regression of the
curve is a straight line, it is called the line of regression between the variables, otherwise
regression is said to be curvilinear.
The line of regression of y on x is given by,
y y = r.
y
x
( x x)
x x = r.
x
yy
y
Note
Both the lines of regression pass through ( X, Y ).
Regression Coefficients
Regression coefficient of y on x is
b yx = r
y
x
Regression coefficient of y on x is
b xy = r
55
x
y
Note
Correlation coefficient
r = b xy b yx
1 r 2 x y
tan =
r x 2 + y 2
Note
When there is no linear regression between X and Y then the two lines of regression
are at right angles
i.e., if r = 0 then tan = 1 =
Problems on Regression
1 The regression lines between two random variables X and Y is given by 3X + Y = 10
and 3X + 4Y = 12. Find the co-efficient of correlation between X and Y.
Solution :
Assume that 3X + Y = 10 be the regression line of X and Y.
3X = -Y + 10
Hence the regression co-efficient of X on Y is given by,
=
Similarly assume that 3X + 4Y = 12 be the regression line of Y on X.
56
4Y = -3X + 12
Hence the regression co-efficient of Y on X is given by
= 22
64
(1)
= 24
45
(2)
(3)
(3) (2)
=6
in (1).
(1)
57
X=x 69
Y = y-152
62
126
-7
-26
49
676
182
64
125
-5
-27
25
729
135
65
139
-4
-13
16
169
52
69
145
-7
49
70
165
13
169
13
71
152
72
180
28
784
84
74
208
56
25
3136
280
-5
24
129
5712
746
XY
3 Find the coefficient of correlation & obtain the lines of regressions from the data
given below :
x:
62
64
65
79
70
71
72
74
y:
126
125
139
145
165
152
180
208
Solution
Cov (X,Y) =
= 95.125
= r.
Y- 155 = 0.9
= 6.02
= 6.02X 256.62
= 0.9
= 0.13
X
X
58
59
EXERCISE
PART-A
I Choose the best answer
1The random variables are uncorrelated with each other, if the correlation between them
is equal to ..
(a)
(b)1
(c)0
(d)none
(b)-1,1(c)-1,0 (d)none
x y
x 2 y 2
x y
(1 r 2 )
(1 r 2 )
(1 r 2 )
X
X
X 2
(a)
(b)
(c)
r
x 2 + y2
r
x 2 + y2
x + y 2
r2
(d)none of these
Answers
(1)0
(2)-1,1
(3) cov(x,y)/x y
(1 r 2 )
X 2x y 2
(4)
x + y
r
y
x
(x x)
(2) r.
x
y
(3)0 or
(4) /2
60
(2)True
(3)False
(4)False
(5)False
PART-B
1 Derive the limits of regresion.
2 Derive the angle between two lines of regression.
3 Find the correlation coefficient for the following data
X
42
44
58
55
89
98
66
56
49
53
58
67
76
58
0.1
0.04
0.02
0.08
0.20
0.06
0.06
0.14
0.30
61
10
12
11
13
14
62
CHAPTER-III
TRANSFORMATION OF RANDOM VARIABLES
INTRODUCTION
Most of the times, we subject the signals to undergo transformation, in order to derive
certain advantages of the signal. For example, a weak signal received may be amplified in
order to increase the amplitude of the signal. An ac signal may be rectified to yield a dc
signal. If the input is a random variable with a particular probability density or distribution
function and when it undergoes a transformation yielding another random variable; a
natural question arises as to what the probability density or distribution function of the
output random variable is. In other words, what is the effect of transformation unit on the
pdf of input random variable?
In general, transformation may be of different nature. A single random variable may be
transformed into another single random variable or more than one random variables may
be transformed into a single random variable or multiple random variables may be
transformed into another set of multiple random variables.
x
(x, y) u
=
y)J where J =
(u, v) y
u
x
v
y
v
U + V = 2X
X=
U+V
2
U V = 2Y
Y=
UV
2
x
(x, y) u
J=
=
(u, v) y
u
1
2
=
1
2
x
v
y
v
1
2
1
2
1 1
=
4 4
1
16
63
g(u, v) = J f (x, y)
1 u+v uv
f
,
16 2
2
Y
R = X 2 + Y 2 and = tan 1 .
X
Solution
Since X and Y are independent normal random variables
with mean zero and variance 2,
f (x) =
1
e
2
f (y) =
1
e
2
(x 0) 2
22
(y 0) 2
22
, < y <
x2
f (x) =
2
1
e 2 , < x < and
2
y2
f (y) =
2
1
e 2 , < y <
2
2 2
=
e
2
2
, < x, y <
64
Y
Here R = X 2 + Y 2 and = tan 1
X
i.e., R 2 = X 2 + Y 2
X = R cos , Y = R sin
x
r
J =
y
r
cos
sin
-rsin
rcos
= r cos2 + r sin 2
=r
g(r, ) = f (x, y) J
1
=
e
22
( x2 + y 2 )
2 2
r2
.r
1 2 2
=
e
.r , 0 < r < , 0 < < 2
22
65
g R (r) =
g(r, )d
r2
1 2 2
e
.rd
2 2
r2
2
r
2
=
e
[ ]20
2
2
r2
2
r
2
=
e
.2
2 2
r2
r 2
= 2 e 2 , 0 < r <
g () =
g(r, )dr
r2
1 2 2
=
e
.rdr
2
2
1 t 2
=
e dt
2 2
0
r2
[put
= t 2rdr = 22 dt]
2
2
66
67
1 e t
=
2 1 0
= -
1 0
e e
2
=-
1
[ 0 1]
2
1
2
x
u
J=
y
u
1
= v
0
U
V
x
v
y
v
u
v2
1
1
1
0 =
v
v
(1)
g(u, v) = f (x, y) J
= (x+y).
1
v
u
1
= + v .
v
v
u
+1 , 0 u v , 0 v 1
v2
u
1 0 u v]
v
[and 0 y 1 0 v 1]
[Q 0 x 1 0
v
v=1 u=v
u=0
v=0 u
68
69
g u (u) =
g(u, v)dv
= 2 + 1 dv
v
u
1
= + v
v
u
= -u+1-(-1+u)
= -u+1+1-u
= 2-2u
= 2(1-u) , 0 < u < 1
(1)
X = U+V
x
u
J=
y
u
70
x
v
y
v
= 1-0 = 1
g(u, v) = f (x, y) J
= e (x + y) .1
[v > 0 and u < v]
=e
(u + v + v)
= e (u + 2v)
The pdf of U is given by,
g u (u) =
g(u, v)dv
( u + 2v)
dv
=e
2v
dv
e 2v
=e
2 u
u
e2u
= e u 0 +
eu
=
,u < 0
2
71
72
EXERCISE
PART-A
I Choose the best answer
1If f(x) = 3x and Y = 9X, then the pdf of Y is ..
(a) x/4
(b)x/3
(c)x/5
(d)none
(b) 2ye y
(a) 2ye
(c)2yey
(d)none
3 If x = uv and y = v then J = .
(a)1
(b)1-v
(c)v
(d)none
(b)-1/v
(c)v
(d)none
Answers
(1)x/3 (2) 2ye
y2
(3)v
(4)-1/v
Answers
(1) -2
(2)2v
(3) f Z (z) =
1 z
f X f Y (y)dy
y y
73
Answers
(1)False
(2)True
PART-B
1 Find the pdf of Y = eX where X is a normal random variable with mean 0 and variance 2.
2 If X is a normal random variable with mean zero and variance 2, find the pdf of Y = X1/2.
3 If X is exponentially distributed with parameter a, find the pdf of Y = log X.
4 Let (X,Y) be a two dimensional random variable having the density function
f (x, y) = 4xye(x
+ y2 )
, x 0 ,y 0