what is the diff. b/w proc means and proc summary?

Answers were Sorted based on User's Feedback



what is the diff. b/w proc means and proc summary?..

Answer / dupe bassey

proc means generates an output, if you want to suppress an
output, you include the noprint option.

proc summary doesnt generate an output, if you want an
output, you include the print option.

Is This Answer Correct ?    76 Yes 13 No

what is the diff. b/w proc means and proc summary?..

Answer / ram

1. Proc Means By default gives a Printable output,where as
summary does't.
2. If We ommit var statement in MEANS all numeric varibles
wiil be considered into analysis and it calculates
N,MEAN,STD,MIN,MAX by default.
where as Summary does't do like this if we ommit var
statement it gives only simple counts.

Is This Answer Correct ?    50 Yes 4 No

what is the diff. b/w proc means and proc summary?..

Answer / chiranjeevi

proc means:
When ever we are using the proc means procedure by default
it's displaying the results in output window.
syntax:proc means data=<dataset name>;
output out=<newdataset name>;
run;

proc summary:
proc summary doesnt generate an output, if you want an
output, you include and specify the print option.
syntax:proc summary data=<datasetname> print;
output out=<newdatasetname>;
run;

Is This Answer Correct ?    24 Yes 4 No

what is the diff. b/w proc means and proc summary?..

Answer / abhik

I just want to add one point.

Proc Print by default generate output. But Proc summary does
not. So in Proc summary either you have to mention print
option or output data set name. Otherwise you will get an
error in the log:
"
ERROR: Neither the PRINT option nor a valid output statement
has been given"

Is This Answer Correct ?    12 Yes 1 No

what is the diff. b/w proc means and proc summary?..

Answer / sankar

proc means is default printed output.u suppress print
output use noprint option in proc means statement.

proc summary is default noprinted output.u print output
use print option in proc summary statement.
in proc summary must use var statement.

Is This Answer Correct ?    20 Yes 10 No

what is the diff. b/w proc means and proc summary?..

Answer / m.sivakumar

1.specifies whether PROC SUMMARY displays the descriptive
statistics. By default, PROC SUMMARY produces no display
output, but PROC MEANS does produce display output.

2.If you omit the VAR statement, then PROC SUMMARY produces
a simple count of observations, whereas PROC MEANS tries to
analyze all the numeric variables that are not listed in the
other statements.
3.If you specify statistics on the PROC SUMMARY statement
and the VAR statement is omitted, then PROC SUMMARY stops
processing and an error message is written to the SAS log.

Is This Answer Correct ?    14 Yes 5 No

what is the diff. b/w proc means and proc summary?..

Answer / name is no need

differences:
1.The means procedure provides the simple statistics like
N,min,max,mean ans standard deviation.

The summary procedure provides the values _type_,_freq_ and
_stat_.

2.The means procedure gives the ouput/list report by
default.
The summary procedure provides a data set instead of
output/list report
3.proc means syntax:
proc means data=data set name;
class<varible declaration>;
var<variable declaration>;
run;
Proc summary syntax:
proc summary data=data set name;
output out=<new data set name>;
class<variable declaration>;
var<variable declaration>;
run;
4.if we use Noprint and output out=.. options in proc means
it should exactly equals to proc summary.

Is This Answer Correct ?    17 Yes 9 No

what is the diff. b/w proc means and proc summary?..

Answer / padmasri

The major difference between Proc Means and Proc Summary is
proc means by default generates an output but proc summary
does not generate output if we specify print option in the
proc summary it will generate an output.

Is This Answer Correct ?    8 Yes 0 No

what is the diff. b/w proc means and proc summary?..

Answer / phillip

-proc means by default produce an output but proc summary not
-if u don't want output from proc means then add noprint option and if u want output from proc summary then put print option.
-cpu time and real time is more for proc summary(if you are using print option)

Is This Answer Correct ?    6 Yes 0 No

what is the diff. b/w proc means and proc summary?..

Answer / pradeep

Differences between summary and means proceedure are 2.
One is print and noprint options and var statement.
Proc means give diff result with out var statement and proc
summary give diff result with out var statement all u people
try once.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More SAS Interview Questions

for what purpose would you use the retain statement? : Sas programming

0 Answers  


What are the difference between the sas data step and sas procs?

0 Answers  


What is the size of PDV?

2 Answers   L&T,


what is change analysis in sas di ? : Sas-di

0 Answers  


WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.

4 Answers   Genzyme,






what is the use of sas management console? : Sas-di

0 Answers  


how do u identify a macro variable

5 Answers  


what is the use of proc sql? : Sas programming

0 Answers  


Which command is used to perform sorting in sas program?

0 Answers  


What is the difference between class statement and by statement in proc means?

0 Answers  


How long can a macro variable be? A token? : sas-macro

0 Answers  


what is sas olap server? : Sas-di

0 Answers  


Categories