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
describe the interaction table in sas di? : Sas-di
What is the difference between nodupkey and nodup options?
: and & modifiers.
How do you specify the number of iterations and specific condition within a single do loop?
it will become easy if uuu provide website linkssss and list of consultanciessssss
What is the function of Stop statement in a SAS Program?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What are the different types of sas functions?
Explain the special input delimiters used in sas programming.
How does the internal authentication work in sas? : sas-grid-administration
How do you define proc in sas? : sas-grid-administration
What is connection profile? : sas-grid-administration
where to use sas business intelligence? : Sas-bi
Can you execute macro within another macro? : sas-macro
what other sas products have you used and consider yourself proficient in using? : Sas programming