Top Banner
logo1 Expected Value Variance Expected Value and Variance for Continuous Random Variables Bernd Schr ¨ oder Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Expected Value and Variance for Continuous Random Variables
187

Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

Jul 23, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Expected Value and Variance forContinuous Random Variables

Bernd Schroder

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 2: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Introduction

1. The underlying ideas for expected value and variance arethe same as for discrete distributions.

2. The expected value gives us the expected long termaverage of measurements. (The Central Limit Theoremwill formally confirm this statement.)

3. The variance is a measure how spread out the distributionis.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 3: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Introduction1. The underlying ideas for expected value and variance are

the same as for discrete distributions.

2. The expected value gives us the expected long termaverage of measurements. (The Central Limit Theoremwill formally confirm this statement.)

3. The variance is a measure how spread out the distributionis.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 4: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Introduction1. The underlying ideas for expected value and variance are

the same as for discrete distributions.2. The expected value gives us the expected long term

average of measurements.

(The Central Limit Theoremwill formally confirm this statement.)

3. The variance is a measure how spread out the distributionis.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 5: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Introduction1. The underlying ideas for expected value and variance are

the same as for discrete distributions.2. The expected value gives us the expected long term

average of measurements. (The Central Limit Theoremwill formally confirm this statement.)

3. The variance is a measure how spread out the distributionis.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 6: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Introduction1. The underlying ideas for expected value and variance are

the same as for discrete distributions.2. The expected value gives us the expected long term

average of measurements. (The Central Limit Theoremwill formally confirm this statement.)

3. The variance is a measure how spread out the distributionis.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 7: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability

1. In the discrete expected value, the outcome x contributes asummand xP(X = x).

2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 8: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).

2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 9: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0

, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 10: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 11: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 12: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-

x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 13: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-

x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 14: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x

x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 15: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx

����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 16: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 17: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 18: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.

4. The summation becomes an integral.“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 19: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 20: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

From Discrete to Continuous Probability1. In the discrete expected value, the outcome x contributes a

summand xP(X = x).2. In the continuous setting, P(X = x) = 0, but

fX

-x x+dx����������

probability to

be in [x,x+dx] is

approximately

fX(x) dx (shaded)

3. So an interval [x,x+dx] should contribute about xfX(x) dx.4. The summation becomes an integral.

“Integrals are continuous sums.”

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 21: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition.

The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 22: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 23: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X)

:= µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 24: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX

:=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 25: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 26: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 27: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 28: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 29: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The expected value or mean of a continuousrandom variable X with probability density function fX is

E(X) := µX :=∫

−∞

xfX(x) dx.

This formula is exactly the same as the formula for the center ofmass of a linear mass density of total mass 1.

Cx =∫

−∞

xρ(x) dx.

Hence the analogy between probability and mass andprobability density and mass density persists.

As noted, the Central Limit Theorem will show that theexpected value gives the long term averages of sample values.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 30: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 31: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 32: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 33: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 34: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

q

E(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 35: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 36: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 37: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value.

Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 38: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value.

(So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 39: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The Expected Value Itself Need Not Be VeryLikely

qE(X)

So we should not necessarily expect measurements to givenumbers near the expected value. Instead, long term averageswill be near the expected value. (So maybe “expected average”would be more accurate, but “expected value” is customary.)

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 40: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 41: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.

The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 42: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 43: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 44: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B)

=∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 45: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx

=∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 46: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

A

x1

B−Adx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 47: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 48: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 49: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 50: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 51: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)

=B+A

2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 52: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 53: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a randomvariable UA,B that is uniformly distributed over the interval

[A,B] is f (x;A,B) ={ 1

B−A ; for A≤ x≤ B,

0; otherwise.The expected

value is E(UA,B) =A+B

2.

Proof.

E(UA,B) =∫

−∞

xf (x;A,B) dx =∫ B

Ax

1B−A

dx

=1

2(B−A)x2∣∣∣∣BA

=B2−A2

2(B−A)=

B+A2

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 54: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 55: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 56: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 57: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 58: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A

BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 59: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A

BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 60: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A B

uB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 61: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A B

uB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 62: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A Bu

B−A2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 63: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 64: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

A BuB−A

2

AAA�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 65: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 66: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 67: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 68: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof.

Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 69: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 70: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 71: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning.

Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 72: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of an exponentiallydistributed random variable WΘ is

f (x;Θ) ={ 1

Θe−

xΘ ; for x≥ 0,0; otherwise.

The expected value is

E(WΘ) = Θ.

Proof. Good exercise for integration by parts.

Warning. Exponential distributions are also often given using

the parameter λ =1Θ

.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 73: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

tΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 74: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

tΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 75: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

tΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 76: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

tΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 77: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

tΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 78: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

t

ΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 79: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

LLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 80: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

tΘLLL�

��

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 81: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 82: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 83: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 84: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof.

Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 85: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σ

leads todzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 86: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 87: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 88: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ )

=∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 89: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx

=∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 90: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 91: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 92: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz

= 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 93: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ

= µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 94: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 95: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. The probability density function of a normallydistributed random variable Nµ,σ with parameters µ and σ is

f (x; µ,σ) =1

σ√

2πe−

(x−µ)2

2σ2 .

The expected value is E(Nµ,σ ) = µ.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σ dz.

E(Nµ,σ ) =∫

−∞

x1

σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

x1

σ√

2πe−

( x−µσ )2

2 dx

=∫

−∞

(zσ + µ)1

σ√

2πe−

z22 σ dz

=∫

−∞

zσ1√2π

e−z22 dz+

∫∞

−∞

µ1√2π

e−z22 dz = 0+ µ = µ.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 96: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

sµBBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 97: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

sµBBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 98: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

sµBBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 99: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

sµBBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 100: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

s

µBBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 101: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

BBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 102: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Visualization

sµBBB���

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 103: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

If X is a continuous random variable with densityfunction fX and g(·) is a function, then

E(g(X)

)=∫

−∞

g(x)fX(x) dx.

Theorem. If X is a continuous random variable, g(·) and h(·)are functions, and a,b,c are numbers, then the expected valueof ag(X)+bh(X)+ c is

E(ag(X)+bh(X)+ c

)= aE

(g(X)

)+bE

(h(X)

)+ c

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 104: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. If X is a continuous random variable with densityfunction fX and g(·) is a function, then

E(g(X)

)=∫

−∞

g(x)fX(x) dx.

Theorem. If X is a continuous random variable, g(·) and h(·)are functions, and a,b,c are numbers, then the expected valueof ag(X)+bh(X)+ c is

E(ag(X)+bh(X)+ c

)= aE

(g(X)

)+bE

(h(X)

)+ c

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 105: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. If X is a continuous random variable with densityfunction fX and g(·) is a function, then

E(g(X)

)=∫

−∞

g(x)fX(x) dx.

Theorem.

If X is a continuous random variable, g(·) and h(·)are functions, and a,b,c are numbers, then the expected valueof ag(X)+bh(X)+ c is

E(ag(X)+bh(X)+ c

)= aE

(g(X)

)+bE

(h(X)

)+ c

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 106: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. If X is a continuous random variable with densityfunction fX and g(·) is a function, then

E(g(X)

)=∫

−∞

g(x)fX(x) dx.

Theorem. If X is a continuous random variable, g(·) and h(·)are functions, and a,b,c are numbers, then the expected valueof ag(X)+bh(X)+ c is

E(ag(X)+bh(X)+ c

)= aE

(g(X)

)+bE

(h(X)

)+ c

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 107: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurements

handmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 108: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 109: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 110: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 111: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+

++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 112: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ +

+ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 113: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++

+ ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 114: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ +

++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 115: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + +

+ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 116: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++

++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 117: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ +

+ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 118: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++

++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 119: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ +

+

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 120: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 121: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 122: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 123: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 124: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+

+++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 125: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +

++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 126: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ ++

+ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 127: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++

+ +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 128: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ +

+++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 129: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +

++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 130: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + ++

+ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 131: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++

++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 132: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ +

+

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 133: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

The “Spread” of Measurementshandmeasurement

-

average

+ ++ + ++ ++ ++

electronicmeasurement

-

average

+ +++ + +++ ++

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 134: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition.

The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 135: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 136: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X)

:= E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 137: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 138: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 139: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 140: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem.

V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 141: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 142: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.

V(X) = E((

X−E(X))2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 143: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X)

= E((

X−E(X))2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 144: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 145: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 146: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2

= E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 147: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 148: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Definition. The variance of a continuous random variable Xwith probability density function fX is

V(X) := E((

X−E(X))2)

=∫

−∞

(x−E(X)

)2fX(x) dx.

The standard deviation of X is σX :=√

V(X).

Theorem. V(X) = E(X2)− (E(X)

)2.

Proof.V(X) = E

((X−E(X)

)2)

= E(

X2−2XE(X)+(E(X)

)2)

= E(X2)−2E(X)E(X)+

(E(X)

)2 = E(X2)− (E(X)

)2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 149: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 150: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B].

Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 151: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 152: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 153: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B)

= E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 154: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2

=∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 155: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 156: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4

=1

3(B−A)x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 157: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 158: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4

=(B−A)

(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 159: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 160: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4

=(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 161: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 162: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let UA,B be a random variable that is uniformly

distributed over the interval [A,B]. Then V(UA,B) =(B−A)2

12.

Proof.

V(UA,B) = E(

U2A,B

)−(E(UA,B)

)2 =∫

−∞

x2fA,B(x) dx−(

B+A2

)2

=∫ B

Ax2 1

B−Adx− (B+A)2

4=

13(B−A)

x3∣∣∣∣BA− (B+A)2

4

=B3−A3

3(B−A)− (B+A)2

4=

(B−A)(B2 +AB+A2)

3(B−A)− (B+A)2

4

=B2 +AB+A2

3− B2 +2AB+A2

4=

(B−A)2

12

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 163: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

Let WΘ be a random variable that is exponentiallydistributed with parameter Θ. Then

V(WΘ) = Θ2.

Proof. Good exercise in integration by parts.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 164: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let WΘ be a random variable that is exponentiallydistributed with parameter Θ.

Then

V(WΘ) = Θ2.

Proof. Good exercise in integration by parts.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 165: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let WΘ be a random variable that is exponentiallydistributed with parameter Θ. Then

V(WΘ) = Θ2.

Proof. Good exercise in integration by parts.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 166: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let WΘ be a random variable that is exponentiallydistributed with parameter Θ. Then

V(WΘ) = Θ2.

Proof.

Good exercise in integration by parts.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 167: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let WΘ be a random variable that is exponentiallydistributed with parameter Θ. Then

V(WΘ) = Θ2.

Proof. Good exercise in integration by parts.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 168: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let WΘ be a random variable that is exponentiallydistributed with parameter Θ. Then

V(WΘ) = Θ2.

Proof. Good exercise in integration by parts.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 169: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem.

Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 170: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ .

Then V(Nµ,σ ) = σ2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 171: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 172: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof.

Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 173: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 174: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 175: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ )

=∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 176: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx

=∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 177: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 178: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz

(integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 179: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 180: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2

[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 181: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 182: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]

= σ2 [0+1] = σ

2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 183: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2

[0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 184: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0

+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 185: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1]

= σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 186: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables

Page 187: Expected Value and Variance for Continuous Random Variables€¦ · expected value gives the long term averages of sample values. Bernd Schroder¨ Louisiana Tech University, College

logo1

Expected Value Variance

Theorem. Let Nµ,σ be a random variable that is normallydistributed with parameters µ and σ . Then V(Nµ,σ ) = σ

2.

Proof. Substitution z :=x−µ

σleads to

dzdx

=1σ

or dx = σdz.

V(Nµ,σ ) =∫

−∞

(x−µ)2 1σ√

2πe−

(x−µ)2

2σ2 dx =∫

−∞

(σz)2 1√2π

e−z22 dz

= σ2∫

−∞

z · z 1√2π

e−z22 dz (integration by parts)

= σ2[−z

1√2π

e−z22

∣∣∣∣z→∞

z→−∞

−∫

−∞

− 1√2π

e−z22 dz

]= σ

2 [0+1] = σ2.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Expected Value and Variance for Continuous Random Variables