Hi again.
Thank you for reading this!
If any of you know how to sum all the S1 scores/n where n=15 …… S20 scores/15, please let me know.
I have done this before and it has been a long time. But I am in need of help.
Thank you once again.
See the attachment. I want to calculate the mean of each column (s1-s20).
Have you tried Proc means or Proc summary. A simple google search and copy paste is what you need i think
I tried finding a link, but could not find one. Thanks.
proc means data=your_dataset;
var s1-s20;
output out=want mean = / AUTONAME;
run;
https://github.com/statgeek/SAS-Tutorials/blob/master/proc_means_basic.sas
Not sure where you're searching but try starting at LexJansen.com though make sure to get the later results since SAS goes back to 1980's at least on there.
Many more resources:
https://www.lexjansen.com/search/searchresults.php?q=proc%20means%20beginner
@mgrzyb wrote:
I tried finding a link, but could not find one. Thanks.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.