Mathematical Expectation and Chebyshev's Theorem: Engineering Data Analysis, Slides of Data Analysis & Statistical Methods

A focused overview of mathematical expectation, covering the mean, variance, and covariance of random variables. Examples and applications include calculating expected gains in gambling and determining variance in probability distributions. Chebyshev's theorem is discussed for estimating probabilities when the distribution is unknown. Valuable for engineering data analysis or probability theory students, it offers clear explanations and practical examples. Key concepts include linear combinations of random variables and their means and variances, providing a guide to mathematical expectation and its applications. It also explores the limitations of Chebyshev's theorem in statistical analysis, making it useful for advanced learners.

Typology: Slides

2019/2020

Available from 06/04/2025

imwinter
imwinter ๐Ÿ‡ต๐Ÿ‡ญ

5

(1)

148 documents

1 / 40

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
4: Mathematical
Expectation
EM 7: Engineering Data Analysis
Second Semester, 2019-20
Pamantasan ng Lungsod ng Valenzuela
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Mathematical Expectation and Chebyshev's Theorem: Engineering Data Analysis and more Slides Data Analysis & Statistical Methods in PDF only on Docsity!

4: Mathematical

Expectation

EM 7: Engineering Data Analysis

Second Semester, 2019-

Pamantasan ng Lungsod ng Valenzuela

Lecture Outline

  • What is mathematical expectation?
  • Mean of random variables
  • Variance and covariance of random variables
  • Means and variances of linear combination of random variables
  • Chebyshevโ€™s Theorem 2

Example Assuming that fair coins were tossed, we find the probability distribution as followed: The mean of the random variable X or the mean of the probability distribution of X is: ๐œ‡ = 0 1 4

  • 1 1 2
  • 2 1 4 = 1 4 Sample points Probability ๐‘ƒ(๐‘‹ = 0) 1/ ๐‘ƒ(๐‘‹ = 1) 1/ ๐‘ƒ(๐‘‹ = 2) 1/ This means that a person who tosses 2 coins over and over again will, on the average, get 1 head per toss.

Mean of Random Variables The mean or expected value of a random variable X describes where the probability distribution is centered. 5 DEFINITION: Let X be a random variable with probability distribution ๐‘“(๐‘ฅ). The mean or expected value of X is: ๐œ‡ = ๐ธ ๐‘‹ = เท ๐‘ฅ๐‘“(๐‘ฅ) เฏซ if X is discrete. If X is continuous, ๐œ‡ = ๐ธ ๐‘‹ = เถฑ ๐‘ฅ๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ เฎถ เฌฟเฎถ

Example In a gambling game, a man is paid Php 5.00 if he gets all heads or all tails when 3 coins are tossed, and he will pay out Php 3.00 if either one of two heads show. What is his expected gain? 7 E1 (gambler will win) = {HHH, TTT} + E2 (gambler will lose) = {HHT, HTH, THH, HTT, THT, TTH} - Y - random variable that the gambler will win (expected gain) ฮผ = E(Y) = (5)(1/4) + (-3)(3/4) = - In this game, the gambler will, on average, lose Php 1.00 per toss of the 3 coins. A game is โ€œfairโ€ if the gambler on the average, come out even.

Example Let X be the random variable that denotes the life in hours of a certain electronic device. The probability density function is: ๐‘“ ๐‘ฅ = แ‰ 20, ๐‘ฅเฌท^ , ๐‘ฅ > 100 0, elsewhere Find the expected life of this type of device. 8 ฮผ = E(X) = int(-ifty,ifty) x(20,000/x3)dx = int(100,ifty) 20,000/x2 dx = 200.

Example Suppose that the number of cars X that pass through a car wash between 4:00pm and 5:00pm on any sunny Friday has the following probability distribution: Let ๐‘” ๐‘‹ = 10๐‘‹ โˆ’ 1 represent the amount of money in pesos, paid to the attendant by the manager. Find the attendantโ€™s expected earnings for this particular time period. 10 x 4 5 6 7 8 9 ๐‘ƒ(๐‘‹ = ๐‘ฅ) 1/12 1/12 1/4 1/4 1/6 1/ E[g(X)] = E(10X-1)

Example Let X be a random variable with density function: ๐‘“ ๐‘ฅ = เตž ๐‘ฅเฌถ 3 , โˆ’1 < ๐‘ฅ < 2 0, elsewhere Find the expected value of ๐‘” ๐‘‹ = 4๐‘‹ + 3. 11 E(4X + 3) = int(-1,2) (4x+3)(x^2/3) dx = 8

Example Two refills for a ballpoint pen are selected at random from a box that contains 3 blue refills, 2 red refills, and 3 green refills. If X is the number of blue refills and Y is the number of red refills selected, find the expected value of ๐‘” ๐‘‹, ๐‘Œ = ๐‘‹๐‘Œ. 13 f(x,y) 0 x 1 2 Row total y 0 3/28 9/28 3/28 15/ 1 3/14 3/14 3/ 2 1/28 1/ Column total 5/14 15/28 3/28 1 E(XY) = (0)(0)f(0,0) + (0)(1)f(0,1) + (0)(2)f(0,2) + (1)(0)f(1,0) + (1)(1)f(1,1) + (2)(0)f(2,0) = f(1,1) = 3/

Variance of Random Variables The mean does not give adequate description of the shape of the distribution. The most important measure of variability of a random variable X is obtained by letting ๐‘” ๐‘‹ = ๐‘‹ โˆ’ ๐œ‡ เฌถ^ in ๐ธ[๐‘” ๐‘‹ ]. 14

Example 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 is: and for company B is: Find the variance for the probability distributions of both companies. 16 x 1 2 3 ๐‘“(๐‘ฅ) 0.30 0.40 0. X 0 1 2 3 4 ๐‘“(๐‘ฅ) 0.20 0.10 0.30 0.30 0. A: mu = E(X) = 2. sigma2 = sum(1,3) (x-2)^2 f(x) = 0. B: mu = E(X) = 2. sigma2 = sum(0,4) (x-2)^2 f(x) = 1.

Variance of Random Variables Example: Let the random variable X represent the number of defective parts for a machine when 3 parts are sampled from a production line and tested. The following is the probability distribution of X. Using previous definition, calculate its variance. 17 DEFINITION: The variance of a random variable X is: ๐œŽเฌถ^ = ๐ธ ๐‘‹เฌถ^ โˆ’ ๐œ‡เฌถ x 1 2 3 4 ๐‘“(๐‘ฅ) 0.51 0.38 0.10 0. Solution: mu = 00.51 + 10.38 + 20.10 + 30.01 = 0. E(X2) = 00.51 + 10.38 + 40.10 + 90.01 = 0. Therefore Variance = 0.87 โ€“ 0.61^2 = 0.

Variance of Random Variables The variance or standard deviation has meaning only when two or more distributions that have the same units of measurement are compared. It would not be meaningful to compare the variance of a distribution of different quantities. We shall now extend the concept of variance of a random variable X to include random variables related to X. 19

Variance of Random Variables 20 DEFINITION: Let X be a random variable with probability distribution ๐‘“ ๐‘ฅ. The variance of random variable ๐‘”(๐‘‹) is: ๐œŽเฏš^ เฌถ(^ เฏ‘)= ๐ธ ๐‘” ๐‘‹ โˆ’ ๐œ‡เฏš เฏ‘^ เฌถ^ = เท[๐‘” ๐‘ฅ โˆ’ ๐œ‡เฏš(เฏ‘)]เฌถ๐‘“(๐‘ฅ) เฏซ if X is discrete. If X is continuous, ๐œŽเฏš^ เฌถ(^ เฏ‘)= ๐ธ ๐‘” ๐‘‹ โˆ’ ๐œ‡เฏš เฏ‘^ เฌถ^ = เถฑ ๐‘” ๐‘ฅ โˆ’ ๐œ‡เฏš เฏ‘^ เฌถ๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ เฎถ เฌฟเฎถ Example: Calculate the variance of ๐‘” ๐‘‹ = 2๐‘‹ + 3 , where X is a random variable with probability distribution, x 0 1 2 3 ๐‘“(๐‘ฅ) ยผ 1/8 ยฝ 1/ Mu_2x+3 = E(2X+3) = sum_0^3 (2x+3)f(x) = 6 Using above definition, var_2x+3 = E{[(2X+3) โ€“ mu_2X+3]^2} = E[(2X+3-6)^2] = E(4X^2 โ€“ 12X + 9) = sum_0^ (4x^2 โ€“ 12x + 9)f(x) = 4