classification and tabulation of data - srmuniv.ac.in and tabulation of data. ... • well designed...

38
Classification and Tabulation of Data

Upload: dangminh

Post on 01-Jul-2018

254 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Classification and Tabulation of Data

Page 2: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

History of Graphical Development

• First geographic maps were drawn on clay tablets.

• 17th Century:  combined map skills and statistical skills to construct maps.

• Trade winds and monsoons on a world map.

• Chart patterns of disease.

• Later sophistication showed distribution of 1.3 million galaxies.

Page 3: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

“Graphical excellence consists of the efficient 

communication of complex quantitative ideas.”

Page 4: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

• Organizing Numerical Data:• The Ordered Array and Stem-leaf Display

• Tabulating and Graphing Numerical Data:• Frequency Distributions: Tables, Histograms, Polygons• Cumulative Distributions: Tables, the Ogive

Presentation Topics

Page 5: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

• Tabulating and Graphing Univariate Categorical Data:

• The Summary Table• Bar and Pie Charts, the Pareto Diagram

•Tabulating and Graphing Bivariate Categorical Data:

• Contingency Tables• Side by Side Bar charts

• Graphical Excellence and Common Errors in Presenting Data

Presentation Topics (continued)

Page 6: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

“At their best, graphics are instruments for reasoning 

about quantitative information.”

Page 7: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

2 144677

3 0284 1

Organizing Numerical Data

Numerical Data

Ordered Array

Stem and LeafDisplay

Frequency DistributionsCumulative Distributions

Histograms

Polygons

Ogive

Tables

41, 24, 32, 26, 27, 27, 30, 24, 38, 21

21, 24, 24, 26, 27, 27, 30, 32, 38, 41

Page 8: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

2 1 4 4 6 7 7

Organizing Numerical Data:

•Data in Raw form (as collected):24, 26, 24, 21, 27, 27, 30, 41, 32, 38

•Date Ordered from Smallest to Largest:21, 24, 24, 26, 27, 27, 30, 32, 38, 41

•Stem and Leaf display:3 0 2 8

4 1

Page 9: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

“Design is choice.”

Page 10: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Ogive

0

20

40

60

80

100

120

10 20 30 40 50 60

0

1

2

3

4

5

6

7

10 20 30 40 50 60

2 144677

3 0284 1

Tabulating and Graphing Numerical Data

Numerical Data

Ordered Array

Stem and LeafDisplay

Histograms Ogive

Tables

41, 24, 32, 26, 27, 27, 30, 24, 38, 21

21, 24, 24, 26, 27, 27, 30, 32, 38, 41

Frequency DistributionsCumulative Distributions

Polygons

Page 11: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Tabulating Numerical Data: Frequency Distributions

Data in ordered array:12, 13, 17, 21, 24, 24, 26, 27, 27, 30, 32, 35, 37, 38, 41, 43, 44, 46, 53, 58

Class Frequency

10 but under 20 3 .15 1520 but under 30 6 .30 3030 but under 40 5 .25 25 40 but under 50 4 .20 2050 but under 60 2 .10 10 Total 20 1 100

RelativeFrequency

Percentage

(continued)

Page 12: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

His t o g r a m

0

3

65

4

2

001234567

5 1 5 2 5 3 6 4 5 5 5 Mo re

Fre

qu

en

cy

Graphing Numerical Data:The Histogram

Data in ordered array:12, 13, 17, 21, 24, 24, 26, 27, 27, 30, 32, 35, 37, 38, 41, 43, 44, 46, 53, 58

Class Midpoints

No Gaps Between

Bars

Page 13: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Graphing Numerical Data:The Frequency Polygon

Fre q u e n c y

0

1

2

34

5

6

7

5 1 5 2 5 3 6 4 5 5 5 Mo re

Data in ordered array:12, 13, 17, 21, 24, 24, 26, 27, 27, 30, 32, 35, 37, 38, 41, 43, 44, 46, 53, 58

Class Midpoints

Page 14: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Cumulative CumulativeClass Frequency % Frequency10 but under 20 3 1520 but under 30 9 4530 but under 40 14 70 40 but under 50 18 9050 but under 60 20 100

Tabulating Numerical Data:Cumulative Frequency

Data in ordered array:12, 13, 17, 21, 24, 24, 26, 27, 27, 30, 32, 35, 37, 38, 41, 43, 44, 46, 53, 58

Page 15: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Graphing Numerical Data:The Ogive (Cumulative % Polygon)

Data in ordered array:12, 13, 17, 21, 24, 24, 26, 27, 27, 30, 32, 35, 37, 38, 41, 43, 44, 46, 53, 58

O g ive

0

2 0

4 0

6 0

8 0

1 0 0

1 2 0

1 0 2 0 3 0 4 0 5 0 6 0

Page 16: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Tabulating and Graphing Categorical Data: Univariate Data

Categorical Data

Tabulating DataThe Summary Table

Graphing Data

Pie Charts

Pareto DiagramBar Charts

Page 17: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Summary Table(University Revenues)

Revenue Category Amount Percentage(in thousands $)

Patient Services 46.5 42.27Tuition/fees 32 29.09Appropriations 15.5 14.09Grants/Contracts 16 14.55Total 110 100

Variables are Categorical.

Page 18: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

05

1015202530354045

Stocks Bonds Savings CD0

20

40

60

80

100

120

0 10 20 30 40 50

Stocks

Bonds

Savings

CD

Graphing Categorical Data: Univariate Data

Categorical Data

Tabulating DataThe Summary Table

Graphing Data

Pie Charts

Pareto DiagramBar Charts

Page 19: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Bar ChartEnrollment Summary

0 500 1000 1500 2000 2500 3000

Freshmen

Sophomores

Juniors

Seniors

Unclass

Grad

1st Prof

Page 20: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Pie Chart(for a factbook)

Percentages are rounded to the nearest percent.

Students by Classification

Seniors 15%

Sophomores 14%

Juniors29%

Freshmen42%

Page 21: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Pareto Diagram

Axis for line graph shows

cumulative %

Axis for bar

chart shows % in each

category

05

1015202530354045

1 2 3 40

20

40

60

80

100

120

Page 22: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Tabulating and Graphing BivariaCategorical Data

•Contingency Tables

•Side by Side Charts

Page 23: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Tabulating Categorical Data: Bivariate Data

Contingency Table: Enrollment by College

Enrollment A&S BUS NRS Total Category

Freshmen 46 55 27 128Sophomores 32 44 19 95Juniors 15 20 13 48Seniors 16 28 7 51Total 109 147 66 322

Page 24: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Graphing Categorical Data: Bivariate Data

Side by SideChart

0 200 400 600 800 1000 1200

Freshmen

Sophomores

Juniors

Seniors

Unclass

Grad

1st Prof

A&S AH NS

Page 25: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Principles of Graphical Excellence

• Well designed presentation of data that  provides:– Substance– Statistics– Design

• Communicates complex ideas with clarity, precision and efficiency

• Gives the largest number of ideas in the most  efficient manner

• Almost always involves several dimensions• Requires telling the truth about the data

Page 26: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Data‐Ink Ratio

Data information

Total ink used to print the graphic

Page 27: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

“Much of twentieth‐century thinking about statistical graphics has been preoccupied with the 

question of how some amateurish chart might fool a naive viewer.”

Page 28: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Errors in Presenting Data

• Using ‘chart junk’• No relative basis• In comparing data • Batches• Compressing the • Vertical axis• No zero point on the • Vertical axis

Page 29: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

‘Chart Junk’

Good Presentation

1960: $1.001970: $1.60

1980: $3.10

1990: $3.80

Minimum Wage Minimum Wage

0

2

4

1960 1970 1980 1990

$

Bad Presentation

Page 30: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Lie Factor

Size of effect shown in graphic

Size of effect in data

Page 31: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

No Relative Basis

Good PresentationA’s received by

students.A’s received by

students.

Bad Presentation

0

100

200300

FR SO JR SR

Freq.

0%

10%

20%

30%

FR SO JR SR

%

FR = Freshmen, SO = Sophomore, JR = Junior, SR = Senior

Page 32: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Compressing Vertical Axis

Good PresentationQuarterly Income Quarterly Income

Bad Presentation

0

25

50

Q1 Q2 Q3 Q4

$

0

100

200

Q1 Q2 Q3 Q4

$

Page 33: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

No Zero Point on Vertical Axis

Good PresentationMonthly Expenses Monthly Expenses

Bad Presentation

0

394245

J F M A M J

$

36394245

J F M A M J

$

Graphing the first six months of sales.

36

Page 34: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

No Zero Point on Vertical Axis

Good PresentationMonthly Expenses Monthly Expenses

Bad Presentation

0204060

J F M A M J

$

36394245

J F M A M J

$

Graphing the first six months of sales.

Page 35: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Main defense of the lying graphic....

“Well, at least it was approximately correct, we were just trying to show the general

direction of change.”

Page 36: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Presentation Summary

• Organized Numerical Data:• The Ordered Array and Stem-leaf Display

• Tabulated and Graphed Numerical Data• Frequency Distributions: Tables, Histograms, Polygons• Cumulative Distributions: Tables, the Ogive

Page 37: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

Presentation Summary (continued)

• Tabulated and Graphed Univariate Categorical Data: • The Summary Table• Bar and Pie Charts, the Pareto diagram

•Tabulated and Graphed Bivariate Categorical Data: • Contingency Tables• Side by Side charts

• Discussed Graphical Excellence and Common Errors in Presenting Data

Page 38: Classification and Tabulation of Data - srmuniv.ac.in and Tabulation of Data. ... • Well designed presentation of data that provides: – Substance – Statistics

“There remain, however, many other consideration in the design of statistical graphics – not only of efficiency, but also of complexity, 

structure, density, and even beauty.”