Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what does the run statement do? : Sas programming

1057


What is slibref?

1281


Enlist the syntax rules followed in sas statements.

1086


Mention how to limit decimal places for the variable using proc means?

1117


what is sas business intelligence? : Sas-bi

1180


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2231


what is factor analysis? : Sas-administrator

1100


explain about data integrator metadata reports? : Sas-di

1107


What does P-value signify about the statistical data?

1364


Do you need to know if there are any missing values?

1041


What is the basic syntax of a sas program?

1207


Name types of category in which SAS Informats are placed?

1151


What is the basic structure of a sas program?

1121


Describe the function and untility of the most difficult SAS macro that you have written.

2217


In sas admin differentiate between roles and capabilities? : sas-grid-administration

1003