2.1 frequency distributions, histograms, and related topics

33
CHAPTER 2 ORGANIZING DATA PART 1: FREQUENCY TABLES 2.1 Frequency Distributions, Histograms, and Related Topics

description

 

Transcript of 2.1 frequency distributions, histograms, and related topics

Page 1: 2.1 frequency distributions, histograms, and related topics

CHAPTER 2 ORGANIZING DATA

PART 1 : FREQUENCY TABLES

2.1 Frequency Distributions, Histograms, and Related

Topics

Page 2: 2.1 frequency distributions, histograms, and related topics

Frequency Tables

A frequency table organizes data into classes or intervals and shows how many data values are in each class. The classes or intervals are constructed so that each

data value falls into exactly one class. A frequency table will have the following set up:

These elements make up a “basic” frequency table

Page 3: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

1. Determine the number of classes and the corresponding class width.

The number of classes should be determined by the spread of the data and the purpose of the frequency table (the number of classes is often, but not always, given to you)

To find the Class Width (Integer Data):

Compute:

Round to the next highest whole number (this ensures that all classes taken together cover the data)

Page 4: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

2. Create distinct classes. The lower class limit is the lowest data value that can

fit in a class. The upper class limit is the highest data value that can

fit in a class. The class width is the difference between the lower

class limit of one class and the lower class limit of the next class.

To create the classes:1. Use the smallest data value as the lower class limit of the

first class2. Find the lower class limit of the second class by adding the

class width3. Continue to find all lower class limits by following this

pattern

Page 5: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

3. Fill in upper class limits to create distinct classes that accommodate all possible data values from the data set.

Note: there should be NO overlap

Page 6: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

4. Tally the data into classes. Find the class frequency.

To tally data:1. Examine each data value2. Determine which class contains the data value. Each

data value should fall into exactly once class.3. Make a tally mark in that class’ tally column

To find the class frequency: add up the tallies and put the total in the class frequency column.

Page 7: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

5. Compute the midpoint (class mark) for each class.

The center of each class is called the midpoint or class mark, it is often used as a representative value of the entire class.

To find the midpoint:

Page 8: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

6. Determine the class boundaries. The halfway points between the upper limit of one

class and the lower limit of the next class are called class boundaries.

To find the Class Boundaries (Integer Data):1. To find the upper class boundaries, add 0.5 unit to

the upper class limits.2. To find the lower class boundaries, subtract 0.5 unit

from the lower class limits.

Page 9: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

7. Find the relative frequency of each class. The relative frequency of a class is the proportion of

all data values that fall into that class. The total of the relative frequencies should be 1, but

rounded results may make the total slightly higher or lower than 1.

To find the relative frequency:

≈ means “approximately equal to”. Use this symbol anytime you round.

Page 10: 2.1 frequency distributions, histograms, and related topics

How to Make a Frequency Table

8. Find the cumulative frequency for each class.

The cumulative frequency for a class is the sum of the frequencies for that class and all previous classes.

To find the cumulative frequency: add the relative frequency of each class and all classes before it.

Page 11: 2.1 frequency distributions, histograms, and related topics

Summary: How to Make a Frequency Table

Hint: Before making a frequency table, order the data from smallest to largest.

Using the graphing calculator to order data:1. Hit STAT2. Choose 1: Edit3. Enter the data values into L14. Hit STAT5. Chose 2:SortA(6. Hit 2nd 1, close parentheses, hit Enter7. To view the ordered list:

hit STAT, Choose 1:Edit

Page 12: 2.1 frequency distributions, histograms, and related topics

Summary: How to Make a Frequency Table

1. Determine the number of classes and the corresponding class width.

2. Create distinct classes (lower class limits)3. Fill in upper class limits4. Tally the data into classes. Find the class

frequency.5. Compute the midpoint for each class.6. Determine the class boundaries.7. Find the relative frequency of each class.8. Find the cumulative frequency for each

class.

Page 13: 2.1 frequency distributions, histograms, and related topics

Example 1 – Frequency Table

A task force to encourage car pooling did a study of one-way commuting distances of workers in the downtown Dallas area. A random sample of 60 of these workers was taken. The commuting distances of the workers in the sample are given in Table 2-1. Make a frequency table for these data with six classes.

Page 41

One-Way Commuting Distances (in Miles) for 60 Workers in Downtown Dallas

Table 2-1

Page 14: 2.1 frequency distributions, histograms, and related topics

Example 1 – Frequency Table

ClassLimits

Class Boundaries

Tally Frequency Class Midpoint

Relative Frequency

Cumulative Frequency

Page 15: 2.1 frequency distributions, histograms, and related topics

Homework

Page 50 #1 – 6 all #11, 13, 14 Parts a and b only #17

Page 16: 2.1 frequency distributions, histograms, and related topics

CHAPTER 2 ORGANIZING DATA

PART 2 : GRAPHS

2.1 Frequency Distributions, Histograms, and Related

Topics

Page 17: 2.1 frequency distributions, histograms, and related topics

Histograms and Relative-Frequency Histograms

Histograms and Relative-Frequency Histograms provide a visual display of data organized into frequency tables. Use bars to represent each class

All bars touch each other

AP Test: You will be harshly penalized for a lack of titles and labels!

Page 18: 2.1 frequency distributions, histograms, and related topics

How to Make Histograms

1. Make a frequency table2. Place class boundaries on the horizontal

axis and frequencies or relative frequencies on the vertical axis

3. Draw the bars The width of the bar = class width Height of the bars of a histogram = class frequency Height of the bars of a relative-frequency histogram

= relative frequency of that class

Page 19: 2.1 frequency distributions, histograms, and related topics

Example 2Histogram and Relative-Frequency

Histogram

Make a histogram and a relative-frequency histogram with six bars for the data in Table 2-1 showing one-way commuting distances.

ClassLimits

Class Boundaries

Tally Frequency

Class Midpoint

Relative Frequency

Cumulative Frequency

1 – 8 0.5 – 8.5 14 4.5 14/60 ≈ 0.23

0.23

9 – 16 8.5 – 16.5 21 12.2 21/60 ≈ 0.35

0.58

17 – 24

16.5 – 24.5

11 20.5 11/60 ≈0.18

0.76

25 – 32

24.5 – 32.5

6 28.5 6/60 ≈ 0.10

0.86

33 – 40

32. 5 – 40.5

4 36.5 4/60 ≈ 0.07

0.93

41 – 48

40.5 – 48.5

4 44.5 4/60 ≈ 0.07

1

Page 20: 2.1 frequency distributions, histograms, and related topics

Example 2Histogram and Relative-Frequency

Histogram

Page 21: 2.1 frequency distributions, histograms, and related topics

Histograms in the Graphing Calculator

1. Make a frequency table2. Enter the data in L13. Hit 2nd y=, hit enter4. Highlight On, hit enter, choose the

histogram picture, hit enter 5. Hit WINDOW

6. Hit GRAPH

Xmin = lowest class boundaryXmax = highest class boundaryXscl = class width

Ymin = 0Ymax = highest frequencyyscl = 1

Hit TRACE to see boundaries and frequency of each bar

Page 22: 2.1 frequency distributions, histograms, and related topics

Distribution Shapes

Histograms are valuable and useful tools. If the raw data came from a random sample of population values, the histogram constructed from the sample values should have a distribution shape that is reasonably similar to that of the population. (Page 47)

The shape of a histogram can valuable informationabout the data

AP Test: There are often questions on interpreting given histograms.

Page 23: 2.1 frequency distributions, histograms, and related topics

Distribution Shapes

Mound-shaped symmetrical Both sides are (approximately) the same (mirror

images)

Page 24: 2.1 frequency distributions, histograms, and related topics

Distribution Shapes

Uniform or rectangular Every class has equal frequency “Symmetrical”

Page 25: 2.1 frequency distributions, histograms, and related topics

Distribution Shapes

Skewed left or skewed right One tail is stretched out longer than the other. The

direction of skewness is on the side of the longer tail.

Page 26: 2.1 frequency distributions, histograms, and related topics

Distribution Shapes

Bimodal Two classes with the largest frequencies are

separated by at least one class. May not have the same frequency May indicate that we are sampling from two different

populations

Page 27: 2.1 frequency distributions, histograms, and related topics

Distribution Shapes

Outliers Outliers in a data set are the data values that are

very different from other measurements in the data set. If there are gaps in the histogram between bars at either

end of the graph, the data set may include outliers Outliers may indicate data-recording errors Valid outliers may be so unusual that they should be

examined separately from the data set

Page 28: 2.1 frequency distributions, histograms, and related topics

Ogives

An ogive is a graph that displays cumulative frequencies. It is a line graph that starts on the horizontal axis and

increases

Page 29: 2.1 frequency distributions, histograms, and related topics

How to Make an Ogive

1. Make a frequency table2. Place upper class boundaries on the

horizontal axis and cumulative frequencies on the vertical axis.

3. Make a dot over the upper class boundaries at the height of the cumulative class frequency. Connect the dots with line segments.

The ogive beings on the horizontal axis at the lower class boundary of the first class.

Page 30: 2.1 frequency distributions, histograms, and related topics

Example 3Cumulative Frequency Table and Ogive

Aspen, Colorado, is a world-famous ski area. If the daily high temperature is above 40F, the surface of the snow tends to melt. It then freezes again at night. This can result in a snow crust that is icy. It also can increase avalanche danger.Table 2-11 gives a summary of daily high temperatures (F) in Aspen during the 151-day ski season.

Page 49

High Temperatures During the Aspen Ski Season (F)

Table 2-11

Page 31: 2.1 frequency distributions, histograms, and related topics

Example 3Cumulative Frequency Table and Ogive

a) Draw the corresponding ogive

b) Looking at the ogive, estimate the total number of days with a high temperature lower than or equal to 40 F.

Page 49

Page 32: 2.1 frequency distributions, histograms, and related topics

Dotplots

Dotplots are useful displays of categorical or qualitative variables because they show the individual data values and the raw data. Horizontal axis is a number line that spans the data Each data value is a dot or point above the

corresponding value on the horizontal axis. Repeated values are represented by stacked dots

Page 54

Example of a dotplot:

Number of RBIs

Page 33: 2.1 frequency distributions, histograms, and related topics

Homework

Page 50 #7 – 10 #11, 13, 14 Parts c through f only (note you did

parts a and b already!) #19