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
how do the in= variables improve the capability of a merge? : Sas programming
Describe 5 ways to do a “table lookup” in SAS?
how to read the variables in sas? : Sas-administrator
What is the use of stop statement?
Explain the purpose of substr functions in sas programming.
Explain the main difference between the sas procedures and functions? : Sas-administrator
describe the interaction table in sas di? : Sas-di
What are the functions used for character handling?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What is the difference between one to one merge and match merge? Give an example.
how are numeric and character missing values represented internally? : Sas programming
name the scheduler for scheduling job and explain the scheduler? : Sas-di
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
Have you used macros? For what purpose you have used? : sas-macro
Give e an example of..