Lesson6 Mathmatical Expectations, mean of rv.pptx

hebaelkouly 6 views 59 slides Aug 13, 2024
Slide 1
Slide 1 of 59
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59

About This Presentation

son6 Mathmatical Expectations, mean of rv.pptx


Slide Content

TAIBAH UNIVERSITY Faculty of Science Department of Math. جامعة طيبة كلية العلوم قسم الرياضيات Probability and Statistics for Engineers STAT 301 Teacher : Osama Hosam Second Semester 1432/1433

Mathematical Expectation Lesson 6

Mean of a Random Variable

Mean of a Random Variable Definition 4.1: Let X be a random variable with a probability distribution f(x) . The mean (or expected value) of X is denoted by (or E(X) ) and is defined by:

Mean of a Random Variable (Example1) A shipment of 8 similar microcomputers to a retail outlet contains 3 that are defective. If a school makes a random purchase of 2 of these computers, find the expected number of defective computers purchased

The prob. distribution of X is (see Lesson 15) x 1 2 Total f(x)= P(X=x) Hypergeometric Distribution 1.00 Mean of a Random Variable (Example1)

The expected value of the number of defective computers purchased is the mean (or the expected value) of X , which is: (computers) Mean of a Random Variable (Example1)

Mean of a Random Variable (Ex 4.3) Let X be a continuous random variable that represents the life (in hours) of a certain electronic device. The pdf of X is given by: Find the expected life of this type of devices.

Solution: (hours) Therefore, we expect this type of electronic devices to last, on average, 200 hours.

Mean of a Random Variable Let X be a random variable with a prob. distribution f(x ) , and let g(X ) be a function of the random variable X . The mean (or expected value) of the random variable g(X ) is denoted by (or ) and is defined by: Theorem 4.1:

Mean of a Random Variable (Example 3) Let X be a discrete random variable with the following probability distribution x 1 2 f(x) Find:

Mean of a Random Variable (Example 3) Solution

Mean of a Random Variable (Example4) Let X be a continuous random variable that represents the life (in hours) of a certain electronic device. The pdf of X is given by: Find

Mean of a Random Variable (Example 4) Solution

Mean of a Random Variable (Ex. 4.5) Let X be a random variable with density function Find

Mean of a Random Variable (Ex4.5) Solution

Exercises

Variance

Variance of a Random Variable In Figure 4.1 we have the histograms of two discrete probability distributions with the same mean  = 2 that differ considerably in the variability or dispersion of their observations about the mean. Figure 4.1 Distributions with equal means and unequal dispersions.

Variance of a Random Variables The most important measure of variability of a random variable X is called the variance of X and is denoted by Var (X) or

Variance of a Random Variables Let X be a random variable with a probability distribution f(x) and mean  . The variance of X is defined by: Definition 4.3:

Variance of a Random Variable Definition : The positive square root of the variance of X , ,is called the standard deviation of X Note:

Variance of a Random Variable (Ex 4.8) Let the random variable X represent the number of automobiles that are used for official business purposes on any given workday. The probability distribution for company A [ Figure 4.1(a )] is x 1 2 3 f(x) 0.3 0.4 0.3

Variance of a Random Variables(Ex 4.8) For company B [ Figure 4.1(b )] is x 1 2 3 4 f(x) 0.2 0.1 0.3 0.3 0.1 Show that the variance of the probability dist. for company B is greater than that of company A.

Variance of a Random Variables(Ex 4.8) Solution: For company A we find that:

Variance of a Random Variables(Ex 4.8) For company B we find that:

Variance of a Random Variables(Ex 4.8) Clearly, the variance of the number of automobiles that are used for official business purposes is greater for company B than for company A.

Variance of a Random Variables The variance of a random variable X is Theorem 4.2:

Variance of a Random Variable For the discrete case we can write: Proof:

Let X be a discrete random variable with the following probability distribution x 1 2 3 f(x) 0.15 0.38 0.10 0.01 Find Var (X) . Variance of a Random Variables(Ex 4.9)

Variance of a Random Variables(Ex 4.8) Solution: =0.87  (0.61) 2 = 0.4979

The weekly demand for Pepsi, in thousands of liters , from a local chain of efficiency stores, is a continuous random variable X having the probability density Find the mean and variance of X . Variance of a Random Variable (Ex 4.10)

Variance of a Random Variables(Ex 4.10) Solution:

Mean of a Random Variable Let X be a random variable with a prob. distribution f(x ), and let g(X ) be a function of the random variable X . The variance of the random variable g(X ) is : Theorem 4.3:

Calculate the variance of g(X) = 2X +3 where X be a discrete random variable with the following probability distribution x 1 2 3 f(x) 0.25 0.125 0.5 0.125 Variance of a Random Variables(Ex 4.11)

Solution Variance of a Random Variables(Ex 4.11) 2x+3 3 5 7 9 f(x) 0.25 0.125 0.5 0.125 First let us find the mean of the random variable 2X +3

Variance of a Random Variables(Ex 4.11) 4x 2 -12x+9 9 1 1 9 f(x) 0.25 0.125 0.5 0.125

Variance of a Random Variable If we use Theorem 4.2 we will get the same answer:

Variance of a Random Variables(Ex 4.11) 4x 2 +12x+9 9 25 49 81 f(x) 0.25 0.125 0.5 0.125

Exercise

Means and Variances of Linear Combinations of Random Variables

If X 1 , X 2 , …, X n are n random variables and a 1 , a 2 , …, a n are constants, then the random variable : is called a linear combination of the random variables X 1 ,X 2 ,…, X n . Linear Combination of random variables

If X is a random variable with mean  =E(X ), and if a and b are constants, then: E( aXb ) = a E(X)  b     aXb = a  X ± b Theorem 4.5: Linear Combination of random variables

Setting a = 0 in Theorem 4.5 , we see that E(b) = b . Corollary 4.1: Corollary 4.2: Setting b = 0 in Theorem 4.5 , we see that E( aX ) = aE (X) . Linear Combination of random variables

Let X be a random variable with the following probability density function: Find E(4X+3). Linear Combination of r.v . Example 4.16

Solution: 5/4 Linear Combination of r.v . Example 4.16 E(4X+3) = 4 E(X)+3 = 4(5/4) + 3 =8

Linear Combination of r.v . Example 4.16 Another solution: ; g(X) = 4X+3 E(4 X +3) =

If X 1 , X 2 , …, X n are n random variables and a 1 , a 2 , …, a n are constants, then: E(a 1 X 1 +a 2 X 2 + … + a n X n ) = a 1 E(X 1 )+ a 2 E(X 2 )+ …+ a n E ( X n )  Theorem : Linear Combination of random variables

Corollary : Linear Combination of random variables If X , and Y are random variables, then: E(X ± Y) = E(X) ± E(Y)

Linear Combination of random variables Theorem 4.9 : If X is a random variable with variance and if a and b are constants, then: 

Setting a = 1 in Theorem 4.9 , we see that Corollary 4.6: Corollary 4.7: Setting b = 0 in Theorem 4.9 , we see that Linear Combination of random variables

If X 1 , X 2 , …, X n are n independent random variables and a 1 , a 2 , …, a n are constants, then:  Theorem : Linear Combination of random variables

If X, and Y are independent random variables, then:·    Corollary : Linear Combination of random variables

Linear Combination of r.v . (EX 4.20) If X, and Y are independent random variables, with .    Find the variance of the random variable

Solution: Linear Combination of r.v . (EX 4.20)

If X, and Y are independent random variables, with .    Linear Combination of r.v . (Example) Find:

Solution: Linear Combination of r.v . (EX 4.20)

Exercise

The End
Tags