# 11 - * 1; data a1; infile 'C:\Documents and...

This preview shows pages 1–3. Sign up to view the full content.

* 1; data a1; infile 'C:\Documents and Settings\Administrator\My Documents\Lectures\2009- Spring\Statistics\SAS Files\Data files\CH16PR11.txt'; input deviation machine j; proc print; run; proc glm data=a1; class machine; model deviation=machine; output out= a1 r=resid; symbol1 v=circle i=none; proc gplot data=a1; plot (deviation resid)*machine/ vref = 0; proc univariate data= a1 noprint; qqplot resid/ normal (L=1 mu=0 sigma= est); run; * 2; proc glm data=a1; class machine; model deviation=machine; means machine/hovtest=levene; run; * 3; *Question 19.5*; data a3; input a3 A B; cards; 250 1 1 265 1 2 268 1 3 269 1 4 288 2 1 273 2 2 270 2 3 269 2 4 ; proc print data=a3; run; proc means data=a3; var a3; by A B; output out=avresponse mean=avvalue; symbol1 v=square i=join c=black; symbol2 v=diamond i=join c=black; symbol3 v=circle i=join c=black; symbol4 i=join c=black; title1 'Interaction plot'; proc gplot data=avresponse; plot avvalue*B=A; plot avvalue*A=B; run;

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
proc glm data=a3; class A B;
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 08/28/2011 for the course STAT 00000 taught by Professor - during the Spring '11 term at Purdue University-West Lafayette.

### Page1 / 3

11 - * 1; data a1; infile 'C:\Documents and...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online