Answer: Median = 5
=====================================================
Step-by-step explanation
Given Table of Data
The second column is the set of frequencies. Adding up those frequencies gets us
4+18+25+12+5+1 = 65
There are 65 total shoes.
Divide this in half
65/2 = 32.5
There are 32 values below the median, and 32 values above it. That's 32+32 = 64 values so far. When including the median value itself we have 32+1+32 = 65 values total. This only works when the sample size is odd.
---------------------------
What we'll do is add up the partial sums of the frequency values.
The goal is to get to a sum of 33, or larger, because the median is in the 33rd slot.
Adding the first two frequencies gets us 4+18 = 22. This is not 33 or larger, so we move on.
Adding the first three frequencies gets us 4+18+25 = 22+25 = 47 which is 33 or larger.
What this tells us is that the median corresponds to the third row of the table, since we added the first three frequencies to get to 33 or larger.
The median must be 5.