/************************ math0.1.sas *************************/ title 'Prediction of Performance in First-year Calculus'; title2 'Read exploratory data and locate problems: Part 1'; data mathex; infile '/home/brunner0/441s20/exploremath.data.txt'; input id course precalc calc gpa calculus english mark lang $ sex $ nation1 nation2 sample; proc freq data=mathex; title3 'Frequency distributions of all variables'; /* Don't print this! */ tables _all_; /* After looking at frequency distributions, locate problem cases if necessary */ proc print data=mathex; title3 'Strange marks in HS English'; where english=0 or english > 100; proc print data=mathex; title3 'Students with Strange High School Marks'; where gpa = 0 or english=0 or english > 100 or calculus=0 or calculus>100;