understanding basic statistics chapter one organizing data

78
Understanding Basic Statistics Chapter One Organizing Data

Upload: mervyn-kevin-fitzgerald

Post on 04-Jan-2016

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Understanding Basic Statistics Chapter One Organizing Data

Understanding Basic Statistics

Chapter One

Organizing Data

Page 2: Understanding Basic Statistics Chapter One Organizing Data

Statistics is

The study of how to:

• collect

• organize

• analyze

• interpret

numerical information from data

Page 3: Understanding Basic Statistics Chapter One Organizing Data

Types of Data

• Quantitative data are numerical measurements– example: number of siblings

• Qualitative data involve non-numerical observations– example: brand of computer

Page 4: Understanding Basic Statistics Chapter One Organizing Data

Population

all measurements or observations of interest

Example: incomes of all residents of a county

Page 5: Understanding Basic Statistics Chapter One Organizing Data

Sample

part of a population used to represent the population

Example: incomes of selected residents

Page 6: Understanding Basic Statistics Chapter One Organizing Data

Methods of Producing Data

• Sampling: drawing subsets from the population

• Experimention: impose a change and measure the result

• Simulation: numerical facsimile of real-world phenomena

• Census: using measurements from entire population

Page 7: Understanding Basic Statistics Chapter One Organizing Data

Potential Problems

• Strong opinions may be overepresented if responses are voluntary.

• A hidden bias may exist in the way data is collected.

• There may be hidden effects of other variables.

• There is no guarantee that results can be generalized.

Page 8: Understanding Basic Statistics Chapter One Organizing Data

Levels of Measurement

• Nominal

• Ordinal

• Interval

• Ratio

Page 9: Understanding Basic Statistics Chapter One Organizing Data

Nominal Measurement

Data is put into categories only.

Example: eye color

Page 10: Understanding Basic Statistics Chapter One Organizing Data

Ordinal Measurement

Data can be ordered. Differences cannot be

calculated or interpreted.

Example: class rank

Page 11: Understanding Basic Statistics Chapter One Organizing Data

Interval Measurement

Data can be ordered. Differences between data values can be compared.

Example: temperature

Page 12: Understanding Basic Statistics Chapter One Organizing Data

Ratio Measurement

Data can be ordered. Differences and ratios

between data values can be compared.

Example: time

Page 13: Understanding Basic Statistics Chapter One Organizing Data

Simple Random Sample of n measurements:

• every sample of size n has equal chance of being selected

• every item in the population has equal chance of being included

Page 14: Understanding Basic Statistics Chapter One Organizing Data

Not random sampling:

• asking for volunteers to respond to a survey

• choosing the first five customers in a store

Page 15: Understanding Basic Statistics Chapter One Organizing Data

Random sampling:

• drawing names “from a hat”

• using a random number table to select sample

• using a random number generator

Page 16: Understanding Basic Statistics Chapter One Organizing Data

Sampling techniques

• Simple Random Sampling

• Stratified Sampling

• Systematic Sampling

• Cluster Sampling

• Convenience Sampling

Page 17: Understanding Basic Statistics Chapter One Organizing Data

Stratified Sampling

• Population is divided into groups

• Random samples are drawn from each group

Page 18: Understanding Basic Statistics Chapter One Organizing Data

Systematic Sampling

• Population is arranged in sequential order.

• Select a random starting point.

• Select every “kth” item.

Page 19: Understanding Basic Statistics Chapter One Organizing Data

Cluster Sampling

• Population is divided into sections

• Some sections are randomly selected

• Every item in selected sections is included in sample

Page 20: Understanding Basic Statistics Chapter One Organizing Data

Convenience Sampling

• Use whatever data is readily available.

• Risk severe bias.

Page 21: Understanding Basic Statistics Chapter One Organizing Data

Which sampling technique is described?

College students are waiting in line for registration. Every eighth

person in line is surveyed.

Systematic sampling

Page 22: Understanding Basic Statistics Chapter One Organizing Data

Which sampling technique is described?

College students are waiting in line for registration. Students are asked to volunteer to respond to

a survey.Convenience sampling

Page 23: Understanding Basic Statistics Chapter One Organizing Data

Which sampling technique is described?

In a large high school, students from every homeroom are

randomly selected to participate in a survey

Stratified sampling

Page 24: Understanding Basic Statistics Chapter One Organizing Data

Which sampling technique is described?

An accountant uses a random number generator to select ten

accounts for audit.

Simple random sampling

Page 25: Understanding Basic Statistics Chapter One Organizing Data

Which sampling technique is described?

To determine students’ opinions of a new registration method, a college randomly selects five

majors. All students in the selected majors are surveyed.

Cluster sampling

Page 26: Understanding Basic Statistics Chapter One Organizing Data

Bar Graph

• bars of uniform width

• uniformly spaced• may be vertical or

horizontal• lengths represent

quantities being compared

Reasons for Returns

0

10

20

30

40

50

60

Color Si

ze

Didn'

t lik

e

Qualit

y

Page 27: Understanding Basic Statistics Chapter One Organizing Data

Pareto Chart

• tool of quality control• start with a bar chart• arrange bars in

decreasing order of frequency

• frequently used to investigate causes of problems

Reasons for returns

50

20

10

5

0

10

20

30

40

50

60

Size Didn't Like Quality Didn't Like

Page 28: Understanding Basic Statistics Chapter One Organizing Data

Circle Graph (Pie Chart)

• shows division of whole into component parts

• label parts with appropriate percentages of the whole

Conventions held

49%

27%

19%5%

FloridaCaliforniaVirginiaTexas

Page 29: Understanding Basic Statistics Chapter One Organizing Data

Time Plot

• Shows data values in chronological order

• time on horizontal scale

• other variable on vertical scale

• connect data points with line segments

Sales (in thousands of dollars)

050

100150200250300

Page 30: Understanding Basic Statistics Chapter One Organizing Data

Histogram

Differences from a bar chart:

• bars touch

• width of bars represents quantity

Page 31: Understanding Basic Statistics Chapter One Organizing Data

To construct a histogram from raw data:

• Decide on the number of classes (5 to 15 is customary) and find a convenient class width.

• Organize the data into a frequency table.

• Find the class boundaries and the class midpoints.

• Tally data and determine the freqency

• Sketch the histogram.

Page 32: Understanding Basic Statistics Chapter One Organizing Data

Computing the class width

1. Compute:

largest data value smallest data value

desired number of classes

2. Increase the value computed to the next highest whole number

Page 33: Understanding Basic Statistics Chapter One Organizing Data

Class Width

Raw Data:

10.2 18.7 22.3 20.0

6.3 17.8 17.1 5.0

2.4 7.9 0.3 2.5

8.5 12.5 21.4 16.5

0.4 5.2 4.1 14.3

19.5 22.5 0.0 24.7

11.4

Use 5 classes.

24.7 – 0.0

5

= 4.94

Round class width up to 5.

Page 34: Understanding Basic Statistics Chapter One Organizing Data

Computing Class Width

difference between the lower class limit of one class and the

lower class limit of the next class

Page 35: Understanding Basic Statistics Chapter One Organizing Data

Finding Class Widths# of miles Class Width

0.0 - 4.9 5

5.0 - 9.9 5

10.0 - 14.9 5

15.0 - 19.9 5

20.0 - 24.9 5

Page 36: Understanding Basic Statistics Chapter One Organizing Data

Class Boundaries

(Upper limit of one class + lower limit of next class)

divided by two

Page 37: Understanding Basic Statistics Chapter One Organizing Data

Finding Class Boundaries# of miles f class boundaries

0.0 - 4.9 6

5.0 - 9.9 5 4.95 - 9.95

10.0 - 14.9 4

15.0 - 19.9 5

20.0 - 24.9 5

Page 38: Understanding Basic Statistics Chapter One Organizing Data

Finding Class BoundariesFinding Class Boundaries

# of miles f class boundaries

0.0 - 4.9 6

5.0 - 9.9 5 4.95 - 9.95

10.0 - 14.9 4 9.95 - 14.95

15.0 - 19.9 5

20.0 - 24.9 5

Page 39: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class boundaries

0.0 - 4.9 6

5.0 - 9.9 5 4.95 - 9.95

10.0 - 14.9 4 9.95 - 14.95

15.0 - 19.9 5 14.95 - 19.95

20.0 - 24.9 5

Finding Class Boundaries

Page 40: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class boundaries

0.0 - 4.9 6 ??

5.0 - 9.9 5 4.95 - 9.95

10.0 - 14.9 4 9.95 - 14.95

15.0 - 19.9 5 14.95 - 19.95

20.0 - 24.9 5 19.95 - 24.95

Finding Class Boundaries

Page 41: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class boundaries

0.0 - 4.9 6 ?? - 4.95 5.0 - 9.9 5 4.95 - 9.95

10.0 - 14.9 4 9.95 - 14.95

15.0 - 19.9 5 14.95 - 19.95

20.0 - 24.9 5 19.95 - 24.95

Finding Class Boundaries

Page 42: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class boundaries

0.0 - 4.9 6 0.05 - 4.95 5.0 - 9.9 5 4.95 - 9.95

10.0 - 14.9 4 9.95 - 14.95

15.0 - 19.9 5 14.95 - 19.95

20.0 - 24.9 5 19.95 - 24.95

Finding Class Boundaries

Page 43: Understanding Basic Statistics Chapter One Organizing Data

Computing Class Midpoints

lower class limit + upper class limit

2

Page 44: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class midpoints

0.0 - 4.9 6 2.45

5.0 - 9.9 5

10.0 - 14.9 4

15.0 - 19.9 5

20.0 - 24.9 5

Finding Class Midpoints

Page 45: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class midpoints

0.0 - 4.9 6 2.45

5.0 - 9.9 5 7.45

10.0 - 14.9 4

15.0 - 19.9 5

20.0 - 24.9 5

Finding Class Midpoints

Page 46: Understanding Basic Statistics Chapter One Organizing Data

# of miles f class midpoints

0.0 - 4.9 6 2.45

5.0 - 9.9 5 7.45

10.0 - 14.9 4 12.45

15.0 - 19.9 5 17.45

20.0 - 24.9 5 22.45

Finding Class Midpoints

Page 47: Understanding Basic Statistics Chapter One Organizing Data

Tallying the Data# of miles tally frequency

0.0 - 4.9 |||| | 6

5.0 - 9.9 |||| 5

10.0 - 14.9 |||| 4

15.0 - 19.9 |||| 5

20.0 - 24.9 |||| 5

Page 48: Understanding Basic Statistics Chapter One Organizing Data

# of miles f

0.0 - 4.9 6

5.0 - 9.9 5

10.0 - 14.9 4

15.0 - 19.9 5

20.0 - 24.9 5

Constructing the Histogramf

| | | | | |

6

5

4

3

2

1

0

-

-

-

-

-

-

--0.05 4.95 9.95 14.95 19.95 24.95

mi.

Page 49: Understanding Basic Statistics Chapter One Organizing Data

Grouped Frequency Table# of miles f

0.0 - 4.9 6

5.0 - 9.9 5

10.0 - 14.9 4

15.0 - 19.9 5

20.0 - 24.9 5

Class limits:

lower - upper

Page 50: Understanding Basic Statistics Chapter One Organizing Data

Relative Frequency

Relative frequency =

f = class frequency

n total of all frequencies

Page 51: Understanding Basic Statistics Chapter One Organizing Data

Relative Frequency

f = 6 = 0.24

n 25

f = 5 = 0.20

n 25

Page 52: Understanding Basic Statistics Chapter One Organizing Data

# of miles f relative frequency

0.0 - 4.9 6 0.24

5.0 - 9.9 5 0.20

10.0 - 14.9 4 0.16

15.0 - 19.9 5 0.20

20.0 - 24.9 5 0.20

Relative Frequency Histogram

| | | | | |

.24

.20

.16

.12

.08

.04

0

-

-

-

-

-

-

--0.05 4.95 9.95 14.95 19.95 24.95

mi.

Rel

ativ

e fr

eque

ncy

f/n

Page 53: Understanding Basic Statistics Chapter One Organizing Data

Common Shapes of Histograms

Common Shapes of Histograms

Symmetric

ff

When folded vertically, both sides are (more or less) the same.

Page 54: Understanding Basic Statistics Chapter One Organizing Data

Common Shapes of Histograms

Common Shapes of Histograms

Also Symmetric

ff

Page 55: Understanding Basic Statistics Chapter One Organizing Data

Common Shapes of Histograms

Uniform

ff

Page 56: Understanding Basic Statistics Chapter One Organizing Data

Common Shapes of Histograms

Common Shapes of Histograms

Non-Symmetric Histograms

These histograms are skewed. skewed.

Page 57: Understanding Basic Statistics Chapter One Organizing Data

Common Shapes of Histograms

Common Shapes of Histograms

Skewed Histograms

Skewed left Skewed right

Page 58: Understanding Basic Statistics Chapter One Organizing Data

Common Shapes of Histograms

Common Shapes of Histograms

Bimodal

ff

The two largest rectangles are separated by at least one class.

Page 59: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf Display

Raw Data:

35, 45, 42, 45, 41, 32, 25, 56, 67, 76, 65, 53, 53, 32, 34, 47, 43, 31

Page 60: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayFirst data value = 35

Stem and Leaf DisplayFirst data value = 35

2

3

4

5

6

7

stems

5 leaf

Page 61: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplaySecond data value = 45

Stem and Leaf DisplaySecond data value = 45

2

3

4

5

6

7

5

5

Page 62: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayThird data value = 42

Stem and Leaf DisplayThird data value = 42

2

3

4

5

6

7

5

5 2

Page 63: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 45

Stem and Leaf DisplayNext data value = 45

2

3

4

5

6

7

5

5 2 5

Page 64: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 41

Stem and Leaf DisplayNext data value = 41

2

3

4

5

6

7

5

5 2 5 1

Page 65: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 32

Stem and Leaf DisplayNext data value = 32

2

3

4

5

6

7

5 2

5 2 5 1

Page 66: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 25

Stem and Leaf DisplayNext data value = 25

2

3

4

5

6

7

5 2

5 2 5 1

5

Page 67: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 56

Stem and Leaf DisplayNext data value = 56

2

3

4

5

6

7

5 2

5 2 5 1

5

6

Page 68: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 67

Stem and Leaf DisplayNext data value = 67

2

3

4

5

6

7

5 2

5 2 5 1

5

6

7

Page 69: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 76

Stem and Leaf DisplayNext data value = 76

2

3

4

5

6

7

5 2

5 2 5 1

5

6

7

6

Page 70: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 65

Stem and Leaf DisplayNext data value = 65

2

3

4

5

6

7

5 2

5 2 5 1

5

6

7 5

6

Page 71: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 53

Stem and Leaf DisplayNext data value = 53

2

3

4

5

6

7

5 2

5 2 5 1

5

6 3

7 5

6

Page 72: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 53

Stem and Leaf DisplayNext data value = 53

2

3

4

5

6

7

5 2

5 2 5 1

5

6 3 3

7 5

6

Page 73: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 32

Stem and Leaf DisplayNext data value = 32

2

3

4

5

6

7

5 2 2

5 2 5 1

5

6 3 3

7 5

6

Page 74: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 34

Stem and Leaf DisplayNext data value = 34

2

3

4

5

6

7

5 2 2 4

5 2 5 1

5

6 3 3

7 5

6

Page 75: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 47

Stem and Leaf DisplayNext data value = 47

2

3

4

5

6

7

5 2 2 4

5 2 5 1 7

5

6 3 3

7 5

6

Page 76: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 43

Stem and Leaf DisplayNext data value = 43

2

3

4

5

6

7

5 2 2 4

5 2 5 1 7 3

5

6 3 3

7 5

6

Page 77: Understanding Basic Statistics Chapter One Organizing Data

Stem and Leaf DisplayNext data value = 31

Stem and Leaf DisplayNext data value = 31

2

3

4

5

6

7

5 2 2 4 1

5 2 5 1 7 3

5

6 3 3

7 5

6

Page 78: Understanding Basic Statistics Chapter One Organizing Data

Finished Stem and Leaf Display

Finished Stem and Leaf Display

2

3

4

5

6

7

5 2 2 4 1

5 2 5 1 7 3

5

6 3 3

7 5

6