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
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
What are the data types in sas?
which date functions advances a date time or date/time value by a given interval? : Sas programming
What is the differnce between SDTM 3.1.2 to 3.1.1 version
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
What are the statements in proc sql?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
How is character variable converted into numeric variable and vice versa?
for report generation which one you used proc report or data_null_?
Can you execute macro within another macro? : sas-macro
what is proc Index? and what is proc document?
Explain what is the use of proc gplot?
how to do user inputs and command line arguments in sas?
What are the limitations for memory allocation for SAS variables
What Proc glm does?