186k views
2 votes
The list shows the quantity of items purchased by customers at a particular checkout counter of a supermarket 13,6,5,9,12,14,18, 4,13, 12, 4,3 11, 14 create a histogram that correctly displays the data

The list shows the quantity of items purchased by customers at a particular checkout-example-1
User Rtpax
by
9.0k points

1 Answer

2 votes

Histogram of items purchased:

Bar 1: 3-4 items (frequency: 3)

Bar 2: 5-6 items (frequency: 2)

Bar 3: 7-8 items (frequency: 1)

Bar 4: 9-10 items (frequency: 2)

Bar 5: 11-12 items (frequency: 2)

Bar 6: 13-14 items (frequency: 2)

Bar 7: 15-16 items (frequency: 1)

To create a histogram, we first need to determine the number of bins.

A good rule of thumb is to use 5-10 bins, so we will use 6 bins in this case.

Next, we need to determine the width of each bin.

The range of the data is 18 - 3 = 15, so we can divide this by 6 to get a bin width of 2.5.

Now, we can start counting the number of data points in each bin.

The following table shows the results:

Bin Range Frequency

1 3 - 5.5 3

2 5.5 - 8 2

3 8 - 10.5 2

4 10.5 - 13 3

5 13 - 15.5 2

6 15.5 - 18 2

The histogram shows that most customers purchased between 3 and 13 items, with a peak at 13 items.

There were also a few customers who purchased either 4 or 18 items.

User Arnis Juraga
by
8.5k points