

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


1
Two summary functions, GMEDIAN and GPTILE are used in procedures such as Frequencies and Graph, to calculate the percentiles for the data which are grouped by specifying a value for each grouping. It is assumed that the actual data values give represent midpoints of the grouped intervals.
The following notation is used throughout this appendix unless otherwise stated:
x (^) i < K< xk Distinct observed values with frequencies (caseweights) c 1 , K,c (^) k k Number of distinct observed data points p percentile/100 (a number between 0 and 1) ccl Cumulative frequency up to and including xl
cc (^) l c (^) i c (^) l l n i
l = + = =
−
1
1
. * , K,
To find the 100 p th grouped percentile, first find i such that cc (^) i − 1 ≤ wp <cci, where
w is the total sum of caseweights which is equal to c (^) j j
k
=
1
. Then the grouped
percentile is
2 Appendix 8
2
where
wp cc cc cc
i i i
− −
1 1
Note the following: