If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: AP®︎/College Statistics>Unit 3

Lesson 1: Measuring center in quantitative data

# Median in a histogram

Worked example from Khan Academy finding the interval in a histogram containing the media of a data set.

## Want to join the conversation?

• I am frustrated with the measuring center quantitative data scoring for completion of calculating the median. My answers are correct, but the dialog box shows I need to "try again" or more to the answer is requested. I had no problems with practice calculating the mean. What am I doing wrong? I sent my feedback on the issue, but seem to be getting nowhere.
• At how would the 25th and 26th be the two data points if the number of consecutive days is 50?
• since 50 is an even number, the median (or the middle number of days) is going to be the two middle values.
Consider writing out all the number of days from 1-50, and try to find the median values.
• Where and how did he get the 23 lowest? I was really thrown off. I've tried re-watching it multiple times but I still cant seem to figure it out.
• The histogram tells us that out of the 50 days, there were...
...2 days when Miguel slept between 6 and 6.5 hours.
...9 days when he slept between 6.5 and 7 hours.
...12 days when he slept between 7 and 7.5 hours.
...12 days when he slept between 7.5 and 8 hours.
...11 days when he slept between 8 and 8.5 hours.
...2 days when he slept between 8.5 and 9 hours.
...2 days when he slept between 9 and 9.5 hours.

This means that there were
2 + 9 + 12 = 23 days when Miguel got less than 7.5 hours of sleep, which are also the 23 days when he got the least amount of sleep because all the other days he got 7.5 hours of sleep or more.
• hey how does this help in life
• @robitaille.alexandre it helps in life because when you are trying to find the average of say, how much you spend in a month, it is easy to calculate.
• Mode may also be estimated from a histogram. However, what will be the mode in the above-mentioned example? There are two ADJACENT bars with equal heights. Theoretically, this is a bi-modal set of grouped data. How do we estimate the modes graphically in such a case?
• I'm confused... why the median is calculated from the amount of days tracked by Miguel instead of doing it from the number of hours he slept?