PDF download Download Article
Ace your next statistics test with this helpful walk-through
PDF download Download Article

Histograms, or frequency distributions, are statistical graphs that show how often a given value is observed in a set of data. [1] To find the median, or middle value, of a histogram, add up every value in your data set, then add 1, and divide the result by 2. If you’re struggling with your stats homework, keep reading to get more detailed equations, plus tips on how to understand them.

Things You Should Know

  • Add up all of the frequencies in the histogram. If you don’t have the frequencies yet, multiply the x value range of each bar by their y value (height).
  • If the value is odd, add 1 and divide by 2 to find the median. The equation is n +1 / 2 where n equals the total value of frequencies.
  • If the value is even, find the average of the middle two numbers. The equation is n / 2 +( n / 2 +1) / 2
Section 1 of 2:

Finding the Median of a Histogram

PDF download Download Article
  1. If your problem doesn’t give you the total value of a given “bin” (the x -axis range, for example, 1-5) of the histograms, multiply the bin by the y -axis value. [2]
    • For example, if you have a bin with a range of 15 (1-15, 15-30, etc.) with a y -axis value of 20, the total value of that bin would be 15x20=300.
    • Usually, the bins on a histogram are uniform (all 15 wide, for example), but if you’re working on a homework assignment, your teacher may make the bins different ranges to make it more difficult. [3]
      • For example, you may have a bin with a range of 20 and another with a range of 25.
    • Consider writing your values in a frequency table. Frequency tables have two columns, one with values and one with how many times that value was recorded. [4] So if the value “1” was recorded 7 times and the value “2” was recorded 3 times, then the first row of the table would be 1,7 and the second would be 2,3.
  2. Once you have the value of each bin, add all of them together to get the total value of frequencies on the graph. [5]
    • So if you have 3 bins with ranges of 15, one with a y value of 20, one with a y value of 30, and one with a y value of 40, the total value of frequencies on the graph would be (15x20) + (15x30) + (15x40) = 1350.
    • The sum of the frequencies is also the total area of the graph.
    Advertisement
  3. In mathematical notation, the equation looks like n +1 / 2 . [6] The median is the exact middle of a data set, so it’s the value of the number equidistant from 1 to the total sum
    • For example, 3 is the median of a data set with a summed value of 5: 5+1 / 2 = 3, 1, 2, 3 , 4, 5.
  4. Since even numbers don’t have an exact middle, divide the number by 2, then find the average of that number and the following number. [7] In mathematical nomination, the equation is n / 2 +( n / 2 +1) / 2 .
    • So if your total value were 10, you would find the median by plugging in 5 for n / 2 and 6 for n / 2 + 1. 10 / 2 +( 10 / 2 +1) / 2 = 5+6 / 2 = 5.5.
  5. Make L = the lower limit of the bin the median falls in, n = the sum of all the frequencies on the histogram, F = the sum of all the frequencies up to the median bin, f = the y value of the median bin, and w = the x value range of the median bin. [8]
    • F represents a cumulative frequency. Calculate cumulative frequency by adding the total values of each bin up until the bin that the median falls in. So if your median is in the bin "30-40" and your graph starts at zero, add the total values of bins 0-10, 10-20, and 20-30.
    • If your histogram’s total value was 180, your median bin had an x -value of 30-40 and a y value of 35, and the cumulative frequency up to that bin was 60, then your equation would look like (30+ 180 / 2 - 60 / 35 )10 = (30+ 90 - 60 / 35 )10 = (30+ 30 / 35 )10 = (30+0.857)10 = 38.57.
      • The result of this equation is the value on the x-axis that has equal areas on either side. So the area of the graph on the left is equal to the area of the graph on the right of the value. [9]
  6. Advertisement
Section 2 of 2:

Finding the Mean of a Histogram

PDF download Download Article
  1. Multiply the width of each bin by the height ( x -axis range of each bar by the y -axis value). [10] Then, add them all together. This is the same as calculating the area of the graph.
  2. To find the average value in the graph, divide the total from the last step by the number of values that were recorded. [11] So if you have a graph with 15 data points that add up to 300, then the mean would be 300 / 15 = 20.
    • It may help to make a frequency table. To make the table, write all of the values that were recorded in one column, then write how many times each given value was recorded in the next column. [12]
  3. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about mathematics, check out our in-depth interview with Sophie Amphlett .

      About This Article

      Thanks to all authors for creating a page that has been read 25,900 times.

      Did this article help you?

      Advertisement