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 |
How do you read in the variables that you need?
what is study design in while working with SAS? what are screening variables in SAS?
What is the pound sign used for in the data_null_ ?
Does SAS ?Translate? (compile) or does it ?Interpret?? Explain.
What is _n_?
what is the primary variable in your study?
/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;
what are the differences between proc report and proc tabulate?
WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.
How would you define the end of a macro? : sas-macro
What is your weekness? I am confuse what to say about this question. so can u give some answer which can be yur strenght.
what is sas database server? : Sas-di