Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / ashutosh

slightly modified

data nrate;
set rating;
array r{6} a -- f;
do i=1 to 6;
*for first maximum;
if r{i}>max1 then
do
max2=max1;
max1=r{i};
end;
*for second maximum;
if r{i}>max2 and r{i}<max1 then max2=r{i};
end;


proc print data=nrate;
run;

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is null hypothesis? why do you consider that?

2845


What was the last computer book you purchased? Why?

2313


What is the order of application for output data set options, input data set options and SAS statements?

1501


which features do you use to check the data validations and errors? : Sas-administrator

998


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

955


Do you know the features of sas?

993


Do you need to know if there are any missing values?

993


Explain bmdp procedure?

983


Describe a time when you were really stuck on a problem and how you solved it?

2479


Explain by-group processing?

946


where are dashboard components are created and maintained? : Sas-bi

965


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1097


what versions of sas have you used (on which platforms)? : Sas programming

1002


what is sas enterprise intelligence architecture? : Sas-bi

934


Explain the difference between nodup and nodupkey options?

959