Professional Documents
Culture Documents
Unit 1 PDF 2
Unit 1 PDF 2
Marginal distribution of Y
(Green)
Marginal distribution of X
, and
f(x | y)
(Green)
Expectation and Moments
• Expectation:
Mathematical expectation of a random variable is the sum of the products obtained by
multiplying each value of the random variable by the corresponding probability.
E(X) = σ𝑥 𝑥. 𝑓(𝑥)
6 9 1
= 0. + 1. + 2.
11 22 22
1
=
2
Example 3: Certain coded measurements of the pitch diameter of threads of a fitting
have the probability density
4
𝑥 𝑓𝑜𝑟 0 < 𝑥 < 1
𝑓 𝑥 = ൝𝜋
0 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
Find the expected value of this random variable.
Solution:
Expected value of a continuous random variable is given by
∞
𝐸 𝑋 = න 𝑥. 𝑓 𝑥 𝑑𝑥
−∞
1
4
= න 𝑥. 𝑥 𝑑𝑥
0 𝜋
4 1 2
= න 𝑥 𝑑𝑥
𝜋 0
4
=
3𝜋
• Properties of Expectation:
✓ If a and b are constants, then E(aX + b) = a E(X) + b
✓ If a is a constant, then E(aX) = a E(X)
✓ If b is a constant, then E(b) = b
✓ If c1 , c2 , … , cn are constants, then
Example 4: If X is the number of points rolled with a balanced die, find the expected
value of g(X) = 𝟐𝑿𝟐 +1.
Solution:
Six outcomes of X : 1, 2 , 3 , 4 , 5 , 6
Six outcomes of 𝑋 2 : 12 , 22 , 32 , 42 , 52 , 62
Probability : 1/6, 1/6, 1/6, 1/6, 1/6, 1/6
1 91
Now, E(𝑋 2 ) = (12 + 22 + 32 + 42 + 52 + 62 ) . =
6 6
91 94
Then, E(2 𝑋 2 + 1) = 2. E(𝑋 2 ) + E(1) = 2. +1=
6 3