![]() Chapter Contents |
![]() Previous |
![]() Next |
Module Library |
where matrix is any n ×m matrix.
The MEDIAN function returns the median value for each column in the matrix. It computes the median of univariate numeric data contained in the specified matrix. When the number of data points is odd, it returns the middle element from the sorted order. When the number of data points is even, it returns the mean of the middle two elements. If there are missing values, the module returns an error message.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.