is there any differnce between proc means and proc summary?

Answers were Sorted based on User's Feedback



is there any differnce between proc means and proc summary?..

Answer / bharath

proc means:It will give descreptive statitstics.
By default it will give output in output window.
limited statistics will give like n,mean,median,min and max.
If we need additional statistics we need to add options.

Proc summary:same thing but it will not give output as
default.we need give an option print then only it will give
the output.

Is This Answer Correct ?    9 Yes 0 No

is there any differnce between proc means and proc summary?..

Answer / saritha

proc means produce printed output.

where as proc summary will not produce any output but it
create dataset.

Is This Answer Correct ?    3 Yes 0 No

is there any differnce between proc means and proc summary?..

Answer / 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

is there any differnce between proc means and proc summary?..

Answer / sai ram

THE PROC SUMMARY: IN THIS CASE THE PROC SUMMARY OMIT THE VAR AND OUT WINDOW,
IN THIS CASE WE CAN GET THE ONLY 'N' OBS.

THE PROC MEANS: WE CAN GET THE OUTPUT RESULT IN OUT WINDOW
AND IF WE WANT TO STATISTICAL INFORMATION AS PER YOUR WISE
N,MEAN,MAX,MIN,STD LIKE

Is This Answer Correct ?    0 Yes 0 No

is there any differnce between proc means and proc summary?..

Answer / naveen

Both having almost similar work but,,,,

Proc means having default print option,,,,,,,,,

And in proc summary does not have default print
option,,,,,,,,,,

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

Can we use where and having clauses in a single SAS program. ex: proc sql;     select a,b,c from test      where state in 'KA'      and having <some condition>. Is the above program run correctly, if not why ?     

4 Answers   UHG,


if a program has some 1000 or more line and how to know whether the syntax of the particular code is correct without checking it manually

4 Answers   Accenture,


How to limit decimal places for variable using proc means?

0 Answers  


How to Rename Library?

3 Answers  


how do u validate the program which u have written.

1 Answers   TCS,


which domain is better in sas? clinical trails or banking

3 Answers  


How would you delete duplicate observations?

10 Answers   Accenture,


Are you sensitive to code walk-throughs peer review or QC review?

0 Answers   Quintiles,


What is the Program Data Vector (PDV)? What are its functions?

5 Answers   Accenture,


which stats created by proc means that are not created by proc summary or vice versa?

2 Answers   GSK,


What is the registered Key word is sas????

2 Answers   TCS,


How would you code the criteria to restrict the output to be produced?

6 Answers   Accenture,


Categories