"Is there something in particular that is supposed to go into the parentheses? Same thing with this line: if h.check()=0;" Yes. there are some parameters in it. You need to check it in sas documentation( dictionary ). "Does this code select the max value and the value on either side of the max value? " Yes. include if there were multiple maximum value . ' if I wanted to also select the minimum value, would I just added value=min(value);?" Yes.If you also want to do it like maximum did . Xia Keshan
... View more