To calculated changes, the transformation function of baseline can help. However, not flexible enough. Is there a way to flag first or last observations within a group which is sorted by some variables. for example, find the baseline as last valid value before dosing, it could be in screening or predose on Day 1.
Lisa