Difference b/n proc means and proc summary procedures?
Answer Posted / sasswarup
Proc SUMMARY and Proc MEANS are essentially the same procedure. Both procedures compute descriptive statistics. The main difference concerns the default type of output they produce. Proc MEANS by default produces printed output in the LISTING window or other open destination whereas Proc SUMMARY does not. Inclusion of the print option on the Proc SUMMARY statement will output results to the output window.
The second difference between the two procedures is reflected in the omission of the VAR statement. When all variables in the data set are character the same output: a simple count of observations, is produced for each procedure. However, when some variables in the dataset are numeric, Proc MEANS analyses all numeric variables not listed in any of the other statements and produces default statistics for these variables (N, Mean, Standard Deviation, Minimum and Maximum).
Using the SASHELP data set SHOES the example reflecting this difference is shown.
proc means data = sashelp.shoes;
run;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
How do you define proc in sas? : sas-grid-administration
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
Tell e how how dealt with..
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
Tell e how how dealt with..
What are the different versions of sas that you have used until now? : sas-grid-administration
what are the component of range? : Sas-bi
What are the 3 components in sas programming?
What are the data types does SAS contain?
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
Which function is used to count the number of intervals between two sas dates?
What would be the value of month at the end of data step execution and how many observations would be there?
explain the main difference between the nodup and nodupkey options? : Sas-administrator