Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables?
Answer Posted / sassss
THE PREVIOUS ANSWER IS WRONG; THE SYNTAX OF PROC SORT IS AS
FOLLOWS
PROC SORT DATA=<DNAME>;
BY <VARNAME/S>;
RUN;
HENCE THE CORRECT ANSWER TO THE QUESTION IS:
proc sort data=x;
BY state district county;
run;
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What do you know about symput and symget?
How do you define proc in sas? : sas-grid-administration
what is broad cast agent? : Sas-bi
What is the role of sas grid administrator? : sas-grid-administration
What is a method to debug and test your SAS program?
What is a put statement?
what does the run statement do? : Sas programming
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
Give some examples where proc report’s defaults are different than proc print’s defaults?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
how do you debug and test your sas programs? : Sas programming
Give some ways by which you can define the variables to produce the summary report (using proc report)?
Tell e how how dealt with..
what is proc Index? and what is proc document?
Explain the purpose of retain statement.