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 is the role of unrestrictive users? : sas-grid-administration
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
what is the basic structure sas administrator? : Sas-administrator
what do you mean by data staging area? : Sas-di
What is a pdv and what are its functions?
Describe the function and utility of the most difficult SAS macro that you have written?
How would you define the end of a macro?
Explain append procedure?
Tell e how how dealt with..
how can you put a "trace" in your program? : Sas programming
What are the differences between proc means and proc summary?
how sas deals with business intelligence? : Sas-bi
Explain the difference between using drop = data set option in set and data statement?
how do you debug and test your sas programs? : Sas programming