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 do you code to create a macro? : sas-macro
what other sas products have you used and consider yourself proficient in using? : Sas programming
data study; input Subj : $3. Group : $1. Dose : $4. Weight : $8. Subgroup; x= input(Weight,5.1); datalines; 001 A Low 220 2 002 A High 90 1 003 B Low 193.6 1 004 B High 165 2 005 A Low 123.4 1 ; Why does X get truncated? X shows up as 22 instead of 220,9 instead of 90 and 19.8 instead of 198? This problem doesnt happen with the values 193.6 and 123.4. This does not happen if x is read on the 5. informat instead of the 5.1 informat
How do you delete duplicate observations in sas?
Did you used proc lifetest? when?
2 Answers Accenture, Parexel, Quintiles,
what is the prob plot in clinical domain
What are the applications primarily used by business analyst? : Sas-bi
What are Dashboard reports?And significance of these in analysis?
How to write duplicate records into a separate dataset using sort?
i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?
Why is SAS considered self-documenting?
how to delete the duplicates by using proc sql?