if i having variables named a b c d e f ,how to find total of
each variable ????give syntax...??
Answer Posted / puja
Its total of each variable and not row total i suppose
hence the syntax can be given as
proc sql;
create table SUM as
select sum(a) as sum_a,
sum(b) as sum_b,
sum(c) as sum_c,
sum(d) as sum_d,
sum(e) as sum_e,
sum(f) as sum_f
from input_dataset_name;
quit;
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
describe how to adjust the performance of data integrator? : Sas-di
Give e an example of..
State the difference between INFORMAT and FORMAT ?
What are the new features included in the new version of SAS Programming Language?
is data integration and etl programming is same? : Sas-di
what is transformation in sas data integration? : Sas-di
which date functions advances a date time or date/time value by a given interval? : Sas programming
Which command is used to save logs in the external file?
explain about sas business intelligence? : Sas-bi
Given an unsorted data set, how to read the last observation to a new data set?
What is the role of sas grid administrator? : sas-grid-administration
What is substr function?
what is change analysis in sas di ? : Sas-di
Are you involved in writing the inferential analysis plan? Tables specfications?
what is business intelligence? : Sas-bi