Code a PROC SORT on a data set containing State, District
and County as the primary variables, along with several
numeric variables.
Answer Posted / chiranjeevi
data code;
infile'C:\Documents and Settings\admin\Desktop\country.txt';
input state$ district$ county$ population total;
proc sort data=code out=count;
by state district county;
run;
proc print data=count;
run;
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How would you invoke a macro? : sas-macro
What are the parameters of scan function?
What are the functions which are used for character handling functions?
Give some examples where proc report’s defaults are different than proc print’s defaults?
What is the difference between INPUT and INFILE ?
In ARRAY processing, what does the DIM function do?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
What are the new features included in the new version of SAS Programming Language?
what is the use of proc sql? : Sas programming
what do you mean by data staging area? : Sas-di
Are you involved in writing the inferential analysis plan? Tables specfications?
How does the internal authentication work in sas? : sas-grid-administration