Stat 512 - Exam 1
Print this exam out, ll in your answers and bring it to class on
Monday after spring break.
1. Fifteen soiled white shirts were divided at random into three groups of n = 5
shirts each. The rst group was washed in water only; the second
Solutions to Assignment 5
Stat 512, Spring 2010
1. (a) Dene the factors as A: plant (i = 1, 2, 3, 4) and B: leaf (j = 1, 2, 3). Factor B is
nested within A. The linear model is
Yijk = + i + j (i) +
2
2
where i N (0, ), + j (i) N (0, ), and
>
>
>
>
>
>
>
i
Stat 512 - Exam 1
Print this exam out, ll in your answers and bring it to class on
Monday after spring break.
1. Fifteen soiled white shirts were divided at random into three groups of n = 5
shirts each. The rst group was washed in water only; the second
Solutions to Exam 2
1. (a) If we denote the factors as A: Adoptive (1=high, 2=low) and B: Biological (1=high,
2=low), and let Yijk denote the response for child k in cell (A = i, B = j ), the linear
model is
Yijk = + i + j + ( )ij + ijk ,
and the least-sq
Stat 512 - Exam 2
Print out this exam and provide handwritten answers in the space provided. Bring
the answers to class on Monday.
1. A study was conducted to measure the eects of heredity and environment on
intelligence. Children were selected at random
Solutions to Exam 3
1. A clinical trial is performed to compare two treatments for hypertension. Forty patients are
recruited and randomly assigned to receive Treatment 1 or Treatment 2 (20 per treatment).
Systolic blood pressure (SBP) is measured before
Stat 512 - Exam 3
Print out this exam and provide handwritten answers in the space provided. Bring
the answers to class on Monday.
1. A clinical trial is performed to compare two treatments for hypertension. Forty
patients are recruited and randomly assig
Solutions to Final Exam
1. (a) The grand mean is Y = (3.25 + .75)/2 = 2. The treatment SS is
2
8
(Yi Y )2 ) = 8(3.25 2)2 + 8(.75 2)2 = 25,
SSReg =
i=1 j =1
and the error SS is SSErr = 33.5 + 33.5 = 67.
Source
SS
df
MS
F
Treatment
Error
25
67
1
14
25.000
4
Solutions to Assignment 4
Stat 512, Spring 2010
1. (a) No, it doesnt. The old display was used during the rst three-week period, and the
new display (Treatment 1) was used during the second three-week period. Even if
the average change is statistically si
Solutions to Assignment 3
Stat 512, Spring 2010
> # read in data
> FabricShrink <- read.table("FabricShrink.txt", header=T)
# change fabric and temp to factors and plot
FabricShrink$fabric <- factor(FabricShrink$fabric)
FabricShrink$temp <- factor(FabricS
Solutions to Assignment 2
Stat 512, Spring 2010
1. (a) Here is R code to enter the data and t the model.
>
+
+
+
+
+
>
>
>
>
>
>
gain <- c(
4.1, 3.3,
5.2, 4.8,
6.3, 6.5,
6.5, 6.8,
9.5, 9.6,
3.1,
4.5,
7.2,
7.3,
9.2,
4.2,
6.8,
7.4,
7.5,
9.1,
3.6,
5.5,
7.8,
Stat 512 - Exam 2
Print out this exam and provide handwritten answers in the space provided. Bring
the answers to class on Monday.
1. A study was conducted to measure the eects of heredity and environment on
intelligence. Children were selected at random
Solutions to Exam 2
1. (a) If we denote the factors as A: Adoptive (1=high, 2=low) and B: Biological (1=high,
2=low), and let Yijk denote the response for child k in cell (A = i, B = j ), the linear
model is
Yijk = + i + j + ( )ij + ijk ,
and the least-sq
Stat 512 - Exam 3
Print out this exam and provide handwritten answers in the space provided. Bring
the answers to class on Monday.
1. A clinical trial is performed to compare two treatments for hypertension. Forty
patients are recruited and randomly assig
Solutions to Exam 3
1. A clinical trial is performed to compare two treatments for hypertension. Forty patients are
recruited and randomly assigned to receive Treatment 1 or Treatment 2 (20 per treatment).
Systolic blood pressure (SBP) is measured before
Stat 512 - Final Exam
Place your answers (handwritten or typed) in the instructors mailbox at the Department of Statistics (327 Thomas) by Friday at 5 pm, or email them to jls@stat.psu.edu
by Friday evening at midnight.
1. An experiment was performed to c
Solutions to Final Exam
1. (a) The grand mean is Y = (3.25 + .75)/2 = 2. The treatment SS is
2
8
(Yi Y )2 ) = 8(3.25 2)2 + 8(.75 2)2 = 25,
SSReg =
i=1 j =1
and the error SS is SSErr = 33.5 + 33.5 = 67.
Source
SS
df
MS
F
Treatment
Error
25
67
1
14
25.000
4
Solutions to Assignment 1
Stat 512, Spring 2010
Grading policy: In general, each homework problem in Stat 512 is worth 5 points.
1. (a) This is an experimental study, because the treatment factor (curriculum) was randomly assigned to classrooms.
(b) A nic
Stat 512 - Final Exam
Place your answers (handwritten or typed) in the instructors mailbox at the Department of Statistics (327 Thomas) by Friday at 5 pm, or email them to jls@stat.psu.edu
by Friday evening at midnight.
1. An experiment was performed to c