Returns the median value.

Category: | Descriptive Statistics |

The MEDIAN function
returns the median of the nonmissing values. If all arguments have
missing values, the result is a missing value.

Note: The formula that is used
in the MEDIAN function is the same as the formula that is used in
PROC UNIVARIATE. For more information,
see SAS Elementary Statistics Procedures.

Copyright © SAS Institute Inc. All rights reserved.