Hello, Here is a data set that I created : data Test; input CONT ; datalines; 3 8 5 3 1 6 9 0 2 4 6 5 ; run; I wanted to test the quantile option of the proc means on this data set. I was expecting Q1= 3 and Q3=6 but i obtained Q1=2.5 and Q3=6. The sorted series is 0 1 2 3 3 4 5 5 6 6 8 9. I undestand that the proc means returned 2.5 because it's (2+3/2) but i don't understand why it is so. For me, i have 4 groups of equal size : - 1st group : 0 1 2 - 2nd group : 3 3 4 (where "3" is the minimum, so the number i was expecting) - 3rd : 5 5 6 (where 6 is the maximum, hence the "6" i was expecting, although i think it's (6+6)/2 - 4th : 6 8 9 So, why do i get 2.5, and most importantly, how can i get the 3, which represents the minimum of the interval conaining 50% of the data in the middle of my data set. Well, I hope i was clear 😕 Thank you 🙂
... View more