How do I rename Number_of_surveys to Number of surveyswhich is without underscore
proc freq data=nSubj ;
tables Number_of_surveys/ NOCUM ;
run;
options validvarname=any;
proc freq data=nSubj(rename=(Number_of_surveys='Number of surveys'n)) ;
tables 'Number of surveys'n/ NOCUM ;
run;
options validvarname=any;
proc freq data=nSubj(rename=(Number_of_surveys='Number of surveys'n)) ;
tables 'Number of surveys'n/ NOCUM ;
run;
I have used it and using the Label name changes the the label "Frequency count" that is automatically generated with the freq table not the variable "number_of_surveys" when used proc freq
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.