Download presentation
Presentation is loading. Please wait.
1
Lecture 3 B Maysaa ELmahi
2
3.3. Distribution Functions of Continuous Random Variables
Recall that a random variable X is said to be continuous if its space is either an interval or a union of intervals. Definition 3.7. Let X be a continuous random variable whose space is the set of real numbers I R. A nonnegative real valued function f : IR IR is said to be the probability density function for the continuous random variable X if it satisfies: (a) โโ โ ๐ ๐ฑ ๐๐ฑ=๐ , and (b) if A is an event, then ๐ฉ ๐ = ๐ ๐ ๐ฑ ๐๐ฑ
3
Example 3.10. Is the real valued function f : IR IR defined by ๐ ๐ฑ = ๐๐ฑ โ๐ ๐ข๐ ๐<๐ฑ<๐ ๐ ๐จ๐ญ๐ก๐๐ซ๐ฐ๐ข๐ฌ๐ (a) probability density function for some random variable X? Answer: โโ โ ๐ ๐ฑ ๐๐ฑ= ๐ ๐ ๐๐ฑ โ๐ ๐๐ฑ =โ๐ ๐ ๐ฑ ๐ ๐
4
โ๐ ๐ ๐ โ๐ =1 Thus f is a probability density function. Example 3.11. Is the real valued function f : IR IR defined by ๐ ๐ฑ = ๐+ ๐ฑ ๐ข๐ โ๐<๐ฑ<๐ ๐ ๐จ๐ญ๐ก๐๐ซ๐ฐ๐ข๐ฌ๐ (a) probability density function for some random variable X?
5
Answer: โโ โ ๐ ๐ฅ ๐๐ฅ= โ1 1 (1+ ๐ฅ ) ๐๐ฅ = โ1 0 1โ๐ฅ ๐๐ฅ+ 0 1 (1+๐ฅ) ๐๐ฅ = ๐ฅโ 1 2 ๐ฅ โ ๐ฅ ๐ฅ = = 3
6
Definition 3.8. Let f(x) be the probability density function of a continuous random variable X. The cumulative distribution function F(x) of X is defined as ๐
๐ฑ =๐ ๐โค๐ฑ = โโ ๐ฑ ๐ ๐ญ ๐๐ญ Theorem 3.5. If F(x) is the cumulative distribution function of a continuous random variable X, the probability density function f(x) of X is the derivative of F(x), that is ๐ ๐๐ฑ ๐
๐ฑ =๐(๐ฑ)
7
Theorem 3.6. Let X be a continuous random variable whose c d f is F(x). Then followings are true: ๐ . ๐ ๐<๐ฅ =๐น(๐ฅ) ๐ . ๐ ๐>๐ฅ =1โ ๐น(๐ฅ) ๐ . ๐ ๐=๐ฅ =0 ๐ . ๐ ๐<๐<๐ = ๐น(๐) โ ๐น(๐)
8
Example : (H.W) ๐ ๐ฅ = ๐+1 ๐ฅ ๐๐ <๐ฅ< ๐๐กโ๐๐๐ค๐๐ ๐ a. what is the value of the constant k? b. What is the probability of X between the first and third? d. What is the cumulative distribution function?
9
4.2. Expected Value of Random Variables
Definition 4.2. Let X be a random variable with space ๐
๐ฅ and probability density function f(x). The mean ๐ ๐ฅ of the random variable X is defined as ๐ ๐ฑ =๐(๐ฑ) = ๐โ ๐น ๐ฟ ๐๐(๐) ๐๐ X is discrete โโ โ ๐ ๐ ๐ ๐
๐ if X is continuous
10
Example : x 1 2 3 P(x) 1/8 3/8 what is the mean of X? Answer: = 0* 1/8+ 1* 3/8 +2* 3/8 +3 * 1/8 = / /8 + 3/8 = 12/8
11
Example : ๐ ๐ = ๐ ๐ ๐๐ ๐<๐<๐ ๐ ๐๐๐๐๐๐๐๐๐ Answer: = 2 7 ๐ฅ 1 5 ๐๐ฅ = ๐ฅ = โ4 = = 9 2
12
4.3. Variance of Random Variables
Theorem 4.1 Let X be a random variable with p d f f(x). If a and b are any two real numbers, then ๐. ๐(๐๐ฑ+๐ ) = a ๐ ๐ฑ +๐ b. ๐(๐๐ฑ) = ๐ ๐(๐ฑ) c. ๐(๐) = ๐ 4.3. Variance of Random Variables Definition 4.4. Let X be a random variable with mean ๐ ๐ฅ . The variance of X, denoted by Var(X), is defined as
13
๐๐๐ซ ๐ฑ = ( ๐ ๐ฑ โ ๐ ๐ฑ ) ๐ ๐ ๐ ๐ฑ =๐ ๐ฑ ๐ โ (๐ ๐ ๐ฑ ) Example : ๐ ๐ฅ = 2(๐ฅโ1) ๐๐ <๐ฅ< ๐๐กโ๐๐๐ค๐๐ ๐ a. what is the variance of X? Answer:
14
๐ ๐ฅ =๐ธ ๐ฅ = โโ โ ๐ฅ ๐ ๐ฅ ๐๐ฅ= 1 2 ๐ฅ 2(๐ฅโ1)๐๐ฅ
= (๐ฅ 2 โ๐ฅ)๐๐ฅ = 2 ๐ฅ โ ๐ฅ = โ โ โ = 2(( ( ) ) =2โ =
15
๐ธ ๐ฅ 2 = โโ โ ๐ฅ 2 ๐ ๐ฅ ๐๐ฅ= ๐ฅ 2 2(๐ฅโ1)๐๐ฅ = (๐ฅ 3 โ (๐ฅ 2 )๐๐ฅ = 2 ๐ฅ โ ๐ฅ = โ โ โ = 2(( ( ) ) = 2(( ) ) = 17/6
16
Thus, the variance of X is given by
๐ ๐ ๐ฑ =๐ ๐ฑ ๐ โ (๐ ๐ ๐ฑ ) = โ = Remark: Var (๐๐ฅ+๐ ) = ๐ 2 ๐๐๐ ๐ฅ ๐๐๐ (๐ ๐ฅ ) = ๐ 2 ๐๐๐ ๐ฅ ๐๐๐ (๐) =0
17
4.1. Moments of Random Variables
Definition 4.1. The nth moment about the origin of a random variable X, as denoted by E( ๐ฅ ๐ ), is defined to be ๐ ๐ฑ ๐ง = ๐ฑโ ๐ ๐ ๐ฑ ๐ง ๐(๐ฑ) ๐ข๐ X is discrete โโ โ ๐ฑ ๐ง ๐ ๐ฑ ๐๐ฑ if X is continuous
18
for n = 0, 1, 2, 3,. , provided the right side converges absolutely
for n = 0, 1, 2, 3, ...., provided the right side converges absolutely. If n = 1, then E(X) is called the first moment about the origin. If n = 2, then E( ๐ฅ 2 ) is called the second moment of X about the origin. 4.5. Moment Generating Functions Definition 4.5. Let X be a random variable whose probability density function is f(x). A real valued function M : IR IR defined by ๐ด ๐ =๐ฌ( ๐ ๐๐ ) is called the moment generating function of X if this expected value exists for all t in the interval โh < t < h for some h > 0.
19
Using the definition of expected value of a random variable, we obtain
the explicit representation for M(t) as ๐(๐ญ) = ๐ฑโ ๐ ๐ ๐ ๐ญ๐ฑ ๐(๐ฑ) ๐ข๐ X is discrete โโ โ ๐ ๐ญ๐ฑ ๐ ๐ฑ ๐๐ฑ if X is continuous
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.