HW4_STA5166_#2

HW4_STA5166_#2 - subject 5 5407.9 1081.6 12.6600 1.248e-05...

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

View Full Document Right Arrow Icon
4.2 a) What is this design called? What characteristics does it have? The problem is a Latin-Square experimental design The study consists of 6 treatments (A-F) of “Volunteers,” 6 blocks (I-VI) of “Positions on arm,” and 6 blocks (#1-6) of “Subjects.” b) How can such a design be randomized? Why? 1. Randomly select one of the standard 6X6 Latin Square 2. Randomly permute the rows and columns of the chosen square. 3. Randomly assign the 6 treatments to the 6 letters of treatments ( A-F) c) Make an ANOVA. (Ignored graphical ANOVA) ANOVA results Call: aov(formula = y ~ position + subject + treatment, data = new2) Terms: position subject treatment Residuals Sum of Squares 219.917 5407.917 250.250 1708.667 Deg. of Freedom 5 5 5 20 Residual standard error: 9.243015 Estimated effects may be unbalanced Df Sum Sq Mean Sq F value Pr(>F) position 5 219.9 44.0 0.5148 0.7619
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: subject 5 5407.9 1081.6 12.6600 1.248e-05 *** treatment 5 250.3 50.1 0.5858 0.7107 Residuals 20 1708.7 85.4 ---Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 CODE >Prob4.2=read.table(file="E:/FSU-FALL07-School/Fall07-school/STA5166/BHH2-Data/ prb0402.dat", header=TRUE) >fit1=aov(y~factor(position) + factor(subject)+treatment, data=Prob4.2) >fit1 >summary(fit1) d) Made the assumption that the experiment is randomized and the residuals follow the i.i.d Normal distribution, N(0, 2 σ ) CODE >par(mfrow=c(1,1)) >plot(fit1$fitted, fit1$resid) e) There exists one value that does not fit, however, overall the residuals likely follow N(0, 2 σ ) distribution. CODE >par(mfrow=c(2,2)) >source("C:\\Documents and Settings\\Jaime\\Desktop\\FALL07\\STA5166\\hw1eda1-2.txt") >eda1(fit1$resid) SOURCE (see problem 1: hw1eda1-2.txt)...
View Full Document

This note was uploaded on 12/14/2011 for the course STAT 5166 taught by Professor Staff during the Fall '11 term at FSU.

Page1 / 3

HW4_STA5166_#2 - subject 5 5407.9 1081.6 12.6600 1.248e-05...

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

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