Tutorial #2:
Building Graphs for Categorical Data
case #
BEWERY
1 Anchor
2 Anheuser Busch
3 Anheuser Busch
4 Adolph Coors
5 Pabst
6 Adolph Coors
7 Anheuser Busch
8 Anheuser Busch
9 Anheuser Busch
10 Anheuser Busch
11 Anheuser Busch
12 Anheuser Busch
BEWERY
COUNT
13 Anheuser Busch
Adolph Coors
8
Other
28
14 Anheuser Busch
Anheuser Busch
19
Miller
20
15 Anheuser Busch
Boston Beer
4
Anheuser
19
16 G. Heileman
Miller
20
Adolph Coo
8
17 G. Heileman
Pabst
7
Pabst
7
18 Adolph Coors
Other
28
Boston Bee
4
19 Adolph Coors
TOTAL
86
20 High Falls Brewing
21 High Falls Brewing
22 High Falls Brewing
23 High Falls Brewing
24 Adolph Coors
25 Miller
26 Miller
27 Miller
28 Miller
29 Adolph Coors
30 Adolph Coors
31 Adolph Coors
32 Leinenkugel
33 Leinenkugel
34 Leinenkugel
35 Leinenkugel
36 Leinenkugel
37 Leinenkugel
38 Leinenkugel
39 Miller
40 High Falls Brewing
41 Anheuser Busch
42 Anheuser Busch
43 Anheuser Busch
44 Anheuser Busch
45 Anheuser Busch
46 Anheuser Busch
47 Anheuser Busch
48 Miller
49 Miller
50 Miller
51 Miller
52 Miller
53 Miller
54 Miller
55 Miller
56 Miller
57 Anheuser Busch
58 Stroh
59 Stroh
60 Miller
61 Pabst
62 Pabst
63 Red Hook
64 Red Hook
65 Latrobe
66 Boston Beer
67 Boston Beer
68 Boston Beer
69 Boston Beer
70 Pabst
71 Pabst
72 Sierra Nevada
73 Sierra Nevada
74 Sierra Nevada
75 Pabst
DIRECTIONS:
According to an online resource, a focus group identified
Coors, Busch, Boston, Miller, and Pabst as the "most popular
beer brand in the U.S."
Note that the "Other" value is simply
the the bewerys not listed above.
Below, generate (1) a bar graph (in counts) and (2) a pie chart
(in percentages) for the above distribution.
Format using the
APA guidelines discussed in class.
Title your graphs "Most
Popular Beer Brand".
HINT:
For the counts, I
recommend using the
COUNTIF function.
For the "Other" count,
try subtracting the
sample size from the
sum of the above
counts.
APA Guidelines Reminders
Bar Graph
- Values must be ordered in decending order
from left to right on the graph.
You need a title, x-axis
lables, y-axis lables.
Y-axis must start at zero.
Pie Chart
- Sectors must be ordered in decending order of
size clockwise starting at 12 O'clock.
You need a legend,
title and percentage labels for each sector.
Other
Miller
Anheuser
Busch
Adolp
h C
oors
Pabst
Boston
Beer
0
5
10
15
20
25
30
Most Popular Beer Brands
Brewery
Count
32.56%
23.26%
22.09%
9.30%
8.14%
4.65%
Most Popular Beer Brand
Other
Miller
Anheuser Busch
Adolph Coors
Pabst
Boston Beer