Hello,
Please I need to save in a SAS dataset the comparison of means between the risk groups as shown below:
the code I used is:
PROC GLM DATA=NUTR OUTSTAT=PLEASE;
class riskc;
model VITB3=riskc;
means riskc / tukey;
run;
However I cannot track the output in a saved dataset under WORK library.
Thanks for the help!
Add the following line into your PROC GLM
ods output cldiffs=cldiffs;
It worked! thank you .
I was using the syntax 'diffs' instead ..
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.