Estimating the mean, median and mode from a relative frequency histogram
由频率分布直方图估计平均数、中位数和众数
How do you estimate the mean from a histogram?
Use the midpoint of each bar weighted by the bar's relative area.
Sign in to read the whole lesson, with 1 interactive aid, 3 exercises
Sign in / Sign upMastery goals
- Can estimate the mean by adding up, over all bars, the midpoint of the base times the area of the bar
- Can estimate the median as the point where the histogram area on each side is 0.5
- Can estimate the mode by the midpoint of the tallest bar, and explain that all these are approximations that assume the data are spread evenly within each class
In a relative frequency histogram we cannot tell how the data are spread within each class. In that case we usually assume they are spread evenly within the class. This gives approximate estimates of the sample's mean, median and mode, and from them estimates of the population's mean, median and mode.
Because the sample mean can be written as the sum of the products of each value and its relative frequency, in a relative frequency histogram the sample mean can be approximated by the sum of the products of the horizontal coordinate of the midpoint of each bar's base and the area of that bar. As in Figure 9.2-10, we can read the height of each bar, so an approximate value of the mean is
This is not far from the sample mean computed from the raw data.
By the meaning of the median, of the individuals in the sample are less than or equal to the median and are greater than or equal to it. So in a relative frequency histogram the areas of the histogram to the left and to the right of the median should be equal. Since
the median lies in the interval . Let the median be . From
we get . So the median is about , as shown in Figure 9.2-11. This is very close to the median found from the raw data.
In the relative frequency histogram of Figure 9.2-1, the most households have average monthly water use in the interval , so the midpoint of this interval, , can be taken as an estimate of the mode, as shown in Figure 9.2-12. The mode is often used to describe categorical data; in this practical problem the mode "" tells us that the most households have average monthly water use in . This information has practical meaning.
Related points
All points in this topicCite this page: Estimating the mean, median and mode from a relative frequency histogram · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000925