HW4_solution - Problem 1 (a)(b) Its a paired t-test....

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

View Full Document Right Arrow Icon
Problem 1 (a)(b) It’s a paired t-test. According to (3.1), we can get: t = -3.08, p = 0.027 Since t 5, 0.05/2 = 2.571 < |t|, we reject the null hypothesis R code: > x1=c(8,14,16,19,18,12) > x2=c(11,16,20,18,20,15) > N=length(x1) > d = x1-x2 > s_d=sd(d) > t=sqrt(N)*mean(d)/s_d > t [1] -3.081296 > t.test(x1,x2,paired=TRUE) Paired t-test data: x1 and x2 t = -3.0813, df = 5, p-value = 0.02743 Problem 2 Zero sum: τ i is the offset between the expected treatment i response and the average treatment response. α i is the offset between the expected block j effect and the average block effect. Baseline: τ i is the offset between the expected treatment i response and treatment 1. α i is the offset between the expected block j effect and the block 1 effect. Problem 3 For tukey’s method, we have: 1/sqrt(2) *q 4,24,0.01 = 3.47 The t-values are in table 3.7 We can see all pairs except A vs C have t-value greater than 3.47. The conclusion is different from the one made at 0.05 level
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 04/26/2011 for the course STATS 424 taught by Professor Peterqian during the Spring '11 term at University of Wisconsin.

Page1 / 3

HW4_solution - Problem 1 (a)(b) Its a paired t-test....

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