Use an ODS OUTPUT statement to get the ESTIMATE value into a dataset, and then postprocess that dataset, comparing the result of the ESTIMATE statement to -1. This might be easier if you use LSMESTIMATE as you don"t need all of the terms that refer to anything except the lsmeans for visit*baseline.
SteveDenham
... View more