Hi, Attached is the sample SAS dataset. I hope that this is what you are looking for. In theory, apples in the second row should never be less than oranges in the first row. If this does occur I would like to flag it as a potential data error, but proceed such that the difference would be negative and fall in the <25 category. Of note, I'm looking to do these differences, etc within subject_id. I think that you already deduced this, but wanted to confirm. Thank you so very much! Kim
... View more