is there any differnce between proc means and proc summary?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
How can sas program be validated?
In the flow of DATA step processing, what is the first action in a typical DATA Step?
how to display duplicated observations in a data using base sas.
13 Answers HCL, TCS,
hi i date is 05sep2005; i want the oupput like 05sep2005:00:00:00 ; how it wil come?
Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 2 14Oct2011 3 15 3 15Oct2011 --->this is the current date here i want date format like 13Oct2011,14Oct2011 how we can modify the numeric to date format plz answer.
i am importing large data from oracle to work library. in log there is a error message worklibrary space is not enough. then how to import the data safely to sas environment.
What are the table names in oracle database...?
Tell me more about the parameters in macro? : sas-macro
When you will use nowd option in report???
How did you use the round function?give an example(don't say it will round to the nearest intger) eg1:round(84.55,.1) =84.6 eg2:round(92.64,.1)=92.6,How it is happening like this tell me the logic,that is how the round function works when we have deimal values?
I have 2 data sets A & B. Both have a variable called Age in them, each of them specifying a different functionality. In my program I use bot these data sets. How do I specify which Age variable I want to use?
Describe the ways in which you can create macro variables? : sas-macro