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

Concepts about percentiles

  1. Mar 22, 2012 #1
    Sorry about asking such a basic question but I'm having a brain fart. So if I have a sample of 3 iid random variables X1, X2, X3, I know the median is just the middle value. So does that mean that the 80th percentile is the third largest one and the 40th percentile is the smallest one?

    If i have 10 random variables, would the 40th percentile be the 4th largest one?
     
  2. jcsd
  3. Mar 22, 2012 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Your sample contains only three values? Then, yes, because 80% is larger than 50%, the "80th percentile" is just the largest value and, because 40% is less than 50%, the "40th percentile is the smallest value.
     
  4. Mar 23, 2012 #3

    chiro

    User Avatar
    Science Advisor

    To answer this a bit more thoroughly you need to ask whether you are assuming that the distribution come from a model and you are trying to get percentile information for a distribution thats parameters are estimated from the data, or whether you want to treat your data in a distribution free context and compute the actual percentiles from the data.

    If number 1 is the case, then you estimate the parameters of the distribution often using a valid point estimate, and then use the definition of the PDF to get your percentiles (you may have to solve this numerically, like in the case of the normal distribution or chi-square as a few examples).

    In case 2, then you will have to basically sort all of your values, generate a histogram structure and do the same thing as above, except with your histogram and not an assumed model.

    Both have advantages and disadvantages depending on what you are trying to do.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook