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 / lakshmi
proc sort data=data1 out=data2;
by district state country;
run;
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
Answer / radhika rakesh
here some step has syntax errors lik in input statement its
mentioned as $ state and so but correct form is state $...
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / pallavi
data abc;
infile 'c:\country.txt';
input &state &district &country population total:
proc sort data=abc:
by state district country;
proc print data=abc;
run;
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / prakash
data info;
infile 'C:\country.txt';
input $state $district $country population total;
proc sort data=info;
by state district country;
proc print data= info ;
run;
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / daya
data daya;
infile 'c:\country.txt';
input &state &district &country population total:
proc sort data=daya:
by state;
proc print data=daya;
run;
| Is This Answer Correct ? | 0 Yes | 3 No |
Describe the ways in which you can create macro variables? : sas-macro
what is washout period?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
do you prefer proc report or proc tabulate? Why? : Sas programming
how do u validate the program which u have written.
explain the key concept of sas? : Sas-administrator
what is data access? : Sas-di
Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?
What are the difference between ceil and floor functions in sas?
diff between nodup rec and ondup key???
how many types prompting framework can be broken down to? : Sas-bi
what is a post baseline?