ods pdf file="H:\_ODS\SAS_ACT_08_Output.pdf" notoc; /* SAS Activity #8 */ /* Import olympics.csv */ /* #1 PROC CONTENTS */ proc contents data=bio.olympics varnum; run; /* #2 regression of Y = time using X = year with fitplot */ ods graphics on; proc reg data=bio.olympics; model time = year; run; quit; ods graphics off; /* Students do not need this */ proc print data=bio.olympics; where time > 260; run; /* #3 Create a new dataset and remove outlier */ data bio.olympics2; set bio.olympics; if year = 1896 then delete; run; /* #4 regression of Y = time using X = year with fitplot */ ods graphics on; proc reg data=bio.olympics2; model time = year; run; quit; ods graphics off; ods pdf close;