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 |
What are the data types does SAS contain?
How do you debug and test your SAS programs?
When you will use nowd option in report???
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Are you involved in writing the inferential analysis plan? Tables specifications?
what is the difference between DUPKEY and NODUPKEY???
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?
how to remove the duplicates by proc sql?
This entry was posted in General. Bookmark the permalink. Post a comment or leave
Describe the function and untility of the most difficult SAS macro that you have written.
what is study design in while working with SAS? what are screening variables in SAS?
How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C