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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.