/* describemath1.sas */ %include '/home/u1407221/441s24/SAS06/ReadLabelMath.sas'; title2 'Descriptive statistics on the Exploratory Sample'; /* id sex tongue rater1 rater2 ethnic hsgpa hscalc hsengl havecalc class precalc calc totscore grade passed outcome */ proc freq data=explore; title3 'Categorical Variables'; tables sex tongue rater1 rater2 ethnic class havecalc passed outcome; tables havecalc*class / nocol nopercent; proc means data=explore; title3 'Quantitative Variables'; var precalc calc totscore hsgpa hscalc hsengl grade; proc univariate normal plot; title3 'Detailed look at grade'; var grade; /* The following suggests that profs in Courses 1 and 3 bumped the marks discontinuously, while the prof in Course 2 did something more sophisticated. */ proc freq; title3 'Grade separately by course'; tables grade*class / norow nocol nopercent; proc freq; title3 'Do Raters Agree on on Nationality?'; tables rater1*rater2 / norow nocol; run; quit; /*****************************************************************/