is there any differnce between proc means and proc summary?

Answer Posted / kumaraswamy madoori

1) Proc Means generate a default output but Proc Summary
require Print option to generate output similar to proc
means.
2) To get similar outputs Proc summary should compulsory
have atleast one variable in VAR statement.
If you want a proof for the above please run the below code:
proc means data=sasuser.admit;
run;
proc summary data=sasuser.admit print;
run;

The outputs will be different.

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 input dataset and output dataset options? : Sas programming

831


What are the automatic variables for macro? : sas-macro

892


How would you define the end of a macro?

904


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2564


What is the use of the %include statement?

913


What’s the difference between var b1 – b3 and var b1 — b3?

1081


Explain what is the use of proc gplot?

933


Define run-group processing?

820


What is the basic structure of the SAS base program?

956


what is snowflake schema? : Sas-di

930


What is the basic syntax style in SAS?

875


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1962


Name and describe few sas character functions that are used for data cleaning in brief.

903


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

884


name several ways to achieve efficiency in your program? : Sas programming

791