Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What statement do you code to write the record to the file?

5 Answers  


calculate the sum of value using only DATA STEP. data count_; input year name $ value; cards; 2006 xxx 10 2007 yyy 12 2006 xxx 20 2008 yyy 15 2007 xxx 15 ; out put should be like this year name T_value ----------------------- 2006 xxx 30 2007 xxx 15 2007 yyy 12 2008 xxx 15

6 Answers  


1.What is the difference between _NULL_ , _ALL_, and _N_? 2.What are the uses of _NULL_ using in Data Steps? Can we _NULL_ in Proc Steps also? 3.How do call the macro variable in Data Steps? 4.How to construct Pivot tables in Excel Using SAS?

3 Answers  


tell me about use of arrays in sas

1 Answers   CoreEL,


How would you delete observations with duplicate keys?

13 Answers   Accenture,


how many types of prompts are there? : Sas-bi

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.

10 Answers  


How do I CREATE an external dataset with sas code? I would like to create within a sascode a non-exsistent textfile on the host. So I am not forced to create the file befor filling it.

2 Answers  


What is Transaction...? And what are Comment, Roll back n Save point..?

2 Answers  


what is Business Intelligence?

3 Answers   CitiGroup,


Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?

2 Answers  


Categories