{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW4_STA5166_#4

# HW4_STA5166_#4 - Problem 4 a Plot the data What kind of...

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

Problem 4 a) Plot the data. What kind of experimental design is this? Divided the run into 8 blocks which includes 4 treatments each. CODE #renumber runs 8 blocks of (1-4) Prob4.4=read.table(file="E:/FSU-FALL07-School/Fall07-school/STA5166/BHH2-Data/prb0404- 3.txt", header=TRUE) Prob4.4 plot(Prob4.4\$run, Prob4.4\$result) plot(Prob4.4\$variant, Prob4.4\$result) fit1=aov(result~ factor(run) + variant, data=Prob4.4) plot(fit1\$fitted, fit1\$resid)

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

View Full Document
b) Make the ANOVA and a graphical ANOVA ANOVA Call: aov(formula = result ~ variant + factor(run), data = Prob4.4) Terms: variant factor(run) Residuals Sum of Squares 254.3750 59.1457 406.3543 Deg. of Freedom 3 7 21 Residual standard error: 4.398886 Estimated effects may be unbalanced Df Sum Sq Mean Sq F value Pr(>F) variant 3 254.38 84.79 4.3820 0.01519 * factor(run) 7 59.15 8.45 0.4367 0.86800 Residuals 21 406.35 19.35 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
c) Estimate the mean, with confidence interval, for the four possible process conditions . A B C D 61.00 58.25 59.00 65.50 CODE- R variant1 = Prob4.4\$variant mean1 = tapply(result, variant1, mean) mean1 I needed to use Splus for this.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

HW4_STA5166_#4 - Problem 4 a Plot the data What kind of...

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

View Full Document
Ask a homework question - tutors are online