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
how does sas handle missing values in functions? : Sas programming
Describe the function and untility of the most difficult SAS macro that you have written.
What are the difference between sas functions and procedures?
for what purpose would you use the retain statement? : Sas programming
what is sas olap server? : Sas-di
How can sas program be validated?
what type of graphs we will create(for 2+years candidates)?
In ARRAY processing, what does the DIM function do?
Do you need to rearrange the order of the data for the report?
what is metadata? : Sas-bi
Tell e how how dealt with..
What is the basic structure of the SAS base program?
How would you invoke a macro? : sas-macro
What are the scrubbing procedures in sas?
how to remove duplicates using proc sql?