s-news
[Top] [All Lists]

Quartiles

To: s-news@lists.biostat.wustl.edu
Subject: Quartiles
From: "Heeringa W.J." <heeringa@let.rug.nl>
Date: Fri, 7 Dec 2001 17:36:02 +0100
Dear S-PLUS users,

Assume I have the following range:
1 2 3 4 5 6

Next I calculated the 1st Quartile, the median and the 3rd Quartile in 
both, S-PLUS and SPSS:

1st Quartile : S-PLUS: 2.25 and SPSS: 1.75
median       : S-PLUS:  3.5 and SPSS: 3.5
3rd Quartile: S-PLUS: 4.75 and SPSS: 5.25

Or for this range:
1 2 3 4 5 6 7 8

the results are:

1st Quartile : S-PLUS: 2.75 and SPSS: 2.25
median       : S-PLUS:  4.5 and SPSS: 4.5
3rd Quartile: S-PLUS: 6.25 and SPSS: 6.75

So S-PLUS and SPSS give different results. Which results are correct? And how 
can these results be explained?

-------
Wilbert Heeringa
University of Groningen
Faculty of Arts
Humanities Computing

<Prev in Thread] Current Thread [Next in Thread>