Chapter 2: Graphs, Charts, and Tables--Describing Your Data
Chapter 2: Graphs, Charts, and Tables--Describing Your Data
Chapter 2: Graphs, Charts, and Tables--Describing Your Data
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
50 CHAPTER 2 • GRAPHS, CHARTS, AND TABLES—DESCRIBING YOUR DATA<br />
TRY PROBLEM 2.12<br />
two variables: payment method (cash or charge) <strong>and</strong> number of pizzas purchased. The<br />
manager wishes to develop a joint frequency distribution to better underst<strong>and</strong> the buying<br />
habits of his customers. To do this, he can use the following steps:<br />
Step 1 Obtain the data.<br />
The paired data for the two variables for a sample of 12 customers are<br />
obtained.<br />
Customer Payment Method Pizzas Purchased<br />
1 Charge 2<br />
2 Charge 1<br />
3 Cash 2<br />
4 Charge 2<br />
5 Charge 1<br />
6 Cash 1<br />
7 Cash 3<br />
8 Charge 1<br />
9 Charge 3<br />
10 Cash 2<br />
11 Cash 1<br />
12 Charge 1<br />
Step 2 Construct the rows <strong>and</strong> columns of the joint frequency table.<br />
The row variable will be the payment method, <strong>and</strong> two rows will be used,<br />
corresponding to the two payment methods. The column variable is pizzas<br />
purchased, <strong>and</strong> it will have three levels, because the data for this variable<br />
contain only the values 1, 2, <strong>and</strong> 3. (Note, if a variable is continuous,<br />
classes should be formed using the methods discussed in Example 2-3.)<br />
Pizzas Purchased<br />
1 2 3<br />
Payment<br />
Charge<br />
Cash<br />
Step 3 Count the number of joint occurrences at each row level <strong>and</strong> each<br />
column level for all combinations of row <strong>and</strong> column values <strong>and</strong> place<br />
these frequencies in the appropriate cells.<br />
Pizzas Purchased<br />
Payment<br />
1 2 3 Total<br />
Charge 4 2 1 7<br />
Cash 2 2 1 5<br />
Total 6 4 2 12<br />
Step 4 Calculate the row <strong>and</strong> column totals (see Step 3).<br />
The manager can now see that for this sample, most people charged their purchase<br />
(seven people) <strong>and</strong> most people purchased only one pizza (six people).<br />
Likewise, four people both purchased one pizza <strong>and</strong> charged their purchase.