16
Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

Embed Size (px)

Citation preview

Page 1: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

Engineering Statistics ECIV 2305

Section 2.4

The Variance of a Random Variable

Page 2: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

2

Definition of Variance The variance is a positive quantity that measures the

spread of the distribution of the random variable about its mean value.

Larger values of the variance indicate that the distribution is more spread out.

Page 3: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

3

Variance vs. Mean

Expectation or Mean Variancemeasures the central or average value of the random variable

Use μ to denote the mean

measures the spread or deviation of the random variable about its mean value

Use σ2 to denote the variance

Page 4: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

4

Fig. 2.44 Two distributions with different mean values but identical variances

Page 5: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

5

Fig. 2.45 Two distributions with identical mean values but different variances

Page 6: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

6

Calculation of Variance

(how?) XVar

lyequivalentor

XVar

22

2

XEXE

XEXE

Page 7: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

7

Standard Deviation It is the positive square root of the variance. The

symbol σ is used to denote the standard deviation. It has the same units as the random variable X, while

the variance has the square of these units.

Page 8: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

8

Example (Machine Breakdown) page 112

Calculate the variance of the repair cost.

xi 50 200 350

pi 0.3 0.2 0.5

Page 9: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

9

Example: Rolling a die once (page 114)

Game I: Player wins the dollar amount of the score obtained

Game II: → Player wins $3 if a score of 1, 2, or 3 is obtained.

→ Player wins $4 is a score of 4, 5, or 6

If X is a random variable representing the amount of money won, calculate the mean, variance, and standard deviation in the two games.

Page 10: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

10

Example: Metal Cylinder Production (page 113)

Calculate the variance and the standard deviation.

50an with , 5065.1)(

bygiven is productioncylinder metal a of pdf The2 XExxf

Page 11: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

11

Example: Concrete Slab Strength (page 114)

Calculate the variance and the standard deviation.

1.134an with , 128.0)(

bygiven isstrength slab concrete a of pdf The100 XEexf x

Page 12: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

12

Quantiles of Random Variables Additional summary measures that can provide

information about the spread of the distribution of the random variable.

The pth quantile of a random variable X is the value x for which: F(x) = p If we write the probability “p” as a percentage, then

quantiles are called percentiles; i.e. the 0.9 quantile is the same as the 90th percentile.

50th percentile is the median

Page 13: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

13

Calculation of Quantiles For example: The 90th percentile (which is also the

0.9 quantile) is the value of x for which F(x) = 0.9 i.e. 90% of the values that a random variable may take fall

below this x. In other words, there is a 90% probability that the random variable takes a value less than this x.

The 25th percentile and the 75th percentile are called “Quartiles”. The 25th percentile is the lower quartile while the 75th percentile is the upper quartile.

Page 14: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

14

…Calculation of Quantiles The lower quartile, median, and upper quartile

partition the sample space into four quarters; each of which has a probability of 0.25.

Interquartile Range: defined to be the distance between the two quartiles → Interquartile range = 75th percentile – 25th percentile

→ It provides an indication of the spread of a distribution

Page 15: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

15

Example: Metal Cylinder Production (page 121)

Calculate the upper quartile, the lower quartile, and the interquartile range.

5.505.49for , 5.745025.1)(

bygiven is productioncylinder metal a of cdf The3 xxxxF

Page 16: Engineering Statistics ECIV 2305 Section 2.4 The Variance of a Random Variable

16

Example: Batter Failure Times(page 121)

Calculate the upper quartile, the lower quartile, and the interquartile range.

0for ,

1

11)(

bygiven is productioncylinder metal a of cdf The

2

xx

xF