which stats created by proc means that are not created by proc
summary or vice versa?
Answers were Sorted based on User's Feedback
Answer / vivek
PROC SUMMARY displays the descriptive statistics. By
default, PROC SUMMARY produces no display output, but PROC
MEANS does produce display output. So in Proc SUMMARY you
have to give the Print option explicitly.
Also if you exclude Var statement then summary will only
print number of obs. Try this on sashelp.shoes
proc means data = sashelp.shoes;
run;
proc summary data = sashelp.shoes print;
run;
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / emw
I began using SAS in the early 1980's, and Proc Summary was thought to be one of the proc's to be no longer supported by SAS, so many programmer stopped using it! One of the advantages of Proc Summary was it didn't error out if the data set was not sorted, as proc means did. Proc Summary did an internal check, now we can check but in the old days this option wasn't possible. These days, I just use Proc Means don't know why Proc Summary is still being used ...anyone??
| Is This Answer Correct ? | 0 Yes | 5 No |
hi guys ...i have one query... data abc; input s w k g o t a m; cards; 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 9 ; run; i want the output to be the sorted order(only variables).observations should not be changed..
libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak
What is the purpose of _character_ and _numeric_?
how could you generate test data with no input data? : Sas programming
how does sas handle missing values in procs? : Sas programming
Are you involved in writing the inferential analysis plan? Tables specfications?
Give e an example of..
how can you put a "trace" in your program? : Sas programming
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What are types of transport files?
2 Answers PRA Health Sciences, Quintiles,
Name statements that are recognized at compile time only?
where are dashboard components are created and maintained? : Sas-bi