Hi, I'm new to SAS and this is my first post. I have a small dataset with body measurements. I have three different measurements for the same variable, and I want to average only two of these values, the closest ones. How do I do this? My data looks something like this: obs weight1 weight2 weight3 1 54 . 54.7 53 2 48 . 47.5 . . 3 67.4 . 68 . 69 4 . 48 . 48 . I'm using version 9.4 I thought I could write a code to compare the sums of weight 1+2, 2+3 and 1+3, and average the smallest quantity, but I don't know how to ask for an absolute value. Thanks!
... View more