Docsity

Lecture Slides on Dot Plot - Introduction to Statistics | STAT 100A, Study notes of Statistics

Toggle sidebar
bg1
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
Example: eBay is a popular Internet company for
personal auctioning. Let’s consider some data from
sales of the Palm M515 PDA, a popular handheld
computer, during May 2003. The final prices (in
dollars) at which the items sold were
235 225 225 240 250 250 210 250
249 255 200 199 240 228 255 232
246 210 178 246 240 245 225 246 225
a. Construct a dot plot.
b. Construct a stem-and-leaf plot.
a.
253242231220209198187176 Pr ice
Dotplot of Pric e
19
b. Leaf Unit =
20
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
12. The more data you have, the more classes you
should use. (For a variable with few values, use the
actual possible values as your classes.)
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.
pf3

Partial preview of the text

Download Lecture Slides on Dot Plot - Introduction to Statistics | STAT 100A and more Study notes Statistics in PDF only on Docsity!

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

Example: eBay is a popular Internet company for

personal auctioning. Let’s consider some data from

sales of the Palm M515 PDA, a popular handheld

computer, during May 2003. The final prices (in

dollars) at which the items sold were

a. Construct a dot plot.

b. Construct a stem-and-leaf plot.

a.

176 187 198 209 220 231 242 253 Price

Dotplot of Price

b. Leaf Unit =

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

  1. The more data you have, the more classes you should use. (For a variable with few values, use the actual possible values as your classes.)

 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

Revisit Ebay Example: Construct a histogram.

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

Which Graph Should We Use?

 The dot plot and stem and leaf plot are more

useful for small data sets, since they portray each

individual observation. With large data sets,

histograms usually work better, being more

compact than the other displays.

 More flexibility is possible in defining the

intervals with a histogram than in defining the

stems with a stem and leaf plot.

 Data values are retained with the stem and leaf

plot and dot plot but not with the histogram.

Interpreting Graphs

Once you have created a graph for a set of data, what

should you look for as you attempt to describe the

data?

1. location

2. spread

3. shape

4. outliers