Difference b/n proc means and proc summary procedures?
Answer Posted / lakshmi
PROC SUMMARY DEFAULTS TO NOPRINT
PROC MEANS DEFAULTS TO PRINT
PROOC MEANS GENERATE A DEFAULT OUTPUT BUT PROC SUMMARY
REQUIRED PRINT OPTION TO GENERATE OUTPUT SIMILAR TO PROC
MEANS
TO GET SIMILAR OUTPUTS PROC SUMMARY SHOULD COMPUSORY HAVE
ATLEAST ONE VARIABLE IN VAR STATEMENT
/*FOR EXAMPLE RUN THE BELOW 2 APPLICATIONS WE OBSERVE THE
ANSWER*/
PROC MEANS DATA=SASUSER.AE;
RUN;
PROC SUMMARY DATA=SASUSER.AE;
RUN;
THE OUTPUT WILL BE DIFFERENT K
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what do the pad and dim functions do? : Sas programming
What sas features do you use to check errors and data validation?
What are the difficulties u faced while doing vital signs table or dataset?
What is the difference between input and infile statement?
what is sas olap server? : Sas-di
What are the differences between proc means and proc summary?
What commands are used in the case of including or excluding any specific variables in the data set?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
Are you involved in writing the inferential analysis plan? Tables specifications?
What is the function of Stop statement in a SAS Program?
How you can read the variables that you need?
Do you need to rearrange the order of the data for the report?
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.
what are sas/access and sas/connect? : Sas programming