Difference b/n proc means and proc summary procedures?

Answer Posted / manojkumar.d1218

proc means and summary procedures are display the summary
statistics like n mean e.t.c...
And To display the summary statistics means procedure is the
is more efficiency because print option is default working
and display the summarized tables summary procedure is more efficient because noprint option is default working

proc means data=sashelp.class;
class name;
var age;
run;

/*for summary procedure */
proc summary data=sashelp.class;
class name;
var age;output out=summary_statistics;
run;









Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

name several ways to achieve efficiency in your program? : Sas programming

566


Mention some common errors that are usually committed in sas programming.

586


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

602


What is the difference between %local and %global? : sas-macro

662


What versions of SAS have you used (on which platforms)?

1007






Mention what is PROC in SAS?

597


what is the function of catx syntax? : Sas-administrator

641


Can you execute a macro within a macro? Describe. : sas-macro

665


how can you import .csv file in to sas? : Sas programming

632


What is interleaving in SAS?

665


what are some good sas programming practices for processing very large data sets? : Sas programming

507


How does the internal authentication work in sas? : sas-grid-administration

579


How do you use the do loop if you don’t know how many times you should execute the do loop?

745


Which command is used to perform sorting in sas program?

591


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1791