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

How do you add a prefix to some or all variables in a dataset using a SAS macro?

2 Answers  


What is proc sql pass through facility?

4 Answers   L&T,


how does sas know on which server the piece of code to be executed ? say if a proc olap code is written then how the sas application would detect on which server to execute.

1 Answers   TCS,


What is interleaving in SAS?

0 Answers  


Why Info School? BUILD YOUR CAREER WITH RIGHT GUIDANCE AND SUPPORT SAS Training in Data Management at InfoSchool Bangalore

1 Answers  






. Which date advances a date, time or date/time value by a given interval?

8 Answers  


Have you ever linked SAS code, If so, describe the link and any required statements used to either process the code or the step itself?

4 Answers  


Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1.

2 Answers  


how to delete the duplicates by using proc sql?

3 Answers   Genpact,


what is sas data set?

0 Answers  


What are the functions which are used for character handling functions?

0 Answers  


sas macros

12 Answers   TCS,


Categories