Statistics 312a/612a, fall 2010
Homework #1 solutions
Please attempt at least those problems or parts marked with a star.
Throughout the sheet, let ei denote the unit vector in Rn with a one
in the ith place and let 1 denote the vector of ones.
*[1]
Suppo
Statistics 312a/612a, fall 2010
Homework #4 solutions
For this sheet I generated a fake unbalanced data set with two factors, ROW
and COL, both having sum contrasts.
>
>
>
>
>
1
2
3
4
5
6
7
8
9
dummy = cbind(one=1,as.dummy(ROW),as.dummy(COL)
eps = c(0.31,
Statistics 312a/612a, fall 2010
Homework #5 solutions
*[1]
Suppose X is a subspace of Rn with orthonormal basis q1 = n1/2 1, q2 , . . . , qk .
2
For a xed vector y in Rn and each real t let Rt denote the Multiple R-Squared
(t)
obtained from the least squa
Statistics 312a/612a, fall 2010
Homework #6 solutions
*[1]
Using the Jury data from the le Jdata (in both the homework and Handouts
directories), I obtained several least squares ts:
J = Jdata = read.table("Jdata",header=T,sep="\t")
reg1 = lm(dmv92 ~ hisp