7.9: Applications of Histograms
You're collecting data on the amount of minutes that users stay on your website. You have the results for 1,000 users and you want to organize these results in intervals of 3 minutes. You've noticed that the shortest amount of time a user stayed on the site was 30 seconds and the longest amount of time was 15.5 minutes. How would you organize this data?
Watch This
First watch this video to learn about creating histograms with calculators.
CK-12 Foundation: Chapter7ApplicationsofHistogramsA
Then watch this video to see some examples.
CK-12 Foundation: Chapter7ApplicationsofHistogramsB
Guidance
Technology can also be used to plot a histogram. The TI-83 can be used to create a histogram by using STAT and STAT PLOT on the calculator. The TRACE feature can then be used to find the number of values for each bin, and then a frequency distribution table can be constructed from these values. When constructing a histogram using a TI-83 calculator, it's important that your settings are correct on the WINDOW screen. The setting that determines the bin size is the Xscl setting , so you'll want to make sure that the number for Xscl is correct before creating your histogram.
Example A
Scientists have invented a new dietary supplement that is supposed to increase the weight of a piglet within its first 3 months of growth. Farmer John fed this supplement to his stock of piglets, and at the end of 3 months, he recorded the weights of 50 randomly selected piglets.
The following table is the recorded weights (in pounds) of the 50 selected piglets:
Using the above data set and your calculator, construct a histogram to represent the data. Use a bin size of 10.
The histogram can be created as follows:
Example B
Use the TRACE feature to get information about the data in each bar of the histogram that you created in Example A.
First, press .
The TRACE feature tells you that in the first bin, which is [60-70), there are 4 values.
The TRACE feature tells you that in the second bin, which is [70-80), there are 6 values.
To advance to the next bin, or bar, of the histogram, use the cursor and move to the right. The numbers of values for the subsequent bins are 5, 9, 13, 10, and 3, respectively. The information obtained by using the TRACE feature will enable you to create a frequency table and to draw the histogram on paper.
Example C
The following data represents the results of a test taken by a group of students:
Display the results in a histogram using technology and construct a frequency distribution table using a bin size of 10.
The histogram and the numbers of values for the bins are as shown below:
Now the frequency distribution table can be constructed as follows:
Bin | Frequency |
---|---|
0 | |
9 | |
5 | |
6 | |
3 | |
1 |
Guided Practice
The following table is the the number of minutes spent practicing per day by a professional violinist for each of the last 80 days:
Display the results in a histogram using technology and construct a frequency distribution table using a bin size of 10.
Answer:
First, press , choose Edit on the EDIT menu, and enter the data values into L1. Since there are so many data values, it's a good idea to then use 1-Var Stats to find the minimum and the maximum data values so that the correct settings for the histogram can be entered in the WINDOW screen. To access 1-Var Stats, after returning to the main screen, press and choose 1-Var Stats on the CALC menu. After pressing to choose 1-Var Stats, press again, and then use the down arrow to find the minimum and maximum values. You should see the following:
Now that we know that the minimum value is 67 and the maximum value is 127, we can enter the settings for the histogram in the WINDOW screen. To do this, press and enter what is shown below:
We are now ready to create our histogram. To do so, press , and make sure you have the following settings:
Finally, press , and you should see the histogram shown below:
At this point, you can use the TRACE feature to find the number of values for each bin. Just press and use the right arrow to move across the screen.
The numbers for the bins should be 2, 5, 17, 23, 25, 4, and 4, respectively. Notice that , which is the number of days for which the data exists. Since we now have the frequency for each bin, the frequency distribution table can be created as follows:
Bin | Frequency |
---|---|
2 | |
5 | |
17 | |
23 | |
25 | |
4 | |
4 |
Practice
Use the histogram shown below to answer the following questions:
- What is the bin size for the histogram?
- Which bin(s) have the highest frequency?
- Which bin(s) have the lowest frequency?
- What is the total number of data values represented by the histogram?
- What percentage of the data values are in the bin [60-70)?
Use the histogram shown below to answer the following questions:
- What is the bin size for the histogram?
- Which bin(s) have the highest frequency?
- Which bin(s) have the lowest frequency?
- What is the total number of data values represented by the histogram?
- What percentage of the data values are in the bin [15-20)?
Image Attributions
Description
Learning Objectives
Here you'll learn how to use the Texas Instruments calculator to construct histograms.