libname sasdata '\\storage.wpi.edu\academics\courses\MA\SAS-Data\sasdata8'; * This first bit of code produces the stratified plot; proc sgplot data=sasdata.bread1; scatter x=machine y=weight; xaxis integer; run; /* This next bit produces the sums of squares. These are labeled differently than in the lecture notes: "Between", "Within" and "Total" are here denoted "Model", "Error", and "Corrected Total", respectively. */ proc glm data=sasdata.bread1; class machine; model weight=machine; run; quit;