I have a square 10X10 data matrix that is a correlation matrix with values of 1 along the diagonal. I am trying to find the median correlation value in this data matrix, but I cannot seem to find a function that will allow me to only extract the median from the bottom half of the matrix. Is there such a function in SAS IML? While the min() function seems to find the minimum, the median() function is giving the median value of each column. Is there a way to get the median value of the values in the lower half of a symmetrical matrix? E.g., in this case the median correlation in the R correlation matrix is (.44 +.56)/ 2 = 0.5: R = {1 .56 .44 .09, .56 1 .32 .88, .44 .32 1 .77, .09 .88 .77 1}
... View more