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 |
i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?
Which is the best training Institute for SAS Business Intelligence course?
How would you code the criteria to restrict the output to be produced?
what can you learn from the sas log when debugging? : Sas programming
Describe 5 ways to do a “table lookup” in SAS?
What other SAS features do you use for error trapping and data validation?
i have a null dataset with 20 variables. i want to upload the variables which contain name like a or k or anything in another dataset.how can we create the dataset?
What is the difference between SAS functions and procedures?
You need to perform an analysis on a massive dataset by groups, but are unable to sort the data due to memory constraint. How would you accomplish the task?
What is difference between Global n Local Macro Variables..?
where will go the observations that were deleted by delete statement?
How would you delete duplicate observations?