The keywords for quantiles and related statistics are
MEDIAN
is the middle value.
P1
is the 1
st
percentile.
P5
is the 5
th
percentile.
P10
is the 10
th
percentile.
P90
is the 90
th
percentile.
P95
is the 95
th
percentile.
P99
is the 99
th
percentile.
Q1
is the lower quartile (25
th
percentile).
Q3
is the upper quartile (75
th
percentile).
QRANGE
is interquartile range and is calculated as
Q
3
-
Q
1
You use the QNTLDEF= option (PCTLDEF= in PROC UNIVARIATE) to specify the
method that the procedure uses to compute percentiles. Let
n
be the number of
nonmissing values for a variable, and let
x
1
,
x
2
,…,
x
n
represent the ordered values of
the variable such that
x
1
is the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.