*NKNW100.sas : Generates permanent sas data set. This section has been commented out so it is not created again. These data sets have been saved and are available in the data set directory; libname xxx 'C:\Ageorge\Purdue\Stat512\Fall00\Programs'; *Generate quadratic relationship; /* Data xxx.a100; do x=1 to 30; y=x*x-10*x+30+25*normal(0); output; end; run; */ proc reg data=xxx.a100; model y=x; output out=a2 r=resid; run; symbol1 v=circle i=rl; proc gplot data=a2; plot y*x/frame; run; symbol1 v=circle i=sm60; proc gplot data=a2; plot y*x/frame; proc gplot data=a2; plot resid*x/frame vref=0; run;