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


Please Help Members By Posting Answers For Below Questions

What are pdv and it functions?

594


What is the general format of function in sas? : sas-grid-administration

562


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

1648


What is slibref?

741


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1573






How many data types are there in SAS?

624


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2261


What are the different versions of sas that you have used until now? : sas-grid-administration

723


What are the ways in which macro variables can be created in sas programming?

560


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

592


How do you connect the desktop application to metadata server? : sas-grid-administration

576


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1657


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

685


it will become easy if uuu provide website linkssss and list of consultanciessssss

1521


What is the difference between one to one merge and match merge? Give an example.

565