Hi all,
Using SAS version 9.3, I would like to check with you if there could be an alternative to the following SAS code where a list of lsmeans statements is written according to couples of values (auc1, auc2).
Would it be possible to insert directly a vector of values without using any loop or an other SAS procedure than proc mixed would be needed?
ods output lsmeans=lsmeans;
proc mixed data=data noclprint plots=none;
by paramn avisitn;
class age one;
model chg= age one auc1 auc2 / solution cl;
%do i = 1 %to &nobs;
%* recuperated ith values from auc1 and auc2 lists of values;
%let auc1=%scan(&list_auc1,&i,%str( ));
%let auc2=%scan(&list_auc2,&i,%str( ));
lsmeans one / at (auc1 auc2)=(&auc1 &auc2) e cl om;
%end;
run;
Thank you very much for your help
Hi @bambrosi,
Isn't it a strange coincidence that a very similar question has been asked only one hour ago? Please see this thread for an answer.
Hi @bambrosi,
Isn't it a strange coincidence that a very similar question has been asked only one hour ago? Please see this thread for an answer.
Thank you very much and sorry for the repeated question. With my colleague we independently asked the same question on the SAS community.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.