SlideShare a Scribd company logo
1 of 23
Download to read offline
Probability and Statistics
Chapter 4
Mathematical Expectation
Dr. Yehya Mesalam
Expected Value
μ
P(x)
x
E(X)
x

 


x
2
2
P(x)
x
)
E(X


x
K
K
P(x)
x
)
E(X
f(x)
)
-
(x
V(X) 2
x
2

 
 
(x
V(X) 2
2



 2
)]
(
[
) x
E
E
Discrete RV
2
Dr. Yehya Mesalam


x
P(x)
thing)
(any
thing)
E(any
Expected Value
μ
f(x
x
E(X)
x
range

  )
f(x
x
)
E(X
x
range
2
2
)


f(x
x
)
E(X
x
range
K
K
)


2
x
range
2
f(x
)
-
(x
V(X) 
 
  )
(x
V(X) 2
2



 2
)]
(
[
) x
E
E
Continuous RV
3
Dr. Yehya Mesalam

 f(x)
thing)
(any
thing)
E(any
Expected Value
b
x
E
a
b
ax
E 

 )
(
.
)
(
2
2
2
2
2
.
)
( 
 a
a
σ
b
ax
V x
b
ax 


 
If a and b are constants, then
4
Dr. Yehya Mesalam
2
2
2
2
2
.
)
( 
 a
a
σ
ax
V x
ax 


If X and Y are independent random variables
b
a
σ
by
ax
V y
x
by
ax
2
2
2
2
2
.
.
)
( 
 


 
)
(
)
(
)
( y
E
x
E
y
x
E 


)
(
).
(
)
.
( y
E
x
E
y
x
E 
Example
• A lot containing 7 components is sampled by a
quality inspector; the lot contains 4 good
components and 3 defective components. A
sample of 3 is taken by the inspector. Find the
expected value of the number of good
components in this sample, Then calculate the
variance
Dr. Yehya Mesalam
5
Solution
• Let X represent the number of good components in
the sample
• The probability distribution of X is


























3
7
3
3
4
)
(
x
x
x
f
D
G
3
4
G
3
2
1
0
{ } .
D
0
1
2
3
X =0, 1, 2, 3
Dr. Yehya Mesalam
6
X 0 1 2 3 Sum
f(x) 1/35 12/35 18/35 4/35 1
x.f(x) 0 12/35 36/35 12/35 60/35
x2.f(x) 0 12/35 72/36 36/35 120/35
7
Solution
71
.
1




  7
12
35
60
μ
f(x)
x
E(X)
x
3647
.
0
)
35
60
(
35
120
)]
(
[
) 2
2





 x
E
E 2
2
(x
V(X) 
Dr. Yehya Mesalam
Example
• Let X be the random variable that denotes the
life in hours of a certain electronic device. The
probability density function is
Find the expected life of this type of device
Dr. Yehya Mesalam
8
Solution
Dr. Yehya Mesalam
9
Example
• Suppose that the number of cars X that pass through a
car wash between 4:00 P.M. and 5:00 P.M. on any
sunny Friday has the following probability
distribution:
10
Let g(X) = 2X−1 represent the amount of money, in
dollars, paid to the attendant by the manager. Find the
attendant’s expected earnings for this particular time
period.
Dr. Yehya Mesalam
Solution
11
Dr. Yehya Mesalam
Summary Measures
1. Expected Value (Mean of probability distribution)
• Weighted average of all possible values
•  = E(x) = x p(x)
2. Variance
• Weighted average of squared deviation about
mean
• 2 = E[(x 2(x 2p(x)
3. Standard Deviation
2
 

●
Dr. Yehya Mesalam
12
Summary Calculation Table
x p(x) x p(x) x – 
Total (x 2p(x)
(x – 2 (x – 2p(x)
xp(x)
Dr. Yehya Mesalam
13
Expected Value & Variance
Solution
0 .25 –1.00 1.00
1 .50 0 0
2 .25 1.00 1.00
0
.50
.50
= 1.0
x p(x) x p(x) x –  (x – 2 (x – 2p(x)
.25
0
.25
2.50
.71
2 E[(x 2
Dr. Yehya Mesalam
14
Expected Value & Variance
Solution
0 .25 –1.00 1.00
1 .50 0 0
2 .25 1.00 1.00
0
.50
.50
= 1.0
x p(x) x p(x) x –  (x – 2 (x 2p(x)
0
.5
1
E(x)21.50
.71
21.51.00.5
2 E(x 2) [E(x2
Dr. Yehya Mesalam
15
Joint Probability function
16
Let X and Y be random variables with joint probability
distribution f(x, y). The mean, or expected value, of the
random variable g(X, Y ) is
Dr. Yehya Mesalam
Example
17
Let X and Y be the random variables with joint probability
distribution indicated in Table on slid 25from chapter 3.
Find the expected value of g(X, Y ) = XY . The table is
reprinted here for convenience.
Dr. Yehya Mesalam
Solution
18
Dr. Yehya Mesalam
Solution
19
Dr. Yehya Mesalam
Example
20
Resolve the pervious example using g(X, Y ) = X+Y
Solution
E(X+Y ) =  (x+y ) f(x,y)
= 1*(9/28) + 2*(3028) + 1* (3014) + 2*(3/14)
+ 2* (1/28)
=35 / 28
Dr. Yehya Mesalam
21
g(X, Y ) = X+Y
Solution
Dr. Yehya Mesalam
E(X+Y ) = 0* (3/28) +1*(9/28) + 2*(3/28) +
1* (3/14) + 2*(3/14) + 2* (1/28) =35 / 28
Remarks
b
x
E
a
b
ax
E 

 )
(
.
)
(
2
2
2
2
2
.
)
( 
 a
a
σ
b
ax
V x
b
ax 


 
If a and b are constants, then
22
Dr. Yehya Mesalam
2
2
2
2
2
.
)
( 
 a
a
σ
ax
V x
ax 


If X and Y are independent random variables
b
a
σ
by
ax
V y
x
by
ax
2
2
2
2
2
.
.
)
( 
 


 
)
(
)
(
)
( y
E
x
E
y
x
E 


)
(
).
(
)
.
( y
E
x
E
y
x
E 
23
23
Dr. Yehya Mesalam

More Related Content

Similar to Chapter 4 2022.pdf

X02 Supervised learning problem linear regression multiple features
X02 Supervised learning problem linear regression multiple featuresX02 Supervised learning problem linear regression multiple features
X02 Supervised learning problem linear regression multiple features
Marco Moldenhauer
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
vedantsk1
 
8 2power Of Power
8 2power Of Power8 2power Of Power
8 2power Of Power
taco40
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
Viraj Patel
 

Similar to Chapter 4 2022.pdf (20)

Probability Theory 9
Probability Theory 9Probability Theory 9
Probability Theory 9
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notes
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
 
Chapter 4-1 (1).pptx
Chapter 4-1 (1).pptxChapter 4-1 (1).pptx
Chapter 4-1 (1).pptx
 
IVR - Chapter 5 - Bayesian methods
IVR - Chapter 5 - Bayesian methodsIVR - Chapter 5 - Bayesian methods
IVR - Chapter 5 - Bayesian methods
 
X02 Supervised learning problem linear regression multiple features
X02 Supervised learning problem linear regression multiple featuresX02 Supervised learning problem linear regression multiple features
X02 Supervised learning problem linear regression multiple features
 
Course notes2summer2012
Course notes2summer2012Course notes2summer2012
Course notes2summer2012
 
Ece3075 a 8
Ece3075 a 8Ece3075 a 8
Ece3075 a 8
 
Section3 stochastic
Section3 stochasticSection3 stochastic
Section3 stochastic
 
Slides erasmus
Slides erasmusSlides erasmus
Slides erasmus
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
 
8 2power Of Power
8 2power Of Power8 2power Of Power
8 2power Of Power
 
Chapter 5 2022.pdf
Chapter 5 2022.pdfChapter 5 2022.pdf
Chapter 5 2022.pdf
 
Numarical values
Numarical valuesNumarical values
Numarical values
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
 
Kernels and Support Vector Machines
Kernels and Support Vector  MachinesKernels and Support Vector  Machines
Kernels and Support Vector Machines
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability Distribution
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
 
138191 rvsp lecture notes
138191 rvsp lecture notes138191 rvsp lecture notes
138191 rvsp lecture notes
 
Summer Proj.
Summer Proj.Summer Proj.
Summer Proj.
 

More from Mohamed Ali (14)

Sheet 1.pdf
Sheet 1.pdfSheet 1.pdf
Sheet 1.pdf
 
Chapter 7 2022.pdf
Chapter 7 2022.pdfChapter 7 2022.pdf
Chapter 7 2022.pdf
 
Chapter 2 2022.pdf
Chapter 2 2022.pdfChapter 2 2022.pdf
Chapter 2 2022.pdf
 
Chapter 1 2022.pdf
Chapter 1 2022.pdfChapter 1 2022.pdf
Chapter 1 2022.pdf
 
Chapter 1 2021.pdf
Chapter 1 2021.pdfChapter 1 2021.pdf
Chapter 1 2021.pdf
 
Chapter 6 2022.pdf
Chapter 6 2022.pdfChapter 6 2022.pdf
Chapter 6 2022.pdf
 
Ch 6.pdf
Ch 6.pdfCh 6.pdf
Ch 6.pdf
 
Ch 5.pdf
Ch 5.pdfCh 5.pdf
Ch 5.pdf
 
Ch 4.pdf
Ch 4.pdfCh 4.pdf
Ch 4.pdf
 
Ch 3.pdf
Ch 3.pdfCh 3.pdf
Ch 3.pdf
 
Ch 2.pdf
Ch 2.pdfCh 2.pdf
Ch 2.pdf
 
Ch 1.pdf
Ch 1.pdfCh 1.pdf
Ch 1.pdf
 
information system Ch 2
information system Ch 2information system Ch 2
information system Ch 2
 
Information system
Information systemInformation system
Information system
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Recently uploaded (20)

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 

Chapter 4 2022.pdf

  • 1. Probability and Statistics Chapter 4 Mathematical Expectation Dr. Yehya Mesalam
  • 2. Expected Value μ P(x) x E(X) x      x 2 2 P(x) x ) E(X   x K K P(x) x ) E(X f(x) ) - (x V(X) 2 x 2      (x V(X) 2 2     2 )] ( [ ) x E E Discrete RV 2 Dr. Yehya Mesalam   x P(x) thing) (any thing) E(any
  • 3. Expected Value μ f(x x E(X) x range    ) f(x x ) E(X x range 2 2 )   f(x x ) E(X x range K K )   2 x range 2 f(x ) - (x V(X)      ) (x V(X) 2 2     2 )] ( [ ) x E E Continuous RV 3 Dr. Yehya Mesalam   f(x) thing) (any thing) E(any
  • 4. Expected Value b x E a b ax E    ) ( . ) ( 2 2 2 2 2 . ) (   a a σ b ax V x b ax      If a and b are constants, then 4 Dr. Yehya Mesalam 2 2 2 2 2 . ) (   a a σ ax V x ax    If X and Y are independent random variables b a σ by ax V y x by ax 2 2 2 2 2 . . ) (        ) ( ) ( ) ( y E x E y x E    ) ( ). ( ) . ( y E x E y x E 
  • 5. Example • A lot containing 7 components is sampled by a quality inspector; the lot contains 4 good components and 3 defective components. A sample of 3 is taken by the inspector. Find the expected value of the number of good components in this sample, Then calculate the variance Dr. Yehya Mesalam 5
  • 6. Solution • Let X represent the number of good components in the sample • The probability distribution of X is                           3 7 3 3 4 ) ( x x x f D G 3 4 G 3 2 1 0 { } . D 0 1 2 3 X =0, 1, 2, 3 Dr. Yehya Mesalam 6
  • 7. X 0 1 2 3 Sum f(x) 1/35 12/35 18/35 4/35 1 x.f(x) 0 12/35 36/35 12/35 60/35 x2.f(x) 0 12/35 72/36 36/35 120/35 7 Solution 71 . 1       7 12 35 60 μ f(x) x E(X) x 3647 . 0 ) 35 60 ( 35 120 )] ( [ ) 2 2       x E E 2 2 (x V(X)  Dr. Yehya Mesalam
  • 8. Example • Let X be the random variable that denotes the life in hours of a certain electronic device. The probability density function is Find the expected life of this type of device Dr. Yehya Mesalam 8
  • 10. Example • Suppose that the number of cars X that pass through a car wash between 4:00 P.M. and 5:00 P.M. on any sunny Friday has the following probability distribution: 10 Let g(X) = 2X−1 represent the amount of money, in dollars, paid to the attendant by the manager. Find the attendant’s expected earnings for this particular time period. Dr. Yehya Mesalam
  • 12. Summary Measures 1. Expected Value (Mean of probability distribution) • Weighted average of all possible values •  = E(x) = x p(x) 2. Variance • Weighted average of squared deviation about mean • 2 = E[(x 2(x 2p(x) 3. Standard Deviation 2    ● Dr. Yehya Mesalam 12
  • 13. Summary Calculation Table x p(x) x p(x) x –  Total (x 2p(x) (x – 2 (x – 2p(x) xp(x) Dr. Yehya Mesalam 13
  • 14. Expected Value & Variance Solution 0 .25 –1.00 1.00 1 .50 0 0 2 .25 1.00 1.00 0 .50 .50 = 1.0 x p(x) x p(x) x –  (x – 2 (x – 2p(x) .25 0 .25 2.50 .71 2 E[(x 2 Dr. Yehya Mesalam 14
  • 15. Expected Value & Variance Solution 0 .25 –1.00 1.00 1 .50 0 0 2 .25 1.00 1.00 0 .50 .50 = 1.0 x p(x) x p(x) x –  (x – 2 (x 2p(x) 0 .5 1 E(x)21.50 .71 21.51.00.5 2 E(x 2) [E(x2 Dr. Yehya Mesalam 15
  • 16. Joint Probability function 16 Let X and Y be random variables with joint probability distribution f(x, y). The mean, or expected value, of the random variable g(X, Y ) is Dr. Yehya Mesalam
  • 17. Example 17 Let X and Y be the random variables with joint probability distribution indicated in Table on slid 25from chapter 3. Find the expected value of g(X, Y ) = XY . The table is reprinted here for convenience. Dr. Yehya Mesalam
  • 20. Example 20 Resolve the pervious example using g(X, Y ) = X+Y Solution E(X+Y ) =  (x+y ) f(x,y) = 1*(9/28) + 2*(3028) + 1* (3014) + 2*(3/14) + 2* (1/28) =35 / 28 Dr. Yehya Mesalam
  • 21. 21 g(X, Y ) = X+Y Solution Dr. Yehya Mesalam E(X+Y ) = 0* (3/28) +1*(9/28) + 2*(3/28) + 1* (3/14) + 2*(3/14) + 2* (1/28) =35 / 28
  • 22. Remarks b x E a b ax E    ) ( . ) ( 2 2 2 2 2 . ) (   a a σ b ax V x b ax      If a and b are constants, then 22 Dr. Yehya Mesalam 2 2 2 2 2 . ) (   a a σ ax V x ax    If X and Y are independent random variables b a σ by ax V y x by ax 2 2 2 2 2 . . ) (        ) ( ) ( ) ( y E x E y x E    ) ( ). ( ) . ( y E x E y x E 