11W - * Homework 10; * Problem 1; data prob1; input A B...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
* Homework 10; * Problem 1; data prob1; input A B mean; cards; 1 1 34 2 1 40 1 2 23 2 2 29 1 3 36 2 3 42 ; proc print data = prob1; title 'Problem 1d: Treatment means plot'; symbol1 v = circle i = join c = black; symbol2 v = square i = join c = read; proc gplot data = prob1; plot mean*B = A; run; data prob1tr; set prob1; logmean = log(mean); proc gplot data = prob1tr; plot logmean*B = A; run; * Problem 2; data detergent; infile 'U:\.www\stat512\datasets\Ch16pr14.dat'; input wtdev machine carton; * proc print data=detergent; * Problems 3-5; data diskdrive; infile 'U:\.www\stat512\datasets\CH19PR16.DAT'; input service A B; AB = 10*A+B; proc print data=diskdrive; proc glm data=diskdrive; class A B; model service = A B A*B; means A B A*B; output out=diskdiag r = resid p = predict; * Problem 4; proc glm data=diskdrive noprint; model service = ; output out=mudat p=muhat; proc glm data=diskdrive noprint; class A; model service = A; output out=Adat p = muhatA; proc glm data=diskdrive noprint; class B;
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
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 / 2

11W - * Homework 10; * Problem 1; data prob1; input A B...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online