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
name several ways to achieve efficiency in your program? : Sas programming
Mention some common errors that are usually committed in sas programming.
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
What is the difference between %local and %global? : sas-macro
What versions of SAS have you used (on which platforms)?
Mention what is PROC in SAS?
what is the function of catx syntax? : Sas-administrator
Can you execute a macro within a macro? Describe. : sas-macro
how can you import .csv file in to sas? : Sas programming
What is interleaving in SAS?
what are some good sas programming practices for processing very large data sets? : Sas programming
How does the internal authentication work in sas? : sas-grid-administration
How do you use the do loop if you don’t know how many times you should execute the do loop?
Which command is used to perform sorting in sas program?
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.