Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / chirag patel
Proc Sort Data = x ;
by State District County _Numeric_;
run ;
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / poornima
proc sort data=x;
var state district county;
run;
| Is This Answer Correct ? | 0 Yes | 8 No |
How to create list output for cross-tabulations in proc freq?
how to import XTP files into SAS datasets?
1 Answers Barclays, Institute For Plasma Research,
What is program data vector (pdv) and what are its functions?
what is function of retain statment
What is highest missing value for numeric?
You need to perform an analysis on a massive dataset by groups, but are unable to sort the data due to memory constraint. How would you accomplish the task?
what is TAB delimiter? explain about it? what will you do to get TAB delimiter?
Explain data_null_?
I have 2 data sets A & B. Both have a variable called Age in them, each of them specifying a different functionality. In my program I use bot these data sets. How do I specify which Age variable I want to use?
Explain the main difference between the sas procedures and functions? : Sas-administrator
describe about metadata object? : Sas-di
What can be the size of largest dataset in SAS?