PROC MEANS DATA = COMBINED MEAN SUM NONOBS;
VAR Scores ;
CLASS Student DomainNum;
ID Form ;
OUTPUT OUT=COMBINED_TABLE (DROP= _TYPE_ _FREQ_) SUM=score MEAN = score;
RUN;
Rename your mean variable in your Output Statement. Right now, you try to name two variables to 'score', so only the first one catches on.
That helped but my table is still not quite there. Here is what it now looks like.....
And what is wrong with this? Please be more specific 🙂
Sorry, I misspoke. This worked thank you.
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.