Code a PROC MEANS that shows both summed and averaged
output of the data.

Answer Posted / sreekanth rao

please correct me if my thought process is wrong.

question is to show only sum and avg...

proc means data=test sum mean;
by var (optional);
run;

here we are req only for sum mean. use out=new data set
name to print most recent data set.

Thanks

hi friends expecting the ansewrs.


Thanks
Sreekanth rao

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are the statements whose placement in the data step is critical?

764


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

1777


How to sort in descending order?

798


How do you test for missing values?

1060


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1688






what are the component of range? : Sas-bi

616


What are symget and symput? : sas-macro

735


Give some examples where proc report’s defaults are different than proc print’s defaults?

601


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2293


How can I remove header from output data set?

2066


What are the features of base sas system?

615


what is ae onset date n what is RDS

1939


How do you connect the desktop application to metadata server? : sas-grid-administration

586


what is the use of proc sql? : Sas programming

594


where are dashboard components are created and maintained? : Sas-bi

570