Histogram Differences from a bar chart: bars have equal width and always touch width of bars represents quantity heights of bars represent frequency f Measured quantity
To construct a histogram from raw data: Decide on the number of classes (5 to 15 is customary). Find a convenient class width. Organize the data into a frequency table. Find the class midpoints and the class boundaries. Sketch the histogram.
Finding class width 1.Compute: 2.Increase the value computed to the next highest whole number
Class Width Raw Data: Use 5 classes – = 4.94 Round class width up to 5.
Frequency Table Determine class width. Create the classes. May use smallest data value as lower limit of first class and add width to get lower limit of next class. Tally data into classes. Compute midpoints for each class. Determine class boundaries.
Tallying the Data # of miles tally frequency |||| | |||| |||| |||| ||||5
Grouped Frequency Table # of miles f Class limits: lower - upper
Computing Class Width difference between the lower class limit of one class and the lower class limit of the next class
# of miles fclass widths Finding Class Widths
Computing Class Midpoints lower class limit + upper class limit 2
# of miles fclass midpoints Finding Class Midpoints
# of miles fclass midpoints Finding Class Midpoints
# of miles fclass midpoints Finding Class Midpoints
Class Boundaries (Upper limit of one class + lower limit of next class) divided by two
Finding Class Boundaries # of miles fclass boundaries
Finding Class Boundaries # of miles fclass boundaries
# of miles fclass boundaries Finding Class Boundaries
# of miles fclass boundaries ?? Finding Class Boundaries
# of miles fclass boundaries ?? Finding Class Boundaries
# of miles fclass boundaries Finding Class Boundaries
# of miles f Constructing the Histogram f | | | | | | mi.
Relative Frequency Relative frequency = f = class frequency n total of all frequencies
Relative Frequency f = 6 = 0.24 n 25 f = 5 = 0.20 n 25
# of miles f relative frequency Relative Frequency Histogram | | | | | | mi. Relative frequency f/n
Common Shapes of Histograms Symmetrical f When folded vertically, both sides are (more or less) the same.
Common Shapes of Histograms Also Symmetrical f
Common Shapes of Histograms Uniform f
Common Shapes of Histograms Non-Symmetrical Histograms skewed. These histograms are skewed.
Common Shapes of Histograms Skewed Histograms Skewed leftSkewed right
Common Shapes of Histograms Bimodal f The two largest rectangles are approximately equal in height and are separated by at least one class.
Frequency Polygon A frequency polygon or line graph emphasizes the continuous rise or fall of the frequencies.
Constructing the Frequency Polygon Dots are placed over the midpoints of each class. Dots are joined by line segments. Zero frequency classes are included at each end.
Weights (in pounds) f Constructing the Frequency Polygon f | | | | | | pounds
Cumulative Frequency The sum of the frequencies for that class and all previous or later classes
Weights (in pounds) f Greater than Greater than Greater than Greater than Greater than Cumulative Frequency Table Weights (in pounds) f
Ogive Graph of a cumulative frequency table
Weights (in pounds) f Greater than Greater than Greater than Greater than Greater than Constructing the Ogive Cumulative frequency | | | | | | pounds
Exploratory Data Analysis A field of statistical study useful in detecting patterns and extreme data values Tools used include histograms and stem- and-leaf displays