Skip to content
Prev 310227 / 398503 Next

difference percentile R vs SPSS

Hi, David,

I think you're confusing the q-th percentile of your data, i. e., the 
empirical q-th percentile, which is -- roughly -- the value x_q for which 
q * 100 % of the data are less than or equal to x_q, with the q-th 
percentile of a distribution (here the normal distribution) that has as 
population mean the arithmetic mean of the data and as population standard 
deviation the standard deviation of the data. Those are different things. 
Your SPSS code seems to compute the empirical quantile, but you R code 
produces the other quantile. To get empirical quantiles of your data in R 
see

?quantile



  Hth  --  Gerrit
On Thu, 8 Nov 2012, David A. wrote:

            
---------------------------------------------------------------------
Dr. Gerrit Eichner                   Mathematical Institute, Room 212
gerrit.eichner at math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
Fax: +49-(0)641-99-32109        http://www.uni-giessen.de/cms/eichner