In a shcool there are 1000 students. After completion of
every test in 6 subjects , each subject teacher submit the
marks of every student at different times and loaded in the
database commonly. How will you seperate the top two
subject marks for each each studet using SAS?
Answer Posted / santosh reddy
data x;
set rating;
max1=max(of a--f);
array aa(6) a--f;
do i=1 to 6;
if aa(i)>max2 and aa(i)<max1 then max2=aa(i);
end;
run;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of PROC gplot?
what does the run statement do? : Sas programming
What is your favorite all time computer book? Why?
What is factor analysis?
what is program data vector? : Sas-administrator
What are the difference between ceil and floor functions in sas?
how to remove duplicates using proc sql?
Name some categories in sas 9? : sas-grid-administration
what is broad cast agent? : Sas-bi
Explain the use of proc print and proc contents?
Explain the special input delimiters used in sas programming.
describe how to adjust the performance of data integrator? : Sas-di
What is the basic structure of a sas program?
explain the use of % includes a statement in sas? : Sas-administrator
What are the data types that sas contain?