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 |
You have a data set of 100 observations,how can you restrict the output so that the output has only data from row no. 10 to row no. 20
What is the difference between INPUT and INFILE ?
How to Rename Library?
firstobs and obs are working only option wise,but we are using infile statement with firstobs and obs in a statement wise? so firstobs,obs working at options and statemnts or not?
Enlist the syntax rules followed in sas statements.
How are the analysis data sets structured?
In this question, I rename the numeric variable phone to numphone and then try use phone=put(numphone,comma16.) to store the numeric value numphone as a string value in phone. But I get a warning tha numphone already exists and in the data sat phone doesnt exist and numphone is set to missing. Why? data names_and_more; input Name $20. Phone : comma16. Height & $10. Mixed & $8.; Name = tranwrd(Name,' ',' '); rename phone = numphone; phone = put(numphone,comma16.); datalines; Roger Cody 9,087,821,234 5ft. 10in. 50 1/8 Thomas Jefferson 3,158,488,484 6ft. 1in. 23 1/2 Marco Polo 8,001,234,567 5Ft. 6in. 40 Brian Watson 5,183,551,766 5ft. 10in 89 3/4 Michael DeMarco 4,452,322,233 6ft. 76 1/3 ;
what is the Population you used in your project, is it ITT or PP?
0 Answers Accenture, Quintiles,
What Proc glm does?
is there any difference between proc summary and proc means?
What is the work of tranwrd function?
What SAS statements would you code to read an external raw data file to a DATA step?