stpmmaths said:From the question, is the way to find Lower Quartiles and Upper Quartiles correct? I have seen books taking the 3rd and 8th (from the question) as Lower Quartiles and Upper Quartiles respectively. Which should be the correct Quartiles?
stpmmaths said:Based on the attachment https://www.physicsforums.com/attachment.php?attachmentid=44365&d=1330184818, is this the correct way to interpret quartile?
Even-sized population
Consider an ordered population of 10 data values {3, 6, 7, 8, 8, 10, 13, 15, 16, 20}.
The rank of the first quartile is 10×(1/4) = 2.5, which rounds up to 3, meaning that 3 is the rank in the population (from least to greatest values) at which approximately 1/4 of the values are less than the value of the first quartile. The third value in the population is 7.
The rank of the second quartile (same as the median) is 10×(2/4) = 5, which is an integer, while the number of values (10) is an even number, so the average of both the fifth and sixth values is taken—that is (8+10)/2 = 9, though any value from 8 through to 10 could be taken to be the median.
The rank of the third quartile is 10×(3/4) = 7.5, which rounds up to 8. The eighth value in the population is 15.
from http://en.wikipedia.org/wiki/Quantile
stpmmaths said:There are 10 data values in my attached example.
{51, 55, 57, 61, 62, 67, 70, 72, 73, 74}
Q1 = 56.5
Q3 = 72.25
ButQ1 = 57
Q3 = 72 instead
SW VandeCarr said:As far as I know, with sparse data like this, you can't be very precise in the placing quantile boundaries in terms of extrapolations of the actual data values. All you can say is the median falls between 62 and 67. The quartile boundaries fall on 57 and 72. If you use k+1 and center the rank distribution on the median, using 2.75 ranks as the quartile width, than 57 will fall into the second quartile while 72 will fall into the third quartile when strictly observing the boundaries 2.75 and 8.25. With n=10+1, you can't be more precise than that IMO. Note I'm using Q4 for the quartile with the highest values and Q1 as the one with the lowest values as you did.