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 ..
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.