Based on my experience at University (Dept. and Hostel) I wrote few SAS codes….( Don’t try these codes at home. :))
1. Refractory:- Earlier the only way out for food was Refractory. The food used to be too awesome! (Pun intended). After few months even you can predict which vegetable you going to get served.
if vegetable = “green” then
Proc format lib=marks;
<40 = ‘F’
>75 = ‘O’
Format marks grade. ;
OUTPUT: E D C E E……E D F
D D C E E……E D F
A D C E E……F D E
E D C E E……E D F
E F F F E…… F D F.
3. Tiffin:- Pay anything, quality and quantity will remain intact.
Proc Optimize data= tiffin;
Var limited_subji paperthin_chapati tiffin_time;
If time < 9 then;
Output: The dataset contains zero observations.
4. Girls Cricket Team :- Being a coach for 2 years, it was real fun to work with
Them.( No pun intended…Lol)
Proc report data=Gcricket;
Define number / max ‘No of players interested in playing’;
Output: No of players interested in playing= 12.
(Selection criteria were very tough. :) )