ch3

25
ch ch 3 3 Multionari Multionari ate ate Multionariate Random Var Multionariate Random Var iables iables Random Variabl Random Variabl es es

Upload: kiana

Post on 05-Jan-2016

26 views

Category:

Documents


0 download

DESCRIPTION

Multionariate. ch3. Random Variables. Multionariate Random Variables. 3.2. Probability. mass/density functions. Probability mass/density functions. a) Discrete Multivariate r.v. Definition 3. 4. The joint pmf. Suppose the r.v. X and Y are discrete. is defined by. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ch3

ch3ch3 MultionariateMultionariate

Multionariate Random VariablesMultionariate Random Variables

Random VariablesRandom Variables

Page 2: ch3

3.23.2 ProbabilityProbabilitymass/density functions

Probability mass/density functions

Page 3: ch3

,....2,1,),( jiPyYxXP ijii

0)1( ijP 1)2(1 1,

i jij

jiij pP

a) Discrete Multivariate r.v

Definition 3.4

Suppose the r.v. X and Y are discrete.

is defined by

The joint pmf

Page 4: ch3

XY 21 ixxx

jy

y

y

2

1 12111 ippp

22212 ippp

21 ijjj ppp

,....2,1,),( jiPyYxXP ijii

The Joint pmf of X and Y

Page 5: ch3

selectedballsblackofnumberX selectedballswhiteofnumberY

Example 3.1

A bag contains 3 black, 2 white and 1 red balls. 2 balls

Find the joint probability mass function YandXof

are chosen at random without replacement. Let

Solution:

Page 6: ch3

yYxXPyxF ,),(

yy xx

ij

j i

p

The Joint cdf of X and Y

Example 3.2

XY 21

2

1 310

3131

The joint pmf of X and Y is given by

Find the cdf of X and Y

Solution:

Page 7: ch3

1j

ijyall

jii p)yY,xX(P)xX(Pj

The marginal pmf of X and Y

1i

ijxall

jij p)yY,xX(P)yY(Pi

,....2,1,)()(11

jipyYPandpxXPi

ijjYj

ijiX

Definition 3.5

Suppose the r.v. X and Y are discrete.

pmf is defined by

The marginal

Page 8: ch3

;,2,1i,p}xX{P)yY,xX(P)x(P1j

ijially

jiiX

j

.,2,1j,p}yY{P)yY,xX(P)y(P1i

ijjallx

jijY

i

XY ixxx 21

jy

y

y

2

1 12111 ippp

22212 ippp

ijjj ppp 21

Page 9: ch3

1

, ),(),()(j xx

ijYXX

i

pxFYxXPxF

The marginal cdf of X and Y

1

, ),(),()(i yy

ijYXY

i

pyFyYXPyF

XY ixxx 21

jy

y

y

2

1 12111 ippp

22212 ippp

ijjj ppp 21

Page 10: ch3

selectedballsblackofnumberX selectedballswhiteofnumberY

Example 3.3 (Example 3.1)

A bag contains 3 black, 2 white and 1 red balls. 2 balls

Find the joint pmf and marginal pmf of YandX

are chosen at random without replacement. Let

Solution:

Page 11: ch3

b) Continuous Multivariate r.v.b) Continuous Multivariate r.v.

1) Double integrals1) Double integrals

R

dxdyyxfvolume ),(

How do we calculate the double integral above?

R

b

a

xg

xgdxdyyxfdxdyyxf ]),([),(

)(

)(

2

1

)()( 21 xgYandxgY bxa ① R is a region bounded by the curves

where

)()( 21 yhxandyhx ② R is a region bounded by the curves

dyc where

Page 12: ch3

R

yx dxdyeV

Ryxeyxf yx ),(),(

10,2 xandyxy

Example 3.4

Let R is the triangle bounded byDefine

Find the volume

Page 13: ch3

2),(, RBandyx

B

YX dxdyyxfBYXP ),()),(( ,

2) Joint probability density functions

Definition 3.6),(, yxf YXThe nonnegative function is a joint pdf of

the continuous random variable X and Y if

for all

The properties of f (x , y):2),(0),()1( , Ryxyxf YX

1),(, dxdyyxf YX

Page 14: ch3

,(( , ) ) ( , )X YB

P X Y B f x y dxdy

(2) The relationship between the joint cdf and pdf is

ordudvvufyxFx y

YXYX ),(),( ,,

),()],([ ,,

2

yxfyxFyx YXYX

),(, yxF YX),(, yxf YXi.e. the joint pdf is the derivative of

with respect to x and y.

(3) We can calculate the probability that (X,Y) falls ina rectangle as below

Page 15: ch3

,(( , ) ) ( , )X YB

P X Y B f x y dxdy

(3) We can calculate the probability that (X,Y) falls ina rectangle as below

b

a

xg

xgdxdyyxfxgyxgbxaP ]),([))()(,(

)(

)(21

2

1

b

a

d

c YX dxdyyxfdycbxaP ]),([),( ,

d

c

yh

yhdydxyxfdycyhxyhP ]),([)),()((

)(

)(21

2

1

More generally More generally

Page 16: ch3

The marginal cdf of X and Y

dxdyyxfxFxFx

YXX

)),((),()( ,

dyyxfxf YXX ),()( ,

dxyxfyf YXY ),()( ,

The marginal pdf of X and Y

dxxfx

X )(

.d),()( ,

yyxfxf YXX

dydxyxfyFyFy

YXY

)),((),()( , dyyf

y

Y )(

.d),()( ,

xyxfyf YXY

Page 17: ch3

Let X and Y denote the proportion of time out of one

Example 3.5

working day that two employees, performing their assigned tasks.

Y is given by

)4/1,2/1()1( YXPFind

w

yxyxyxf YX .00

10,10),(,

)1()2( YXPFind

(3) Find the marginal pdf of X and Y.

A and B, spendThe joint pdf of X and

Page 18: ch3

.d),()(

yyxfxfX

联合分布 边缘分布

.d),()(

xyxfyfY

小 结小 结

.dd),(),()(

y

Y yxyxfyFxF

.dd),(),()(

x

X xyyxfxFxF

Page 19: ch3

Solution: The joint pmf of X and Y is given by

0 1 20 1 2

00 11 22

0 3/15 3/150 3/15 3/15

2/15 6/15 02/15 6/15 0

1/15 0 01/15 0 0

xy

selectedballsblackofnumberX selectedballswhiteofnumberY

A bag contains 3 black, 2 white and 1 red balls. 2 balls

Find the joint probability mass function YandXof

are chosen at random without replacement. Let

Page 20: ch3

XY 21

2

1 310

3131

Solution:

21

1

2

o x

y

)2,2()2,1(

)1,1( )1,2(

,1yor1xWhen)1( ),( yxF },{ yYxXP

;0

),( yxF

,2y1,2x1When)2(

11p ;0

Page 21: ch3

21

1

2

o x

y

)2,2()2,1(

)1,1( )1,2(

XY 21

2

1 310

3131

,2y,2x1When)3(

),( yxF 1211 pp ;31

,2y1,2xWhen)4(

;31),( 2111 ppyxF

,2y,2xWhen)5( ),( yxF

22122111 pppp

.1

Page 22: ch3

So,the cdf of ( X ,Y ) is given by

),( yxF ;0

),( yxF ;0

),( yxF ;31

),( yxF .1

(1) 1 1 ,When x or y

(2) 1 2,1 2,When x y

(3) 1 2, 2,When x y

(5) 2, 2,When x y

(4) 2,1 2,When x y ( , ) 1 3;F x y

0, 1 1,

1( , ) , 1 2, 2, 2,1 2,

31, 2, 2.

x or y

F x y x y or x y

x y

Page 23: ch3

0 1 20 1 2

00 11 22

0 3/15 3/150 3/15 3/15

2/15 6/15 02/15 6/15 0

1/15 0 01/15 0 0

xy

The joint pmf of X and Y is given bySolution:

selectedballsblackofnumberX selectedballswhiteofnumberY

A bag contains 3 black, 2 white and 1 red balls. 2 balls

Find the joint pmf and marginal pmf of YandX

are chosen at random without replacement. Let

Page 24: ch3

0 1 20 1 2

00 11 22

0 3/15 3/150 3/15 3/15

2/15 6/15 02/15 6/15 0

1/15 0 01/15 0 0

xy

The marginal distributions of X and Y arex

)( xXP 15

3

15

9210

15

3

y

)( yYP 15

6

15

8210

15

1

Page 25: ch3

0 1 20 1 2

00

11

22

0 0 3/153/153/15 3/15

006/156/152/152/15

00001/151/15 15

1

15

8

15

6

15

3

15

9

15

31)xX(P i

)yY(P j

The joint pmf and marginal pmf of X and Y is given by

Joint Marginal

+

+ +

+

+

+

+ +

+ +

+ +

j,i

ijp

xy