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 |
Diff between proc sql merge and join?
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
In SAS how to read the variable values having different formats. eg:mar99,mar1999 (in a single variable)
8 Answers GSK GlaxoSmithKline,
i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?
How do i read multiple spaces in datasets?
What are the rows present in protocol Violation table?
2 Answers Accenture, Quintiles,
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?
How to read multiple excel sheets from a single excel file at once????
7 Answers HCL, Verinon Technology Solutions,
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
how to delete the duplicate columns permanently in SQL
What is the pound sign used for in the data_null_ ?
At compile time when a SAS data set is read, what items are created?