Docsity

BST 631: Lecture 19 on Bivariate Transformations and Joint Probability, Study notes of Biostatistics

Toggle sidebar
bg1
Lecture 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/2007
Review for the previous lecture
Theorems and Examples: How to obtain the pmf (pdf) of )
1(,UgXY
=
and )
2(,VgXY
=
.
Chapter 4 – Multiple Random Variables
Chapter 4.3 – Bivariate Transformations
Continuous Case:
Consider ) a continuous bivariate random vector with joint pdf (,XY (,)
f
xy and define )
1(,Ugxy
=
and
(,)Vg y=. Let {(,);(,) 0}
2x
x
yfxy=>A and 2
{( , ): ( , ) ( , )}uv u g xy g xy
1
and v
=
==B for some )( ,
x
y
∈
A.
Assume that U and are 1-1 transformation from to . Define )V(,
A B 1
x
hu=v2
and (,)yhuv
=
be the inverse
transformations. The Jacobian, J, of the transformation is defined as the determinant of a matrix of partial
derivatives:
.
xx
yyx
uv
uv
∂∂
Jyyuv uv
∂
∂∂∂
∂∂
==−
∂∂
∂
∂∂∂
∂∂
UV
,,12
(,) ( (,), (,))|
UV XY
Therefore, the joint pdf of and is given by
f
|uv f h uv h uv J
=
,
where | is the absolute value of the Jacobian. |J
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download BST 631: Lecture 19 on Bivariate Transformations and Joint Probability and more Study notes Biostatistics in PDF only on Docsity!

Lecture 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/2007 Review for the previous lecture Theorems and Examples:

How to obtain the pmf (pdf) of

U

g

X Y

and

2

(^

V

g

X Y

Chapter 4 – Multiple Random Variables

Chapter 4.3 – Bivariate Transformations Continuous Case: Consider

)^

a continuous bivariate random vector with joint pdf

(^

X Y

f^

x y

and define

U

g

x y

and

V

g

y

. Let

)^

2

x

x

y

f^

x y

A

and

2

)^

u v

u

g

x y

g

x y

1

and

v

B

for some

x

y

A

Assume that

U

and

are 1-1 transformation from

to

. Define

V

A

B

1

x

h u

v

2

and

y

h

u v

be the inverse

transformations. The Jacobian,

J

, of the transformation is defined as the determinant of a matrix of partial

derivatives:

x

x

x

y

y

x

u

v

u

v

J

y

y

u

v

u

v

U

V

,^

,^

1

2

(^

U V

X Y

Therefore, the joint pdf of

and

is given by

f^

u v

f^

h u v

h

u v

J

where

|^

is the absolute value of the Jacobian.

|^

J

1

Lecture 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/2007 Example 4.3.3 (Distribution of the product of two independent beta variables)

:. Let

(^

,^

X

beta

α

β

and

,^

Y

beta ~

(^ α

β γ

, then the joint pdf of (

is

,^

X Y^1

1

1

1

,

(^

)^

(^

)^

)^

)^

(^

)^

(^

)^

(^

)^

X Y f^

x y

x

x

x

x

x

y

α

β

α^

β

γ

α

β

α

β

γ

α

β

α

β

γ

−^

−^

+^

−^

−

Consider

Y

and

, then this an one to one transformation from

U

X

V

X

x

y

x

y

to

u v

. In addition,

V

u

v

,^

X

V Y

U

,^

v

|^

|^

J

, therefore

1

1

1

1 γ

,^

,

(^

)^

(^

)^

/^

)^

)^

(^

/^

)^

/^

(^

)^

(^

)^

(^

)^

U V

X Y

f^

u v

f^

v u v

v

v

u v

u v

v

α

β

α^

β

α

β

α

β

γ

α

β

α

β

γ

−^

−^

+^

−^

−

and

1

,

1 1

1

1

(^

)^

)^

(^

(^

)^

(^

)^

(^

U

U V u

u

f^

u

f^

u v dv

u

v

v

v

u

dv

α^

β

β^

γ

β

γ

α

β^

γ

α

β

γ

α

β

γ

α

β

γ

+^

−^

−^

−^

−^

−

−^

+^

−

1

1

)^

(^

)^

(^

)^

u

u

u

α

β

γ

Example 4.3.4 (Sum and difference of two independent normal random variables):

Let

(^

X

n

α

σ

and

2

(^

Y

n

β

σ

U

X

and they are independent. Consider

Y

V

X

and

Y

(^

X

U

V

, then

(^

Y

U

V

|^

|^

J

and

Therefore,

2

Lecture 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/

If only one function is of interest, say

U

g

x y

. In this case, choose a convenient

2

V

g

(^

X Y

so that

(^

,^

U V

is a 1-1 transformation from

A

onto

B

and obtain the joint pdf of

U

and

V

given by

,^

(^

f^ U V

u v

Finally, one can obtain the marginal of

U

by integrating over all values of

V

What is the transformation is not 1-1? We use a generalized version of Theorem 2.1.8 from univariate tomany-to-one functions by finding partitions

0

1 ,^

,^

,^

n

A

A

A

of

A

where the transformation

U

g

x y

and

2

(^

,^

V

g

X Y

is 1-1 from

(^

,^

i A

i^

n

onto

and

P A

B

(^

. Therefore, the joint pdf of

and

is

given by

U

V

,^

,^

1

2

1

(^

n

U V

X Y

i^

i^

i

i

f^

u v

f^

h

u v

h

u v

J

=

Even the transformation is not 1-1, we can always use the method in the proof of Theorem of 4.3.5 tocalculate the joint cdf and pdf of

U

and

V

Example 4.3.6:

Show that the distribution of the ratio of two independent normal variables is a Cauchy random

variable. That is, if

X

n

,^

Y

n

, then

/^

U

X

Y

Cauchy

Solution 1.

Let

, then

|^

V

Y

1

A

x y

y

,^

2

A

x y

y

,^

and

0

A

x y

y

2

2

exp(

,

)^

X Y

x

y

f^

x y

. Therefore,

π

2

2

(^

(^

|^

(^

,^

|^

exp(

,^

,^

,^

U V

X Y

X Y

v

u

v

f^

u v

f^

uv v

v

f^

uv

v

v

u

v

π

2

2

2

2

0

2

2

0

(^

(^

exp(

)^

exp(

,^

)^

U

v

u

v

u

v

f^

u

dv

u

u

u

∞^

∞

Solution 2.

For

, we have 0

u

4

Lecture 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/

0

/^

0

0

0

/

(^

)^

(^

/^

(^

)^

(^

U

x u

X^

y^

X^

y

x u

F

u

P U

u

P X

Y

u

f^

x f

y dydx

f^

x f

y dydx

∞

−∞

Take the derivative respect to

, we have u

2

2

2

2

0

2

2

2

2

0

2

2

2

2

2

2

0 1

exp(

)^

exp(

)^

exp(

)^

exp(

exp(

)^

U

x

x

x

x

x

x

f^

u

dx

dx

u

u

u

u

u x

x

x

dx

u

u

u

∞

−∞

∞

∫^

fU

Similarly, you can get

u

u

for

. You also need to verify the conditions such that the integration and

differentiation can be exchanged. Chapter 4.4 – Hierarchical Models and Mixture Distributions Examples:

Binomial-Poisson Hierarchy:

X

=number survived and

Y

=number of eggs laid. Then we can use the

models

X

Y

~ binomial (

Y p

and

Y

Poisson (

. In this case,

X

Poisson (

p

.^

Poisson-Exponential Hierarchy: Let

Y

=number of eggs laid and

=variability across different mothers.

Y

~Poisson (

and

~exponential (

. In this case,

Y

negative binomial (

r

p

Binomial-Poisson-Exponential Hierarchy (Three-stage hierarchy): Let

X

=number survived,

Y

=number of

eggs laid and,

= variability across different mothers.

|^

X

Y

binomial (

,^

Y p

and

|^

Y

Poisson (

and

~exponential (

. Equivalently, we can look at this as a two-stage hierarchy where

binomial (

and

Y

negative binomial (

X

Y

,^

Y p

r^

p

5

Lecture 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/

2

2

2

2

(^

)^

(^

(^

|^

)^

(^

|^

)^

(^

(^

|^

(^

(^

|^

)^

)^

([

(^

|^

)][

(^

|^

)^

]).

VarX

E X

EX

E X

E X

Y

E X

Y

EX

E

X

E X

Y

E E X

Y

EX

E

X

E X

Y

E X

Y

EX

In addition,

([

(^

|^

)][

(^

|^

)^

])

(^

{[(

(^

|^

(^

|^

)^

)] |

E

X

E X

Y

E X

Y

EX

E E

X

E X

Y

E X

Y

EX

Y

{[

(^

|^

)][

(^

|^

)^

] |

(^

(^

|^

)^

{[

(^

|^

)] |

(^

(^

|^

)^

(^

|^

)^

(^

|^

E

X

E X

Y

E X

Y

EX

Y

E X

Y

EX

E

X

E X

Y

Y

E X

Y

EX

E X

Y

E X

Y

and

2

2

(^

(^

|^

(^

[^

(^

|^

)] |

E

X

E X

Y

E E X

E X

Y

Y

(^

(^

|^

E Var X

Y

2

([

(^

|^

)^

] )

(^

(^

|^

E

E X

Y

EX

Var E X

Y

Finally, we have

(^

E Var

|^

VarX

X

Y

X

Var E

|^ Y

)^

Y

(^

Illustrations:

Binomial-Poisson Hierarchy: models

X

Y

~ binomial( (

Y p

and

Poisson

. (Recall that

X

Poisson (

p

) Using Theorem 4.4.3 and 4.4.5, we get

|^

(^

(^

E

X

E E X

Y

E pY

p

and

2

(^

(^

|^

)^

(^

|^

)^

(^

VarX

E Var X

Y

Var

Y

E

p

pY

p

p

)^

(^

(^

)^

)^

Var

p

E X

Yp

Beta-Binomial Hierarchy:

binomial

and

beta

n P

X

P

P

(^

,^

. Find

E

X

and

VarX

7

L

t ec

8

ure 19 on BST 631: Statistical Theory I – Kui Zhang, 11/01/20073.

Non-central chi-squared distribution with degrees of freedom,

, and noncentrality parameter k

/ 2

1

/ 2 / 2

0

(^

|^

,^

)^

(^

p^

k^

x^

k

p^

k

k

x

e

e

f^

x

p

p

k

k

λ

+^

−^

−^

−

∞

=

. Note that

2

2

|^

p^

k

X

K

χ

and

K

~Poisson

. Therefore,

(^

(^

|^

(^

)^

E

X

E E X

P

E p

K

p