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 is the role of unrestrictive users? : sas-grid-administration
which date function advances a date, time or datetime value by a given interval? : Sas programming
describe about physical data integration? : Sas-di
What do you code to create a macro? : sas-macro
What is substr function?
Explain the difference between using drop = data set option in set and data statement?
Explain the difference between nodup and nodupkey options?
Explain proc univariate?
explain the concepts and capabilities of business object? : Sas-bi
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
How can I remove header from output data set?
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
what is change analysis in sas di ? : Sas-di