Docsity

Conditional Distributions and Joint Probability of Random Variables, Study notes of Statistics

Partial preview of the text

Download Conditional Distributions and Joint Probability of Random Variables and more Study notes Statistics in PDF only on Docsity!

STAT 430/510 Probability

Hui Nie

Lecture 16

June 24th, 2009

Review

Sum of Independent Normal Random Variables

Sum of Independent Poisson Random Variables

Sum of Independent Binomial Random Variables

Conditional Distributions: Discrete Case

Example

The joint density of X and Y is given by

f (x, y) =

12 5

x( 2 − x − y), 0 < x < 1 , 0 < y < 1

0 , otherwise

Compute the conditional density of X given that Y = y,

where 0 < y < 1.

fX |Y (x|y) =

f (x, y)

fY (y)

x( 2 − x − y) ∫ 1

0

x( 2 − x − y)dx

6 x( 2 − x − y)

4 − 3 y

One Discrete R.V. and one Continuous R.V.

Suppose that X is a continuous random variable having

probability density function f and N is a discrete random

variable. Then the conditional distribution of X given that

N = n is

fX |N (x|n) =

P(N = n|X = x)

P(N = n)

f (x)

Example: Solution

Let X denote the probability that a given trials is a success.

Let N be the number of successes.

f X |N (x|n) =

P(N = n|X = x)fX (x)

P(N = n)

n + m

n

x

n ( 1 − x)

m

P(N = n)

∝ x

n ( 1 − x)

m

The conditional density is a beta distribution with

parameters (n + 1 , m + 1 )

Joint Probability Distribution of Functions of R.V.’s

X 1 and X 2 are jointly continuous random variables with

joint probability density function fX 1 ,X 2

Want to find the joint distribution of Y 1 = g 1 (X 1 , X 2 ) and

Y 2 = g 2 (X 1 , X 2 )

Change of R.V.’s

Under two conditions above, random variables Y 1 and Y 2

are jointly continuous with joint density function given by

fY 1 ,Y 2

(y 1 , y 2 ) = fX 1 ,X 2

(x 1 , x 2 )|J(x 1 , x 2 )|

− 1

where x 1 = h 1 (y 1 , y 2 ), x 2 = h 2 (y 1 , y 2 )

Example

Let X 1 and X 2 be jointly continuous random variables with

probability density function fX 1 ,X 2

. Let Y 1 = X 1 + X 2 ,

Y 2 = X 1 − X 2. find the joint density function of Y 1 and Y 2 in

terms of fX 1 ,X 2

Generalization to n dimensions

Two Conditions

y 1 = g 1 (x 1 , · · · , xn),· · · ,yn = gn(x 1 , · · · , xn) have a unique

solution x 1 = h 1 (y 1 , · · · , yn),· · · ,xn = hn(y 1 , · · · , yn)

J(x 1 , · · · , xn) 6 = 0

Conclusion

fY 1 ,···^ ,Yn (y 1 , · · · , yn) = fX 1 ,···^ ,Xn (x 1 , · · · , xn)|J(x 1 , · · · , xn)|

− 1

where xi = hi (y 1 , · · · , yn), i = 1 , · · · , n

Example

Let X 1 , X 2 and X 3 be independent standard normal random

variables. If Y 1 = X 1 + X 2 + X 3 , Y 2 = X 1 − X 2 and

Y 3 = X 1 − X 3 , compute the joint density function of

Y 1 , Y 2 , Y 3.