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
what does the run statement do? : Sas programming
What is slibref?
Enlist the syntax rules followed in sas statements.
Mention how to limit decimal places for the variable using proc means?
what is sas business intelligence? : Sas-bi
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what is factor analysis? : Sas-administrator
explain about data integrator metadata reports? : Sas-di
What does P-value signify about the statistical data?
Do you need to know if there are any missing values?
What is the basic syntax of a sas program?
Name types of category in which SAS Informats are placed?
What is the basic structure of a sas program?
Describe the function and untility of the most difficult SAS macro that you have written.
In sas admin differentiate between roles and capabilities? : sas-grid-administration