yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Median in a histogram | Summarizing quantitative data | AP Statistics | Khan Academy


2m read
·Nov 11, 2024

Miguel tracked how much sleep he got for 50 consecutive days and made a histogram of the results. Which interval contains the median sleep amount? So, they're saying, is it this interval on the histogram from 6 to 6.5, or this one, or this one, or any of these? Which of these intervals contain the median? Pause this video and see if you can figure that out.

All right, now let's work through this together and let's just remind ourselves how we find the median. If I had the data points 11, 9, 7, 3, and 2, the way that we find the median is we can order it from least to greatest. Or actually, you could do it from greatest to least, but let's do least to greatest: 2, 3, 7, 9, 11. The median would be the middle number, and I have a clear middle number because I have five data points.

If I have an even number of data points, I still would want to order them from least to greatest. So let's say that I have a 1, 1, 3, and a 7. But here, you don't have a clear middle, so the median would be the mean of the middle two numbers. So in this situation, Miguel has an even number of data points, so the median would be the mean of the 25th and 26th data point. These would be the middle two data points.

So, which interval here contains the 25th and the 26th data point? Well, we can start at the bottom. So, we have—actually, let's just look at each interval and think about how many data points they have in it. This one has 2, this one has 9, this one has 12, and I'm just reading out how many data points there are in each of these intervals. This one has 12, this one has 11. I see that there—this one has 2, and this one has 2.

So if we look at just this, we have the two lowest. If we look at the two bottom intervals combined, we have the 11 lowest. If we look at the three bottom intervals, we have the 11 plus 12, you have the 23 lowest. So this is the 23 lowest data points. The 24th, 25th, and 26th—the next 12 data points starting from the bottom, starting from the lowest, are going to be in this next interval here.

And we care about the 25th and the 26th, so they're definitely going to be in this interval from 7.5 hours of sleep to 8 hours of sleep.

More Articles

View All
See the Ancient Whale Skull Recovered From a Virginia Swamp | National Geographic
When I first went to the site in the bottom of the river, you see these whale bones and shark teeth just poking out. The river’s raging; it’s like holding on to a car going 65 miles an hour down the highway. Everything east of the Route 95 on the east sid…
Sine of time
Now I want to introduce a new idea, and that is the idea of voltage or current, some electrical signal being a function of time: cosine of Omega T. So here what we’re doing is we’re introducing time as the argument to a cosine, and time is that stuff tha…
PEOPLE WON'T WORK IN WAR-TORN CITIES
The economies change radically. The problem with saying everybody has to work in the office is you won’t be able to hire the best talent. When we went out for financial services people in our operating company, the best talent told us, “If I have to come …
Ian Hogarth
Now we’re going to move on to the next speaker, which is Ian Hogarth of Sonick. He’s the co-founder and CEO. Y Combinator funded Sonick in 2007, and a fun fact, it’s actually through Ian that I found out about Y Combinator all that time ago. So if you don…
How do you prepare yourself mentally to be an entrepreneur?
So how do you prepare yourself mentally to be an entrepreneur? What I will say is maybe borrowing a little bit from Buddhism or philosophical Hinduism, but it’s really this notion to try to not get attached to the outcome. Obviously, you’re going into en…
How to Increase Willpower and Self-Control
The studio isn’t perfect right now, and it gets so hot in here during the day. I tried to shoot this video two times, and I got way too sweaty. So now, I’m filming it at night, but I’m still doing [Music]. Also, there are like moths and flies in here ‘ca…