Thank you! I have never used LSMEANS before. This was easy and it worked. For posterity, if anyone else has a similar question. Here's the code I ended up using. proc mixed data=work.isopfinal2 method=reml covtest;
class Pt_number kcaltert (ref='0') recentkcaltert(ref='0') ;
model logisopng_ml= kcaltert recentkcaltert kcaltert*recentkcaltert /s ;
random intercept /sub=pt_number Type=UN G;
lsmeans kcaltert*recentkcaltert /diff=all slice=kcaltert cl ;
run;
... View more