Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculating mean from 5 number summary

  1. Jan 14, 2015 #1
    It seems like it should be possible to calculate the mean (usual average) from a 5-number summary of a set of numbers (min, first quartile or Q1, median, third quartile or Q3, and max). You should be able to calculate roughly what a percentile is, then by taking each discrete percentile and then taking the average of those hundred numbers... or better yet by using calculus and taking every percentile point, and the average of every point, you should be able to come really close to the mean, if not compute it directly. I, however, don't know math well enough to do that, nor do I remember any calculus.

    In one data set that I'm looking at, the min, Q1, median, Q3, and max are: 0, 3900, 18882, 50145.5, 1250000
    And the mean is: 46172.04545 or just under Q3.
    How can the mean be calculated from those 5 numbers?
     
  2. jcsd
  3. Jan 14, 2015 #2

    mathman

    User Avatar
    Science Advisor
    Gold Member

    You can't exactly. A rough estimate (analogous to trapezoid rule for integral approximation) is:
    (min + max + 2(Q1+median+Q3))/8.
     
  4. Jan 14, 2015 #3

    phinds

    User Avatar
    Gold Member
    2016 Award

    Did you mean estimate? Surely you can see (as mathman pointed out) that you can't get an exact calculation based on just summary numbers.
     
  5. Jan 14, 2015 #4
    Hmm, ok, thanks. I have one data set where the 5-number summary is: 0, 29496, 68552, 124280, 780575. The mean is 80041.24331 and that approximation comes up with 153153.875, so I guess it's a really rough estimate.
    Sure, why not. If I clearly don't know what I'm talking about, feel free to attempt to fill in the gaps. :)
     
  6. Jan 17, 2015 #5

    Svein

    User Avatar
    Science Advisor

    You cannot. But if you the distribution is fairly symmetrical (like the familiar bell-curve), the mean and the median are approximately equal.
     
  7. Jan 17, 2015 #6

    mathman

    User Avatar
    Science Advisor
    Gold Member

    The last number (780575) swamps the other four.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Calculating mean from 5 number summary
Loading...