For
a large sample size
n, the
calculation of quantiles, including the median, requires computing
time proportional to
nlog(
n).
Therefore, a procedure, such as UNIVARIATE, that automatically calculates
quantiles might require more time than other data summarization procedures.
Furthermore, because data is held in memory, the procedure also requires
more storage space to perform the computations. By default, the report
procedures PROC MEANS, PROC SUMMARY, and PROC TABULATE require less
memory because they do not automatically compute quantiles. These
procedures also provide an option to use a new fixed-memory, quantiles
estimation method that is usually less memory-intense.
For more information,
see Quantiles in
the PROC MEANS documentation.