Docsity

Condition Distribution and Density Functions in Random Variable | STAT 322, Study notes of Statistics

Toggle sidebar
bg1
RANDOM VARIABLES
OUTLINE
•Conditional Distributions
•Conditional Density Functions
•Conditional Mean
•Examples
Reading: G. R. Cooper & C. D. McGillem 2.8 - 2.9
EE/STAT 322, #8 1
CONDITIONAL DISTRIBUTION FUNCTIONS
•When an event Mhappens, would that affect the distribution of RV X?
•The Conditional distribution function is defined as
F(x|M)=P(X≤x|M)=P(X≤x, M )
P(M)(1)
where P(M)>0.
•Mmeans ξ∈M, i.e., the experimental outcome belongs to M.
•{X≤x, M }is all the outcomes ξsuch that X(ξ)≤xand ξ∈M.
EE/STAT 322, #8 2
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Condition Distribution and Density Functions in Random Variable | STAT 322 and more Study notes Statistics in PDF only on Docsity!

RANDOM VARIABLES

OUTLINE

  • Conditional Distributions
  • Conditional Density Functions
  • Conditional Mean
  • Examples

Reading: G. R. Cooper & C. D. McGillem 2.8 - 2.

EE/STAT 322, #8 1

CONDITIONAL DISTRIBUTION FUNCTIONS

  • When an event M happens, would that affect the distribution of RV X?
  • The Conditional distribution function is defined as

F (x|M ) = P (X ≤ x|M ) =

P (X ≤ x, M )

P (M )

where P (M ) > 0.

  • M means ξ ∈ M , i.e., the experimental outcome belongs to M.
  • {X ≤ x, M } is all the outcomes ξ such that X(ξ) ≤ x and ξ ∈ M.

CONDITIONAL DISTRIBUTIONS (CONT.)

Conditional distribution function F (x|M ) is also a distribution function.

  1. 0 ≤ F (x|M ) ≤ 1 , −∞ < x < ∞;

2. F (−∞|M ) = P (X < −∞|M ) = 0, F (∞|M ) = 1;

  1. F (x|M ) is a nondecreasing function as x increases;
  2. P (x 1 < X ≤ x 2 |M ) = F (x 2 |M ) − F (x 1 |M ) ≥ 0 , for x 1 < x 2.

EE/STAT 322, #8 3

CONDITIONAL DISTRIBUTIONS (CONT.)

Example: Let us relate M to X by defining M = {X ≤ m}.

P (X ≤ x, M ) =

P (X ≤ x) = F (x) x ≤ m P (X ≤ m) = F (m) = P (M ) x > m

Using (1), we obtain F (x|M ) =

P (X≤x,X≤m) P (M ) ,

F (x|M ) =

{ (^) F (x) F (m) x^ ≤^ m 1 x > m

where F (m) = P (X ≤ m) =

P (M ). 0 m

1

F ( x )

F ( x | M )

X

CONDITIONAL PDF (CONT.)

Answer:

P (X ≤ x, M ) = P (X ≤ x, X > m) = P (m < X ≤ x) = F (x) − F (m),

and P (M ) = P (X > m) = 1 − F (M ).

The conditional distribution function is given by

F (x|M ) =

P (m < X ≤ x)

P (M )

F (x)−F (m) 1 −F (M ) x > m 0 x ≤ m

EE/STAT 322, #8 7

CONDITIONAL PDF (CONT.)

The conditional PDF is then given by

f (x|M ) =

dP (m < X ≤ x)/dx

P (M )

f (x) 1 −F (M ) x > m 0 x ≤ m

0 m

1

F ( x )

F ( x | M )

X 0 m

f ( x )

f ( x | M )

X

CONDITIONAL MEAN

  • The Conditional mean (average value) is defined as

E(X|M ) =

−∞

xf (x|M )dx.

  • As an extension, given a conditional PDF f (x|M ), and function g(x), the conditional mean of g(x) is

E[g(X)|M ] =

−∞ g(x)f^ (x|M^ )dx.

  • The conditional nth moments is then

E(X

n |M ) =

−∞

f (x|M )x

n dx.

EE/STAT 322, #8 9

CONDITIONAL MEAN (CONT.)

Example: Let X ∼ N (m, σ^2 ) be a Gaussian RV. Find E[X|X ≤ m].

Solution:

Let M = {X ≤ m}. F (x|M ) = P (X ≤ x, X ≤ m)/P (X ≤ m).

F (M ) = P (X ≤ m) =

∫ (^) m= ¯X −∞

√^1 2 πσ

exp

[

(x−X)^2 2 σ^2

]

dx = 0. 5.

F (x|M ) =

F (x) F (M ) = 2F^ (x)^ x^ ≤^ m 1 x > m

CONDITIONAL MEAN (CONT.)

Question:

If m = 0, and M = {X ≥ 0 }.

How would the result change?

X = 0

f ( x ) f ( x | M )

E [ X | M ]=? X

M = { X > 0 }

Answer: E[X|M ] =

2 /πσ. Find the procedure as an exercise.

EE/STAT 322, #8 13

EXAMPLES

Consider the archery problem again. D = 12, X, Y ∼ N (0, σ^2 ), σ = 4.

Define M = {R ≤ 6 }. Find E[R|M ].

Solution:

The unconditional PDF of R = r is

fR(r) = 16 r exp(−r^2 /32), r ≥ 0.

(Rayleigh PDF).

So R¯ = σ

π/2 = 5. 013. X

Y

D / 2

R

EXAMPLES (CONT.)

The conditional PDF is f (r|M ) = f (r)/F (6), 0 ≤ r ≤ 6.

where F (6) = 1 − e

− 6

2 2 σ^2 = 0. 675.

So the conditional mean is

E[R|M ] =

0 rf^ (r)/F^ (6)dr^ = 3.^601.

We see E[R|M ] < E(R) in this example.

Question: If we define M = {R > 8 }, find E(R|M ) again. (See Fig. 2-

and relevant example.)

EE/STAT 322, #8 15

EXAMPLES (CONT.)

A satellite carries six tubes. The working time for each tube has an

exponential distribution with PDF f (x) = 1/T e−x/T^ , where T is the mean

time to failure (MTF).

It is designed that after 5 years with 95 % chance that at least one tube is

working, find the minimum of T to guarantee so.

Solution: Let the chance of working for each tube after 5 years be p.

p =

5 f^ (x)dx^ =^

5 1 /T e

−x/T (^) dx = e− 5 /T (^).

It is required that P (k ≥ 1) = 0. 95 , or

∑ 6

k=1 p^6 (k) = 1^ −^ p^6 (0) = 1^ −^

0

p^0 (1 − p)^6 = 0. 95 ⇒p = 0. 393.

So e−^5 /T^ = 0. 393 , and T = 0. 393.