maths.free › Statistics & Probability › Describing data with graphs
Describing data with graphs
Stemplots, histograms, box plots — and the quartiles behind them.
A picture of the data comes before any summary of it. Histograms show shape, box plots show the five-number summary (min, Q1, median, Q3, max), and both make outliers visible. The bar chart the solver draws for any list of numbers is the simplest of these.
Stem-and-Leaf Graphs (Stemplots), Line Graphs, and Bar Graphs
One simple graph, the stem-and-leaf graph or stemplot, comes from the field of exploratory data analysis. It is a good choice when the data sets are small. To create the plot, divide each observation of data into a stem and a leaf. The stem consists of the leading digit(s), while the leaf consists of a final significant digit. For example, 23 has stem two and leaf three. The number 432 has stem 43 and leaf two. Likewise, the number 5,432 has stem 543 and leaf two. The decimal 9.3 has stem nine and leaf three. Write the stems in a vertical line from smallest to largest. Draw a vertical line to the right of the stems. Then write the leaves in increasing order next to their corresponding stem. Make sure the leaves show a space between values, so that the exact data values may be easily determined. The frequency of data values for each stem provides information about the shape of the distribution.
Example
For Susan Dean's spring precalculus class, scores for the first exam were as follows (smallest to largest):
33, 42, 49, 49, 53, 55, 55, 61, 63, 67, 68, 68, 69, 69, 72, 73, 74, 78, 80, 83, 88, 88, 88, 90, 92, 94, 94, 94, 94, 96, 100
| Stem | Leaf |
| 3 | 3 |
| 4 | 2 9 9 |
| 5 | 3 5 5 |
| 6 | 1 3 7 8 8 9 9 |
| 7 | 2 3 4 8 |
| 8 | 0 3 8 8 8 |
| 9 | 0 2 4 4 4 4 6 |
| 10 | 0 |
The stemplot shows that most scores fell in the 60s, 70s, 80s, and 90s. Eight out of the 31 scores or approximately 26 percent \((\frac{8}{31})\) were in the 90s or 100, a fairly high number of As.
The stemplot is a quick way to graph data and gives an exact picture of the data. You want to look for an overall pattern and any outliers. An outlier is an observation of data that does not fit the rest of the data. It is sometimes called an extreme value. When you graph an outlier, it will appear not to fit the pattern of the graph. Some outliers are due to mistakes, for example, writing 50 instead of 500, while others may indicate that something unusual is happening. It takes some background information to explain outliers, so we will cover them in more detail later.
Example
In a survey, 40 mothers were asked how many times per week a teenager must be reminded to do his or her chores. The results are shown in and in .
| Number of Times Teenager Is Reminded | Frequency |
| 0 | 2 |
| 1 | 5 |
| 2 | 8 |
| 3 | 14 |
| 4 | 7 |
| 5 | 4 |
Condensed — the full section is in OpenStax Statistics.
Stem-and-Leaf Graphs (Stemplots), Line Graphs, and Bar Graphs
For each of the following data sets, create a stemplot and identify any outliers.
For the next three exercises, use the data to construct a line graph.
Histograms, Frequency Polygons, and Time Series Graphs
For most of the work you do in this book, you will use a histogram to display the data. One advantage of a histogram is that it can readily display large data sets.
A histogram consists of contiguous (adjoining) boxes. It has both a horizontal axis and a vertical axis. The horizontal axis is more or less a number line, labeled with what the data represents, for example, distance from your home to school. The vertical axis is labeled either frequency or relative frequency (or percent frequency or probability). The graph will have the same shape with either label. The histogram (like the stemplot) can give you the shape of the data, the center, and the spread of the data. The shape of the data refers to the shape of the distribution, whether normal, approximately normal, or skewed in some direction, whereas the center is thought of as the middle of a data set, and the spread indicates how far the values are dispersed about the center. In a skewed distribution, the mean is pulled toward the tail of the distribution.
The relative frequency is equal to the frequency for an observed value of the data divided by the total number of data values in the sample. Remember, frequency is defined as the number of times an answer occurs. If
- f = frequency,
- n = total number of data values (or the sum of the individual frequencies), and
- RF = relative frequency,
then \[\text{RF}=\frac{f}{n}\text{.}\]
For example, if three students in Mr. Ahab's English class of 40 students received from ninety to 100 percent, then f = 3, n = 40, and RF = \(\frac{f}{n}\) = \(\frac{3}{40}\) = 0.075. Thus, 7.5 percent of the students received 90 to 100 percent. Ninety to 100 percent is a quantitative measures.
To construct a histogram, first decide how many bars or intervals, also called classes, represent the data. Many histograms consist of five to 15 bars or classes for clarity. The width of each bar is also referred to as the bin size, which may be calculated by dividing the range of the data values by the desired number of bins (or bars). There is not a set procedure for determining the number of bars or bar width/bin size; however, consistency is key when determining which data values to place inside each interval.
| Interval | Frequency | Relative Frequency |
| 59.95–61.95 | 5 | 5/100 = 0.05 |
| 61.95–63.95 | 3 | 3/100 = 0.03 |
| 63.95–65.95 | 15 | 15/100 = 0.15 |
| 65.95–67.95 | 40 | 40/100 = 0.40 |
| 67.95–69.95 | 17 | 17/100 = 0.17 |
| 69.95–71.95 | 12 | 12/100 = 0.12 |
| 71.95–73.95 | 7 | 7/100 = 0.07 |
| 73.95–75.95 | 1 | 1/100 = 0.01 |
Condensed — the full section is in OpenStax Statistics.
Frequency Polygons
Frequency polygons are analogous to line graphs, and just as line graphs make continuous data visually easy to interpret, so too do frequency polygons.
To construct a frequency polygon, first examine the data and decide on the number of intervals and resulting interval size, for both the x-axis and y-axis. The x-axis will show the lower and upper bound for each interval, containing the data values, whereas the y-axis will represent the frequencies of the values. Each data point represents the frequency for each interval. For example, if an interval has three data values in it, the frequency polygon will show a 3 at the upper endpoint of that interval. After choosing the appropriate intervals, begin plotting the data points. After all the points are plotted, draw line segments to connect them.
Example
A frequency polygon was constructed from the frequency table below.
| Frequency Distribution for Calculus Final Test Scores | |||
| Lower Bound | Upper Bound | Frequency | Cumulative Frequency |
| 49.5 | 59.5 | 5 | 5 |
| 59.5 | 69.5 | 10 | 15 |
| 69.5 | 79.5 | 30 | 45 |
| 79.5 | 89.5 | 40 | 85 |
| 89.5 | 99.5 | 15 | 100 |
Notice that each point represents frequency for a particular interval. These points are located halfway between the lower bound and upper bound. In fact, the horizontal axis, or x-axis, shows only these midpoint values. For the interval 49.5–59.5 the value 54.5 is represented by a point, showing the correct frequency of 5. For the interval occurring before 49.5–59.5, (as well as 39.5–49.5), the value of the midpoint, or 44.5, is represented by a point, showing a frequency of 0, since we do not have any values in that range. The same idea applies to the last interval of 99.5–109.5, which has a midpoint of 104.5 and correctly shows a point representing a frequency of 0. Looking at the graph, we say that this distribution is skewed because one side of the graph does not mirror the other side.
Frequency polygons are useful for comparing distributions. This comparison is achieved by overlaying the frequency polygons drawn for different data sets.
Example
We will construct an overlay frequency polygon comparing the scores from with the students’ final numeric grades.
| Frequency Distribution for Calculus Final Test Scores | |||
| Lower Bound | Upper Bound | Frequency | Cumulative Frequency |
| 49.5 | 59.5 | 5 | 5 |
| 59.5 | 69.5 | 10 | 15 |
| 69.5 | 79.5 | 30 | 45 |
| 79.5 | 89.5 | 40 | 85 |
| 89.5 | 99.5 | 15 | 100 |
| Frequency Distribution for Calculus Final Grades | |||
| Lower Bound | Upper Bound | Frequency | Cumulative Frequency |
| 49.5 | 59.5 | 10 | 10 |
| 59.5 | 69.5 | 10 | 20 |
| 69.5 | 79.5 | 30 | 50 |
| 79.5 | 89.5 | 45 | 95 |
| 89.5 | 99.5 | 5 | 100 |
Condensed — the full section is in OpenStax Statistics.
Constructing a Time Series Graph
To construct a time series graph, we must look at both pieces of our paired data set. We start with a standard Cartesian coordinate system. The horizontal axis is used to plot the date or time increments, and the vertical axis is used to plot the values of the variable that we are measuring. By using the axes in that way, we make each point on the graph correspond to a date and a measured quantity. The points on the graph are typically connected by straight lines in the order in which they occur.
Example
Try it.
The following data show the Annual Consumer Price Index each month for 10 years. Construct a time series graph for the Annual Consumer Price Index data only.
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul |
| 2003 | 181.7 | 183.1 | 184.2 | 183.8 | 183.5 | 183.7 | 183.9 |
| 2004 | 185.2 | 186.2 | 187.4 | 188.0 | 189.1 | 189.7 | 189.4 |
| 2005 | 190.7 | 191.8 | 193.3 | 194.6 | 194.4 | 194.5 | 195.4 |
| 2006 | 198.3 | 198.7 | 199.8 | 201.5 | 202.5 | 202.9 | 203.5 |
| 2007 | 202.416 | 203.499 | 205.352 | 206.686 | 207.949 | 208.352 | 208.299 |
| 2008 | 211.080 | 211.693 | 213.528 | 214.823 | 216.632 | 218.815 | 219.964 |
| 2009 | 211.143 | 212.193 | 212.709 | 213.240 | 213.856 | 215.693 | 215.351 |
| 2010 | 216.687 | 216.741 | 217.631 | 218.009 | 218.178 | 217.965 | 218.011 |
| 2011 | 220.223 | 221.309 | 223.467 | 224.906 | 225.964 | 225.722 | 225.922 |
| 2012 | 226.665 | 227.663 | 229.392 | 230.085 | 229.815 | 229.478 | 229.104 |
| Year | Aug | Sep | Oct | Nov | Dec | Annual |
| 2003 | 184.6 | 185.2 | 185.0 | 184.5 | 184.3 | 184.0 |
| 2004 | 189.5 | 189.9 | 190.9 | 191.0 | 190.3 | 188.9 |
| 2005 | 196.4 | 198.8 | 199.2 | 197.6 | 196.8 | 195.3 |
| 2006 | 203.9 | 202.9 | 201.8 | 201.5 | 201.8 | 201.6 |
| 2007 | 207.917 | 208.490 | 208.936 | 210.177 | 210.036 | 207.342 |
| 2008 | 219.086 | 218.783 | 216.573 | 212.425 | 210.228 | 215.303 |
| 2009 | 215.834 | 215.969 | 216.177 | 216.330 | 215.949 | 214.537 |
| 2010 | 218.312 | 218.439 | 218.711 | 218.803 | 219.179 | 218.056 |
| 2011 | 226.545 | 226.889 | 226.421 | 226.230 | 225.672 | 224.939 |
| 2012 | 230.379 | 231.407 | 231.317 | 230.221 | 229.601 | 229.594 |
Solution
Time series graphs are important tools in various applications of statistics. When a researcher records values of the same variable over an extended period of time, it is sometimes difficult for him or her to discern any trend or pattern. However, once the same data points are displayed graphically, some features jump out. Time series graphs make trends easy to spot.
Box Plots
Box plots, also called box-and-whisker plots or box-whisker plots, give a good graphical image of the concentration of the data. They also show how far the extreme values are from most of the data. As mentioned previously, a box plot is constructed from five values: the minimum value, the first quartile, the median, the third quartile, and the maximum value. We use these values to compare how close other data values are to them.
To construct a box plot, use a horizontal or vertical number line and a rectangular box. The smallest and largest data values label the endpoints of the axis. The first quartile marks one end of the box, and the third quartile marks the other end of the box. Approximately the middle 50 percent of the data fall inside the box. The whiskers extend from the ends of the box to the smallest and largest data values. A box plot easily shows the range of a data set, which is the difference between the largest and smallest data values (or the difference between the maximum and minimum). Unless the median, first quartile, and third quartile are the same value, the median will lie inside the box or between the first and third quartiles. The box plot gives a good, quick picture of the data.
Consider, again, this data set:
1, 1, 2, 2, 4, 6, 6.8, 7.2, 8, 8.3, 9, 10, 10, 11.5
The first quartile is two, the median is seven, and the third quartile is nine. The smallest value is one, and the largest value is 11.5. The following image shows the constructed box plot.
The two whiskers extend from the first quartile to the smallest value and from the third quartile to the largest value. The median is shown with a dashed line.
Condensed — the full section is in OpenStax Statistics.
Box Plots
Sixty-five randomly selected car salespersons were asked the number of cars they generally sell in one week. Fourteen people answered that they generally sell three cars, 19 generally sell four cars, 12 generally sell five cars, nine generally sell six cars, and 11 generally sell seven cars.
工作范例: median of 3, 1, 4, 1, 5, 9, 2, 6
一步
- 3, 1, 4, 1, 5, 9, 2, 6
8 values.
- 1, 1, 2, 3, 4, 5, 6, 9
Sort the values.
- \text{median} = \frac{7}{2}
The middle value (or the mean of the two middle values).
发送答案
Practice (40)
Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.
-
For the Park City basketball team, scores for the last 30 games were as follows (smallest to largest):
32, 32, 33, 34, 38, 40, 42, 42, 43, 44, 46, 47, 47, 48, 48, 48, 49, 50, 50, 51, 52, 52, 52, 53, 54, 56, 57, 57, 60, 61
Construct a stemplot for the data.发送答案
Stem Leaf 3 2 2 3 4 8 4 0 2 2 3 4 6 7 7 8 8 8 9 5 0 0 1 2 2 2 3 4 6 7 7 6 0 1 -
Do the data seem to have any concentration of values?
发送答案
The value 12.3 may be an outlier. Values appear to concentrate at 3 and 4 kilometers.
Stem Leaf 1 1 5 2 3 5 7 3 2 3 3 5 8 4 0 2 5 5 7 8 5 5 6 6 5 7 7 8 9 10 11 12 3 -
The data below show the distances (in miles) from the homes of high school students to the school. Create a stemplot using the following data and identify any outliers.
0.5, 0.7, 1.1, 1.2, 1.2, 1.3, 1.3, 1.5, 1.5, 1.7, 1.7, 1.8, 1.9, 2.0, 2.2, 2.5, 2.6, 2.8, 2.8, 2.8, 3.5, 3.8, 4.4, 4.8, 4.9, 5.2, 5.5, 5.7, 5.8, 8.0
发送答案
Stem Leaf 0 5 7 1 1 2 2 3 3 5 5 7 7 8 9 2 0 2 5 6 8 8 8 3 5 8 4 4 8 9 5 2 5 7 8 6 7 8 0 The value 8.0 may be an outlier. Values appear to concentrate at one and two miles.
-
The table shows the number of wins and losses a sports team has had in 42 seasons. Create a side-by-side stem-and-leaf plot of these wins and losses.
Losses Wins Year Losses Wins Year 34 48 1968–1969 41 41 1989–1990 34 48 1969–1970 39 43 1990–1991 46 36 1970–1971 44 38 1991–1992 46 36 1971–1972 39 43 1992–1993 36 46 1972–1973 25 57 1993–1994 47 35 1973–1974 40 42 1994–1995 51 31 1974–1975 36 46 1995–1996 53 29 1975–1976 26 56 1996–1997 51 31 1976–1977 32 50 1997–1998 41 41 1977–1978 19 31 1998–1999 36 46 1978–1979 54 28 1999–2000 32 50 1979–1980 57 25 2000–2001 51 31 1980–1981 49 33 2001–2002 40 42 1981–1982 47 35 2002–2003 39 43 1982–1983 54 28 2003–2004 42 40 1983–1984 69 13 2004–2005 48 34 1984–1985 56 26 2005–2006 32 50 1985–1986 52 30 2006–2007 25 57 1986–1987 45 37 2007–2008 32 50 1987–1988 35 47 2008–2009 30 52 1988–1989 29 53 2009–2010 发送答案
Atlanta Hawks Wins and Losses Number of Wins Number of Losses 3 1 9 9 8 8 6 5 2 5 5 9 8 7 6 6 5 5 4 3 1 1 1 1 0 3 0 2 2 2 2 4 4 5 6 6 6 9 9 9 8 8 7 6 6 6 3 3 3 2 2 1 1 0 4 0 0 1 1 2 4 5 6 6 7 7 8 9 7 7 6 3 2 0 0 0 0 5 1 1 1 2 3 4 4 6 7 6 9 -
In a survey, 40 people were asked how many times per year they had their car in the shop for repairs. The results are shown in . Construct a line graph.
Number of Times in Shop Frequency 0 7 1 10 2 14 3 9 -
By the end of 2011, a social media site had more than 146 million users in the United States. shows three age-groups, the number of users in each age-group, and the proportion (percentage) of users in each age-group. Construct a bar graph using this data.
Age-Groups Number of Site Users Proportion (%) of Site Users 13–25 65,082,280 45% 26–44 53,300,200 36% 45–64 27,885,100 19% -
The population in Park City is made up of children, working-age adults, and retirees. shows the three age-groups, the number of people in the town from each age-group, and the proportion (%) of people in each age-group. Construct a bar graph showing the proportions.
Age-Groups Number of People Proportion of Population Children 67,059 19% Working-age adults 152,198 43% Retirees 131,662 38% -
The columns in contain the race or ethnicity of students in U.S. public schools for the class of 2011, percentages for the Advanced Placement (AP) examinee population for that class, and percentages for the overall student population. Create a bar graph with the student race or ethnicity (qualitative data) on the x-axis and the AP examinee population percentages on the y-axis.
Race/Ethnicity AP Examinee Population Overall Student Population 1 = Asian, Asian American, or Pacific Islander 10.3% 5.7% 2 = Black or African American 9.0% 14.7% 3 = Hispanic or Latino 17.0% 17.6% 4 = American Indian or Alaska Native 0.6% 1.1% 5 = White 57.1% 59.2% 6 = Not reported/other 6.0% 1.7% -
Park City is broken down into six voting districts. The table shows the percentage of the total registered voter population that lives in each district as well as the percentage of the entire population that lives in each district. Construct a bar graph that shows the registered voter population by district.
District Registered Voter Population Overall City Population 1 15.5% 19.4% 2 12.2% 15.6% 3 9.8% 9.0% 4 17.4% 18.5% 5 22.8% 20.7% 6 22.3% 16.8% -
is a two-way table showing the types of pets owned by men and women.
Dogs Cats Fish Total Men 4 2 2 8 Women 4 6 2 12 Total 8 8 4 20 Given these data, calculate the marginal distributions of pets for the people surveyed.
发送答案
\[\text{Dogs = 8/20 = }\text{0.4}\]
\[\text{Cats = 8/20 = }\text{0.4}\]
\[\text{Fish = 4/20 = }\text{0.2}\]
Note—The sum of all the marginal distributions must equal one. In this case, \[0.4\ +\ 0.4\ +\ 0.2\ =\ 1;\] therefore, the solution checks.
-
is a two-way table showing the types of pets owned by men and women.
Dogs Cats Fish Total Men 4 2 2 8 Women 4 6 2 12 Total 8 8 4 20 Given these data, calculate the conditional distributions for the subpopulation of men who own each pet type.
发送答案
\[\text{Men who own dogs = 4/8 = }\text{0.5}\]
\[\text{Men who own cats = 2/8 = }\text{0.25}\]
\[\text{Men who own fish = 2/8 = }\text{0.25}\]
Note—The sum of all the conditional distributions must equal one. In this case, \[0.5\ +\ 0.25\ +\ 0.25\ =\ 1;\] therefore, the solution checks.
-
The miles-per-gallon ratings for 30 cars are shown below (lowest to highest):
19, 19, 19, 20, 21, 21, 25, 25, 25, 26, 26, 28, 29, 31, 31, 32, 32, 33, 34, 35, 36, 37, 37, 38, 38, 38, 38, 41, 43, 43.发送答案
Stem Leaf 1 9 9 9 2 0 1 1 5 5 5 6 6 8 9 3 1 1 2 2 3 4 5 6 7 7 8 8 8 8 4 1 3 3 -
The height in feet of 25 trees is shown below (lowest to highest):
25, 27, 33, 34, 34, 34, 35, 37, 37, 38, 39, 39, 39, 40, 41, 45, 46, 47, 49, 50, 50, 53, 53, 54, 54. -
The data are the prices of different laptops at an electronics store. Round each value to the nearest 10.
249, 249, 260, 265, 265, 280, 299, 299, 309, 319, 325, 326, 350, 350, 350, 365, 369, 389, 409, 459, 489, 559, 569, 570, 610发送答案
Stem Leaf 2 5 5 6 7 7 8 3 0 0 1 2 3 3 5 5 5 7 7 9 4 1 6 9 5 6 7 7 6 1 -
The following data are daily high temperatures in a town for one month:
61, 61, 62, 64, 66, 67, 67, 67, 68, 69, 70, 70, 70, 71, 71, 72, 74, 74, 74, 75, 75, 75, 76, 76, 77, 78, 78, 79, 79, 95. -
In a survey, 40 people were asked how many times they visited a store before making a major purchase. The results are shown in .
Number of Times in Store Frequency 1 4 2 10 3 16 4 6 5 4 -
In a survey, several people were asked how many years it has been since they purchased a mattress. The results are shown in .
Years Since Last Purchase Frequency 0 2 1 8 2 13 3 22 4 16 5 9 -
Several children were asked how many TV shows they watch each day. The results of the survey are shown in .
Number of TV Shows Frequency 0 12 1 18 2 36 3 7 4 2 -
The students in Ms. Ramirez’s math class have birthdays in each of the four seasons. shows the four seasons, the number of students who have birthdays in each season, and the percentage of students in each group. Construct a bar graph showing the number of students.
Seasons Number of Students Proportion of Population Spring 8 24% Summer 9 26% Autumn 11 32% Winter 6 18% -
Using the data from Mrs. Ramirez’s math class supplied in , construct a bar graph showing the percentages.
-
David County has six high schools. Each school sent students to participate in a county-wide science competition. shows the percentage breakdown of competitors from each school and the percentage of the entire student population of the county that goes to each school. Construct a bar graph that shows the population percentage of competitors from each school.
High School Science Competition Population Overall Student Population Alabaster 28.9% 8.6% Concordia 7.6% 23.2% Genoa 12.1% 15.0% Mocksville 18.5% 14.3% Tynneson 24.2% 10.1% West End 8.7% 28.8% -
Use the data from the David County science competition supplied in . Construct a bar graph that shows the county-wide population percentage of students at each school.
-
Student grades on a chemistry exam were 77, 78, 76, 81, 86, 51, 79, 82, 84, and 99.
- Construct a stem-and-leaf plot of the data.
- Are there any potential outliers? If so, which scores are they? Why do you consider them outliers?
-
contains the 2010 rates for a specific disease in U.S. states and Washington, DC.
State Percent (%) State Percent (%) State Percent (%) Alabama 32.2 Kentucky 31.3 North Dakota 27.2 Alaska 24.5 Louisiana 31.0 Ohio 29.2 Arizona 24.3 Maine 26.8 Oklahoma 30.4 Arkansas 30.1 Maryland 27.1 Oregon 26.8 California 24.0 Massachusetts 23.0 Pennsylvania 28.6 Colorado 21.0 Michigan 30.9 Rhode Island 25.5 Connecticut 22.5 Minnesota 24.8 South Carolina 31.5 Delaware 28.0 Mississippi 34.0 South Dakota 27.3 Washington, DC 22.2 Missouri 30.5 Tennessee 30.8 Florida 26.6 Montana 23.0 Texas 31.0 Georgia 29.6 Nebraska 26.9 Utah 22.5 Hawaii 22.7 Nevada 22.4 Vermont 23.2 Idaho 26.5 New Hampshire 25.0 Virginia 26.0 Illinois 28.2 New Jersey 23.8 Washington 25.5 Indiana 29.6 New Mexico 25.1 West Virginia 32.5 Iowa 28.4 New York 23.9 Wisconsin 26.3 Kansas 29.4 North Carolina 27.8 Wyoming 25.1 - Use a random number generator to randomly pick eight states. Construct a bar graph of the rates of a specific disease of those eight states.
- Construct a bar graph for all the states beginning with the letter A.
- Construct a bar graph for all the states beginning with the letter M.
发送答案
- Example solution for using the random number generator for the TI-84+ to generate a simple random sample of eight states. Instructions are as follows.
- Number the entries in the table 1–51 (includes Washington, DC; numbered vertically)
- Press MATH
- Arrow over to PRB
- Press 5:randInt(
- Enter 51,1,8)
Eight numbers are generated (use the right arrow key to scroll through the numbers). The numbers correspond to the numbered states (for this example: {47 21 9 23 51 13 25 4}. If any numbers are repeated, generate a different number by using 5:randInt(51,1)). Here, the states (and Washington DC) are {Arkansas, Washington DC, Idaho, Maryland, Michigan, Mississippi, Virginia, Wyoming}.
Corresponding percents are {30.1, 22.2, 26.5, 27.1, 30.9, 34.0, 26.0, 25.1}.
-
The following data are the shoe sizes of 50 male students. The sizes are continuous data since shoe size is measured. Construct a histogram and calculate the width of each bar or class interval. Use six bars on the histogram.
9, 9, 9.5, 9.5, 10, 10, 10, 10, 10, 10, 10.5, 10.5, 10.5, 10.5, 10.5, 10.5, 10.5, 10.5,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11.5, 11.5, 11.5, 11.5, 11.5, 11.5, 11.5,
12, 12, 12, 12, 12, 12, 12, 12.5, 12.5, 12.5, 12.5, 14发送答案
Smallest value: 9
Largest value: 14
Convenient starting value: 9 – 0.05 = 8.95
Convenient ending value: 14 + 0.05 = 14.05
\(\frac{14.05-8.95}{6}=0.85\)
The calculations suggests using 0.85 as the width of each bar or class interval. You can also use an interval with a width equal to one.
-
Calculate the width of each bar/bin size/interval size.
发送答案
The smallest data value is 1, and the largest data value is 6. To make sure each is included in an interval, we can use 0.5 as the smallest value and 6.5 as the largest value by subtracting and adding 0.5 to these values. We have a small range here of 6 (6.5 – 0.5), so we will want a fewer number of bins; let's say six this time. So, six divided by six bins gives a bin size (or interval size) of one.
-
The following data are the number of sports played by 50 student athletes. The number of sports is discrete data since sports are counted.
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3
Twenty student athletes play one sport. Twenty-two student athletes play two sports. Eight student athletes play three sports. Calculate a desired bin size for the data. Create a histogram and clearly label the endpoints of the intervals.发送答案
1.5
1.5 to 2.5
2.5 to 3.5 -
Using this data set, construct a histogram.
Number of Hours My Classmates Spent Playing Video Games on Weekends 9.95 10 2.25 16.75 0 19.5 22.5 7.5 15 12.75 5.5 11 10 20.75 17.5 23 21.9 24 23.75 18 20 15 22.9 18.8 20.5 发送答案
Some values in this data set fall on boundaries for the class intervals. A value is counted in a class interval if it falls on the left boundary but not if it falls on the right boundary. Different researchers may set up histograms for the same data in different ways. There is more than one correct way to set up a histogram.
-
The following data represent the number of employees at various restaurants in New York City. Using this data, create a histogram.
22, 35, 15, 26, 40, 28, 18, 20, 25, 34, 39, 42, 24, 22, 19, 27, 22, 34, 40, 20, 38, 28
-
Construct a frequency polygon of U.S. presidents’ ages at inauguration shown in .
Age at Inauguration Frequency 41.5–46.5 4 46.5–51.5 11 51.5–56.5 14 56.5–61.5 9 61.5–66.5 4 66.5–71.5 2 发送答案
The first label on the x-axis is 39. This represents an interval extending from 36.5 to 41.5. Since there are no ages less than 41.5, this interval is used only to allow the graph to touch the x-axis. The point labeled 44 represents the next interval, or the first real interval from the table, and contains four scores. This reasoning is followed for each of the remaining intervals with the point 74 representing the interval from 71.5 to 76.5. Again, this interval contains no data and is used only so that the graph will touch the x-axis. Looking at the graph, we say that this distribution is skewed because one side of the graph does not mirror the other side.
-
The following data show the Annual Consumer Price Index each month for 10 years. Construct a time series graph for the Annual Consumer Price Index data only.
Year Jan Feb Mar Apr May Jun Jul 2003 181.7 183.1 184.2 183.8 183.5 183.7 183.9 2004 185.2 186.2 187.4 188.0 189.1 189.7 189.4 2005 190.7 191.8 193.3 194.6 194.4 194.5 195.4 2006 198.3 198.7 199.8 201.5 202.5 202.9 203.5 2007 202.416 203.499 205.352 206.686 207.949 208.352 208.299 2008 211.080 211.693 213.528 214.823 216.632 218.815 219.964 2009 211.143 212.193 212.709 213.240 213.856 215.693 215.351 2010 216.687 216.741 217.631 218.009 218.178 217.965 218.011 2011 220.223 221.309 223.467 224.906 225.964 225.722 225.922 2012 226.665 227.663 229.392 230.085 229.815 229.478 229.104 Year Aug Sep Oct Nov Dec Annual 2003 184.6 185.2 185.0 184.5 184.3 184.0 2004 189.5 189.9 190.9 191.0 190.3 188.9 2005 196.4 198.8 199.2 197.6 196.8 195.3 2006 203.9 202.9 201.8 201.5 201.8 201.6 2007 207.917 208.490 208.936 210.177 210.036 207.342 2008 219.086 218.783 216.573 212.425 210.228 215.303 2009 215.834 215.969 216.177 216.330 215.949 214.537 2010 218.312 218.439 218.711 218.803 219.179 218.056 2011 226.545 226.889 226.421 226.230 225.672 224.939 2012 230.379 231.407 231.317 230.221 229.601 229.594 -
The following table is a portion of a data set from a banking website. Use the table to construct a time series graph for CO2 emissions for the United States.
CO2 Emissions Ukraine United Kingdom United States 2003 352,259 540,640 5,681,664 2004 343,121 540,409 5,790,761 2005 339,029 541,990 5,826,394 2006 327,797 542,045 5,737,615 2007 328,357 528,631 5,828,697 2008 323,657 522,247 5,656,839 2009 272,176 474,579 5,299,563 -
65 randomly selected car salespersons were asked the number of cars they generally sell in one week. 14 people answered that they generally sell three cars, 19 generally sell four cars, 12 generally sell five cars, nine generally sell six cars, and 11 generally sell seven cars. Complete the table.
Data Value (Number of Cars) Frequency Relative Frequency Cumulative Relative Frequency -
What does the frequency column in sum to? Why?
发送答案
65
-
What does the relative frequency column in sum to? Why?
-
What is the difference between relative frequency and frequency for each data value in ?
发送答案
The relative frequency shows the proportion of data points that have each value. The frequency tells the number of data points that have each value.
-
What is the difference between cumulative relative frequency and relative frequency for each data value?
-
To construct the histogram for the data in , determine appropriate minimum and maximum x- and y-values and the scaling. Sketch the histogram. Label the horizontal and vertical axes with words. Include numerical scaling.
发送答案
Answers will vary. One possible histogram is shown below.
-
Construct a frequency polygon for the following.
Pulse Rates for Women Frequency 60–69 12 70–79 14 80–89 11 90–99 1 100–109 1 110–119 0 120–129 1 Actual Speed in a 30-MPH Zone Frequency 42–45 25 46–49 14 50–53 7 54–57 3 58–61 1 Tar (mg) in Nonfiltered Cigarettes Frequency 10–13 1 14–17 0 18–21 15 22–25 7 26–29 2
-
Construct a frequency polygon from the frequency distribution for the 50 highest-ranked countries for depth of hunger.
Depth of Hunger Frequency 230–259 21 260–289 13 290–319 5 320–349 7 350–379 1 380–409 1 410–439 1 发送答案
Find the midpoint for each class. These will be graphed on the x-axis. The frequency values will be graphed on the y-axis values.
试试你自己试试
Parts of this page are adapted from OpenStax Statistics (CC BY 4.0). Condensed and re-explained here; errors are ours.
更多 Statistics & Probability
Sampling and dataMean, median and modeProbabilityCounting: permutations and combinationsDiscrete random variablesContinuous random variablesThe normal distributionThe central limit theoremConfidence intervalsHypothesis testingComparing two samplesChi-square testsLinear regression and correlationANOVA and the F distribution