The runs test is available in the autoreg procedure which does support by-processing. It should go like;
proc autoreg data=myData;
by myByVariable;
model myVariable= / runs;
run;
Note proc autoreg requires licence to SAS/ETS.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.