1 1 slide © 2003 south-western/thomson learning tm slides prepared by john s. loucks st. edwards...

42
1 © 2003 South-Western/Thomson Learning © 2003 South-Western/Thomson Learning TM TM Slides Prepared by Slides Prepared by JOHN S. LOUCKS JOHN S. LOUCKS St. Edward’s University St. Edward’s University

Upload: marisa-simpkins

Post on 29-Mar-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

1 1 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Slides Prepared bySlides Prepared byJOHN S. LOUCKSJOHN S. LOUCKS

St. Edward’s UniversitySt. Edward’s University

Page 2: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

2 2 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Chapter 3Chapter 3 Descriptive Statistics: Descriptive Statistics:

Numerical Methods, Part ANumerical Methods, Part A

Measures of LocationMeasures of Location Measures of VariabilityMeasures of Variability

xx %%

Page 3: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

3 3 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Measures of LocationMeasures of Location

MeanMean MedianMedian ModeMode PercentilesPercentiles QuartilesQuartiles

Page 4: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

4 4 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

Given below is a sample of monthly rent Given below is a sample of monthly rent values ($)values ($)

for one-bedroom apartments. The data is a for one-bedroom apartments. The data is a sample of 70sample of 70

apartments in a particular city. The data are apartments in a particular city. The data are presentedpresented

in ascending order. in ascending order.

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 5: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

5 5 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

MeanMean

The The meanmean of a data set is the average of all of a data set is the average of all the data values.the data values.

If the data are from a sample, the mean is If the data are from a sample, the mean is denoted by denoted by

..

If the data are from a population, the mean is If the data are from a population, the mean is denoted by denoted by (mu). (mu).

xxnixxni

xNi x

Ni

xx

Page 6: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

6 6 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

MeanMean

xxni 34 35670

490 80,

.xxni 34 35670

490 80,

.

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 7: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

7 7 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

MedianMedian

The The medianmedian is the measure of location most is the measure of location most often reported for annual income and property often reported for annual income and property value data.value data.

A few extremely large incomes or property A few extremely large incomes or property values can inflate the mean.values can inflate the mean.

Page 8: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

8 8 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

MedianMedian

The The medianmedian of a data set is the value in the of a data set is the value in the middle when the data items are arranged in middle when the data items are arranged in ascending order.ascending order.

For an odd number of observations, the For an odd number of observations, the median is the middle value.median is the middle value.

For an even number of observations, the For an even number of observations, the median is the average of the two middle median is the average of the two middle values.values.

Page 9: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

9 9 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

MedianMedian

Median = 50th percentileMedian = 50th percentile

i i = (= (pp/100)/100)nn = (50/100)70 = 35.5 = (50/100)70 = 35.5 Averaging the 35th and Averaging the 35th and

36th data values:36th data values:

Median = (475 + 475)/2 = 475Median = (475 + 475)/2 = 475425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 10: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

10 10 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

ModeMode

The The modemode of a data set is the value that occurs of a data set is the value that occurs with greatest frequency.with greatest frequency.

The greatest frequency can occur at two or The greatest frequency can occur at two or more different values.more different values.

If the data have exactly two modes, the data If the data have exactly two modes, the data are are bimodalbimodal..

If the data have more than two modes, the If the data have more than two modes, the data are data are multimodalmultimodal..

Page 11: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

11 11 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

ModeMode

450 occurred most frequently (7 450 occurred most frequently (7 times)times)

Mode = 450Mode = 450425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 12: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

12 12 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Using Excel to ComputeUsing Excel to Computethe Mean, Median, and Modethe Mean, Median, and Mode

Formula WorksheetFormula Worksheet

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

A B C D E

1Apart-ment

Monthly Rent ($)

2 1 525 Mean =AVERAGE(B2:B71)3 2 440 Median =MEDIAN(B2:B71)4 3 450 Mode =MODE(B2:B71)5 4 6156 5 480

Page 13: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

13 13 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Value WorksheetValue Worksheet

Using Excel to ComputeUsing Excel to Computethe Mean, Median, and Modethe Mean, Median, and Mode

A B C D E

1Apart-ment

Monthly Rent ($)

2 1 525 Mean 490.803 2 440 Median 475.004 3 450 Mode 450.005 4 6156 5 480

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

Page 14: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

14 14 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

PercentilesPercentiles

A percentile provides information about how A percentile provides information about how the data are spread over the interval from the the data are spread over the interval from the smallest value to the largest value.smallest value to the largest value.

Admission test scores for colleges and Admission test scores for colleges and universities are frequently reported in terms of universities are frequently reported in terms of percentiles.percentiles.

Page 15: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

15 15 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

The The ppth percentileth percentile of a data set is a value such of a data set is a value such that at least that at least pp percent of the items take on this percent of the items take on this value or less and at least (100 - value or less and at least (100 - pp) percent of ) percent of the items take on this value or more.the items take on this value or more.

• Arrange the data in ascending order.Arrange the data in ascending order.

• Compute index Compute index ii, the position of the , the position of the ppth th percentile.percentile.

ii = ( = (pp/100)/100)nn

• If If ii is not an integer, round up. The is not an integer, round up. The pp th th percentile is the value in the percentile is the value in the ii th position.th position.

• If If ii is an integer, the is an integer, the pp th percentile is the th percentile is the average of the values in positionsaverage of the values in positions i i and and ii +1.+1.

PercentilesPercentiles

Page 16: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

16 16 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

90th Percentile90th Percentile

ii = ( = (pp/100)/100)nn = (90/100)70 = 63 = (90/100)70 = 63

Averaging the 63rd and 64th data Averaging the 63rd and 64th data values:values:

90th Percentile = (580 + 590)/2 = 90th Percentile = (580 + 590)/2 = 585585425 430 430 435 435 435 435 435 440 440

440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 17: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

17 17 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

QuartilesQuartiles

Quartiles are specific percentilesQuartiles are specific percentiles First Quartile = 25th PercentileFirst Quartile = 25th Percentile Second Quartile = 50th Percentile = MedianSecond Quartile = 50th Percentile = Median Third Quartile = 75th PercentileThird Quartile = 75th Percentile

Page 18: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

18 18 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

Third QuartileThird Quartile

Third quartile = 75th percentileThird quartile = 75th percentile

i i = (= (pp/100)/100)nn = (75/100)70 = 52.5 = = (75/100)70 = 52.5 = 5353

Third quartile = 525Third quartile = 525425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 19: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

19 19 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Using Excel to ComputeUsing Excel to ComputePercentiles and QuartilesPercentiles and Quartiles

Unsorted Monthly Rent ($)Unsorted Monthly Rent ($)

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

A B C D E F

1Apart-ment

Monthly Rent ($)

2 1 525 3 2 440 4 3 450 5 4 6156 5 480

Page 20: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

20 20 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Sorting DataSorting Data

Step 1Step 1 Select any cell containing data in column Select any cell containing data in column BB

Step 2Step 2 Select the Select the Data Data pull-down menupull-down menu

Step 3Step 3 Choose the Choose the SortSort option option

Step 4Step 4 When the Sort dialog box appears: When the Sort dialog box appears:

In the In the Sort bySort by box, make sure that box, make sure that Monthly Rent ($)Monthly Rent ($) appears and that appears and that Ascending Ascending is selectedis selected

In the In the My list hasMy list has box, make sure that box, make sure that Header rowHeader row is selected is selected

Click Click OKOK

Using Excel to ComputeUsing Excel to ComputePercentiles and QuartilesPercentiles and Quartiles

Page 21: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

21 21 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Sorted Monthly Rent ($)Sorted Monthly Rent ($)

Using Excel to ComputeUsing Excel to ComputePercentiles and QuartilesPercentiles and Quartiles

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

A B C D E F

1Apart-ment

Monthly Rent ($)

2 1 425 3 2 430 4 3 430 5 4 4356 5 435

Page 22: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

22 22 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Formula Worksheet for 90Formula Worksheet for 90thth Percentile’s Index Percentile’s Index

Using Excel to ComputeUsing Excel to ComputePercentiles and QuartilesPercentiles and Quartiles

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

A B C D E F

1Apart-ment

Monthly Rent ($)

Number of Observations Percentile Index i

2 1 425 70 90 =(E2/100)*D23 2 430 4 3 430 5 4 4356 5 435

Page 23: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

23 23 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Value Worksheet for 90Value Worksheet for 90thth Percentile’s Index Percentile’s Index

Using Excel to ComputeUsing Excel to ComputePercentiles and QuartilesPercentiles and Quartiles

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

A B C D E F

1Apart-ment

Monthly Rent ($)

Number of Observations Percentile Index i

2 1 425 70 90 63.003 2 430 4 3 430 5 4 4356 5 435

Page 24: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

24 24 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Value Worksheet for 3Value Worksheet for 3rdrd Quartile’s Index Quartile’s Index

Using Excel to ComputeUsing Excel to ComputePercentiles and QuartilesPercentiles and Quartiles

Note: Rows 7-71 are not shown.Note: Rows 7-71 are not shown.

A B C D E F

1Apart-ment

Monthly Rent ($)

Number of Observations Percentile Index i

2 1 425 70 75 52.503 2 430 4 3 430 5 4 4356 5 435

Page 25: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

25 25 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Measures of VariabilityMeasures of Variability

It is often desirable to consider measures of It is often desirable to consider measures of variability (dispersion), as well as measures of variability (dispersion), as well as measures of location.location.

For example, in choosing supplier A or supplier For example, in choosing supplier A or supplier B we might consider not only the average B we might consider not only the average delivery time for each, but also the variability delivery time for each, but also the variability in delivery time for each. in delivery time for each.

Page 26: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

26 26 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Measures of VariabilityMeasures of Variability

RangeRange Interquartile RangeInterquartile Range VarianceVariance Standard DeviationStandard Deviation Coefficient of VariationCoefficient of Variation

Page 27: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

27 27 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

RangeRange

The The rangerange of a data set is the difference of a data set is the difference between the largest and smallest data values.between the largest and smallest data values.

It is the It is the simplest measuresimplest measure of variability. of variability. It is It is very sensitivevery sensitive to the smallest and largest to the smallest and largest

data values.data values.

Page 28: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

28 28 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

RangeRange

Range = largest value - smallest Range = largest value - smallest value value

Range = 615 - 425 = 190Range = 615 - 425 = 190425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 29: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

29 29 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Interquartile RangeInterquartile Range

The The interquartile rangeinterquartile range of a data set is the of a data set is the difference between the third quartile and the first difference between the third quartile and the first quartile.quartile.

It is the range for the It is the range for the middle 50%middle 50% of the data. of the data. It It overcomes the sensitivityovercomes the sensitivity to extreme data to extreme data

values.values.

Page 30: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

30 30 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

Interquartile RangeInterquartile Range

3rd Quartile (3rd Quartile (QQ3) = 5253) = 525

1st Quartile (1st Quartile (QQ1) = 4451) = 445

Interquartile Range = Interquartile Range = QQ3 - 3 - QQ1 = 525 - 445 = 1 = 525 - 445 = 8080

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

425 430 430 435 435 435 435 435 440 440440 440 440 445 445 445 445 445 450 450450 450 450 450 450 460 460 460 465 465465 470 470 472 475 475 475 480 480 480480 485 490 490 490 500 500 500 500 510510 515 525 525 525 535 549 550 570 570575 575 580 590 600 600 600 600 615 615

Page 31: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

31 31 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

VarianceVariance

The The variancevariance is a measure of variability that is a measure of variability that utilizes all the data.utilizes all the data.

It is based on the difference between the value It is based on the difference between the value of each observation (of each observation (xxii) and the mean () and the mean (xx for a for a sample, sample, for a population). for a population).

Page 32: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

32 32 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

VarianceVariance

The variance is the The variance is the average of the squared average of the squared differencesdifferences between each data value and the between each data value and the mean.mean.

If the data set is a sample, the variance is If the data set is a sample, the variance is denoted by denoted by ss22. .

If the data set is a population, the variance is If the data set is a population, the variance is denoted by denoted by 22..

sxi x

n2

2

1

( )s

xi x

n2

2

1

( )

22

( )xNi 2

2

( )xNi

Page 33: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

33 33 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Standard DeviationStandard Deviation

The The standard deviationstandard deviation of a data set is the of a data set is the positive square root of the variance.positive square root of the variance.

It is measured in the It is measured in the same units as the datasame units as the data, , making it more easily comparable, than the making it more easily comparable, than the variance, to the mean.variance, to the mean.

If the data set is a sample, the standard If the data set is a sample, the standard deviation is denoted deviation is denoted ss..

If the data set is a population, the standard If the data set is a population, the standard deviation is denoted deviation is denoted (sigma). (sigma).

s s 2s s 2

2 2

Page 34: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

34 34 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Coefficient of VariationCoefficient of Variation

The The coefficient of variationcoefficient of variation indicates how large indicates how large the standard deviation is in relation to the the standard deviation is in relation to the mean.mean.

If the data set is a sample, the coefficient of If the data set is a sample, the coefficient of variation is computed as follows:variation is computed as follows:

If the data set is a population, the coefficient If the data set is a population, the coefficient of variation is computed as follows:of variation is computed as follows:

sx( )100sx( )100

( )100

( )100

Page 35: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

35 35 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Example: Apartment RentsExample: Apartment Rents

VarianceVariance

Standard DeviationStandard Deviation

Coefficient of VariationCoefficient of Variation

sxi x

n2

2

12 996 16

( ), .s

xi x

n2

2

12 996 16

( ), .

s s 2 2996 47 54 74. .s s 2 2996 47 54 74. .

sx

10054 74490 80

100 11 15..

.sx

10054 74490 80

100 11 15..

.

Page 36: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

36 36 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Using Excel to Compute the Sample Using Excel to Compute the Sample Variance, Standard Deviation, and Variance, Standard Deviation, and

Coefficient of VariationCoefficient of Variation Formula WorksheetFormula Worksheet

Note: Rows 8-71 are not shown.Note: Rows 8-71 are not shown.

A B C D E

1Apart-ment

Monthly Rent ($)

2 1 525 Mean =AVERAGE(B2:B71)3 2 440 Median =MEDIAN(B2:B71)4 3 450 Mode =MODE(B2:B71)5 4 615 Variance =VAR(B2:B71)6 5 480 Std. Dev. =STDEV(B2:B71)7 6 510 C.V. =E6/E2*100

Page 37: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

37 37 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Value WorksheetValue Worksheet

Using Excel to Compute the Sample Using Excel to Compute the Sample Variance, Standard Deviation, and Variance, Standard Deviation, and

Coefficient of VariationCoefficient of Variation

Note: Rows 8-71 are not shown.Note: Rows 8-71 are not shown.

A B C D E

1Apart-ment

Monthly Rent ($)

2 1 525 Mean 490.803 2 440 Median 475.004 3 450 Mode 450.005 4 615 Variance 2996.166 5 480 Std. Dev. 54.747 6 510 C.V. 11.15

Page 38: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

38 38 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Using Excel’sUsing Excel’sDescriptive Statistics ToolDescriptive Statistics Tool

Step 1Step 1 Select the Select the ToolsTools pull-down menu pull-down menu

Step 2Step 2 Choose the Choose the Data AnalysisData Analysis option option

Step 3Step 3 Choose Choose Descriptive StatisticsDescriptive Statistics from from the list ofthe list of

Analysis ToolsAnalysis Tools

… … continuedcontinued

Page 39: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

39 39 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Step 4Step 4 When the When the Descriptive StatisticsDescriptive Statistics dialog box dialog box appears: appears:

Enter B1:B71 in the Enter B1:B71 in the Input RangeInput Range boxbox Select Select Grouped By ColumnsGrouped By Columns

Select Select Labels in First RowLabels in First Row

Select Select Output RangeOutput Range

Enter D1 in the Enter D1 in the Output RangeOutput Range box box

Select Select Summary StatisticsSummary Statistics

Click Click OKOK

Using Excel’sUsing Excel’sDescriptive Statistics ToolDescriptive Statistics Tool

Page 40: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

40 40 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Value Worksheet (Partial)Value Worksheet (Partial)

Using Excel’sUsing Excel’sDescriptive Statistics ToolDescriptive Statistics Tool

A B C D E

1Apart-ment

Monthly Rent ($) Monthly Rent ($)

2 1 5253 2 440 Mean 490.84 3 450 Standard Error 6.5423481145 4 615 Median 4756 5 480 Mode 4507 6 510 Standard Deviation 54.737211468 7 575 Sample Variance 2996.162319

Note: Rows 9-71 are not shown.Note: Rows 9-71 are not shown.

Page 41: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

41 41 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

Value Worksheet (Partial)Value Worksheet (Partial)

Using Excel’sUsing Excel’sDescriptive Statistics ToolDescriptive Statistics Tool

A B C D E9 8 430 Kurtosis -0.33409329810 9 440 Skewness 0.92433047311 10 450 Range 19012 11 470 Minimum 42513 12 485 Maximum 61514 13 515 Sum 3435615 14 575 Count 7016 15 430

Note: Rows 1-8 and 17-71 are not shown.Note: Rows 1-8 and 17-71 are not shown.

Page 42: 1 1 Slide © 2003 South-Western/Thomson Learning TM Slides Prepared by JOHN S. LOUCKS St. Edwards University

42 42 Slide

Slide

© 2003 South-Western/Thomson Learning© 2003 South-Western/Thomson LearningTMTM

End of Chapter 3, Part AEnd of Chapter 3, Part A