if i having variables named a b c d e f ,how to find total of
each variable ????give syntax...??
Answer Posted / manoj
Or instead of giving all the var-list you can just give:-
Proc print data= sas data set;
sum _numeric_;
run;
It will give sum of all the numeric variable present in the dataset.
Else if you have all the variables as numeric type, then you can give :-
Proc print data= sas data set;
sum _all_;
run;
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How do you add a number to a macro variable? : sas-macro
What are the ways to do a “table lookup” in sas?
what is hierarchy flattening? : Sas-di
what is the Population you used in your project, is it ITT or PP?
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
Mention common programming errors committed in sas ?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
Intern stastical programmer written test
how do you pull data from equifax?tell me the process?
How would you invoke a macro? : sas-macro
What are the functions which are used for character handling functions?
what is the difference between infile and input? : Sas-administrator
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
What is connection profile? : sas-grid-administration
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi