

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


17
STAT 100A Section 1.4-1.5: Graphs for Quantitative Data
Dot Plot
A dot plot shows a dot for each observation, placed just above the value on the number line for that observation. To construct a dot plot,
draw a horizontal line, label it with the name of the variable, and mark regular values of the variable on it. Place a dot above each observation’s value on the number line.
Stem and Leaf Plot
A stem and leaf plot also portrays the individual observations.
Divide each measurement into two parts: the stem and the leaf. List the stems in a column, starting with the smallest. Place a vertical line to their right. On the right side of the vertical line, indicate each leaf in increasing order in the same row as its corresponding stem. Provide a key to your stem and leaf coding so that the reader can recreate the actual data values if necessary.
18
176 187 198 209 220 231 242 253 Price
Dotplot of Price
Histogram
A histogram is a graph that uses bars to portray the frequencies or the relative frequencies of the possible outcomes for a quantitative variable.
Steps for Constructing a Histogram
Choose the number of classes, usually between 5 and
Calculate the approximate class width by dividing the difference between the largest and smallest values by the number of classes. Round the approximate class width up to a convenient number.
Locate the class boundaries. The lowest class must include the smallest data value. Then add the remaining classes using the left inclusion method.
Count the number of observations (the frequency) in each class.
On the horizontal axis, label the values or the endpoints of the intervals. Draw a bar over each value or interval with height equal to its frequency or relative frequency, values of which are marked on the vertical axis.
21
170 180 190 200 210 220 230 240 250 260
9 8 7 6 5 4 3 2 1 0
Price
Frequency
Histogram of Price
170 180 190 200 210 220 230 240 250 260
35 30 25 20 15 10 5 0 Price
Percent
Histogram of Price
22
Example: Environmental Protection Agency regulations require automakers to give the city and highway gas mileages for each model of car. The highway mileages (miles per gallon) for 32 midsize 2001 model year cars are given below in a table. Make a histogram of the highway mileages on these cars.
gas mileage 22 23 24 25 26 27 28 29 30 31 32 33 Frequency 1 2 7 3 3 2 6 1 4 1 1 1
22 23 24 25 26 27 28 29 30 31 32 33
7 6 5 4 3 2 1 0
Gas Mileage
Frequency
Histogram of Gas Mileage