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 |
what are some differences between proc summary and proc means? : Sas programming
what is p-value
3 Answers Accenture, Quintiles, Sristek,
What are the difficulties u faced while doing vital signs table or dataset?
What does PROC print, and PROC contents do?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.
Mention sas system options to debug sas macros.
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
Have you been involved in editing the data or writing data queries?
1 Answers BioServe, Oracle, Sasken,
HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?
explain the function of substr in sas? : Sas-administrator