data one; input fert yield @@; cards; 5 22 5 26 10 29 10 34 15 40 15 43 20 52 20 56 ; proc plot; plot yield*fert; run; proc reg; model yield=fert; run; data one; set one; lack_of_fit=fert; run; proc glm; class lack_of_fit; model yield=fert lack_of_fit; run; data two; input fert yield @@; cards; 5 22 5 26 10 29 10 34 15 37 15 40 20 49 20 53 25 55 25 58 30 61 30 65 35 68 35 65 40 67 40 63 ; proc plot; plot yield*fert; run; proc reg; model yield=fert; run; data two; set two; lack_of_fit=fert; run; proc glm; class lack_of_fit; model yield=fert lack_of_fit; run;