Chapter 3

Linear Regression: Estimation and Distribution Theory

[72/93%]
Show
LaTeX
Problem 3.1

Let Yi=aiβ1+biβ2+εi(i=1,2,…,n)Y_{i} = a_{i} \beta_{1}+b_{i} \beta_{2}+\varepsilon_{i}(i = 1,2, \ldots , n), where the ai,bia_{i}, b_{i} are known and the εi\varepsilon_{i} are independently and identically distributed as N(0,σ2)N\left(0, \sigma^{2}\right). Find a necessary and sufficient condition for the least squares estimates of β1\beta_{1} and β2\beta_{2} to be independent.

?
Problem 3.2

Let Y=θ+ε\mathbf{Y} = \mathbf{\theta }+\mathbf{\varepsilon }, where E[ε]=0\mathbb {E}\left[\varepsilon \right] = 0. Prove that the value of θ\mathbf{\theta } that minimizes ∥Y−θ∥2\left\| \mathbf{Y}-\mathbf{\theta }\right\|^{2} subject to Aθ=0\mathbf{A} \mathbf{\theta } = \mathbf{0}, where A\mathbf{A} is a known q×nq \times n matrix of rank qq, is

θ^=(In−AT(AAT)−1A)Y \widehat{\mathbf{\theta }} = \left(\mathbf{I}_{n}-\mathbf{A}^{T}\left(\mathbf{A A}^{T}\right)^{-1} \mathbf{A}\right) \mathbf{Y}
?
Problem 3.3

Let Y=Xβ+ε\mathbf{Y} = \mathbf{X} \mathbf{\beta }+\varepsilon, where E[ε]=0,Var⁡[ε]=σ2In\mathbb {E}\left[\varepsilon \right] = \mathbf{0}, \operatorname {Var}\left[\varepsilon \right] = \sigma^{2} \mathbf{I}_{n}, and X\mathbf{X} is n×pn \times p of rank pp. If X\mathbf{X} and β\mathbf{\beta } are partitioned in the form

xβ=(X1,X2)(β1β2), \mathbf{x} \mathbf{\beta } = \left(\mathbf{X}_{1}, \mathbf{X}_{2}\right)\binom {\mathbf{\beta }_{1}}{\mathbf{\beta }_{2}},

prove that the least squares estimate β^2\widehat{\mathbf{\beta }}_{2} of β2\mathbf{\beta }_{\mathbf{2}} is given by

β^2=[X2TX2−X2TX1(X1TX1)−1X1TX2]−1×[X2TY−X2TX1(X1TX1)−1X1TY] \begin{aligned} \widehat{\beta }_{2} = & {\left[\mathbf{X}_{2}^{T} \mathbf{X}_{2}-\mathbf{X}_{2}^{T} \mathbf{X}_{1}\left(\mathbf{X}_{1}^{T} \mathbf{X}_{1}\right)^{-1} \mathbf{X}_{1}^{T} \mathbf{X}_{2}\right]^{-1} } \\ & \times \left[\mathbf{X}_{2}^{T} \mathbf{Y}-\mathbf{X}_{2}^{T} \mathbf{X}_{1}\left(\mathbf{X}_{1}^{T} \mathbf{X}_{1}\right)^{-1} \mathbf{X}_{1}^{T} \mathbf{Y}\right] \end{aligned}

Find Var⁡[β^2]\operatorname {Var}\left[\widehat{\mathbf{\beta }}_{2}\right].

?
Problem 3.4

Suppose that E[Y]=Xβ\mathbb {E}\left[\mathbf{Y}\right] = \mathbf{X} \mathbf{\beta } and Var⁡[Y]=σ2In\operatorname {Var}\left[\mathbf{Y}\right] = \sigma^{2} \mathbf{I}_{n}. Prove that aTY\mathbf{a}^{T} \mathbf{Y} is the linear unbiased estimate of E[aTY]\mathbb {E}\left[\mathbf{a}^{T} \mathbf{Y}\right] with minimum variance if and only if Cov⁡[aTY,bTY]=0\operatorname {Cov}\left[ \mathbf{a}^{T} \mathbf{Y}, \mathbf{b}^{T} \mathbf{Y} \right] = 0 for all b\mathbf{b} such that E[bTY]=0\mathbb {E}\left[\mathbf{b}^{T} \mathbf{Y}\right] = 0 (i.e., bTX=0T\mathbf{b}^{T} \mathbf{X} = \mathbf{0}^{T}).

?
Problem 3.5

If X\mathbf{X} has full rank and Y^=Xβ^\widehat{\mathbf{Y}} = \mathbf{X} \widehat{\mathbf{\beta }}, prove that

∑i=1nVar⁡[Y^i]=σ2p \sum _{i = 1}^{n} \operatorname {Var}\left[\widehat{Y}_{i}\right] = \sigma ^{2} p
?
Problem 3.6

Estimate the weights βi(i=1,2,3,4)\beta_{i}(i = 1,2,3,4) of four objects from the following weighing data (see Exercises 3e, No. 5, at the end of Section 3.6 for notation):

x1x_{1}x2x_{2}x3x_{3}x4x_{4}Weight(Y)(Y)
111120.2
1-11-18.0
11-1-19.7
1-1-111.9
?
Problem 3.7

Three parcels are weighed at a post office singly, in pairs, and all together, giving weights Yijk(i,j,k=0,1)Y_{i j k}(i, j, k = 0,1), the suffix 1 denoting the presence of a particular parcel and the suffix 0 denoting its absence. Find the least squares estimates of the weights.

?
Problem 3.8

An experimenter wishes to estimate the density dd of a liquid by weighing known volumes of the liquid. Let YiY_{i} be the weight for volume xi(i=1,2,…,n)x_{i}(i = 1,2, \ldots , n) and let E[Yi]=dxi\mathbb {E}\left[Y_{i}\right] = d x_{i} and Var⁡[Yi]=σ2f(xi)\operatorname {Var}\left[Y_{i}\right] = \sigma^{2} f\left(x_{i}\right). Find the least squares estimate of dd for the following cases:

?
(a)

f(xi)≡1f\left(x_{i}\right) \equiv 1.

(b)

f(xi)=xif\left(x_{i}\right) = x_{i}.

(c)

f(xi)=xi2f\left(x_{i}\right) = x_{i}^{2}.

Problem 3.9

Let Yi=β0+β1xi+εi(i=1,2,3)Y_{i} = \beta_{0}+\beta_{1} x_{i}+\varepsilon_{i}(i = 1,2,3), where E[ε]=0,Var⁡[ε]=σ2 V\mathbb {E}\left[\varepsilon \right] = 0, \operatorname {Var}\left[\varepsilon \right] = \sigma^{2} \mathrm{~ V} with

V=[1ρaρρaa2ρaρρa1],(a,ρ unknown ) V =\left[\begin{smallmatrix} 1 & \rho a & \rho \\ \rho a & a^{2} & \rho a \\ \rho & \rho a & 1 \end{smallmatrix}\right], \quad (a, \rho \text{ unknown })

and x1=−1,x2=0x_{1} = -1, x_{2} = 0, and x3=1x_{3} = 1. Show that the generalized least squares estimates of β0\beta_{0} and β1\beta_{1} are

(β0∗β1∗)=(r−1{(a2−aρ)Y1+(1−2aρ+ρ)Y2+(a2−aρ)Y3}−12Y1+12Y3) \binom {\beta _{0}^{*}}{\beta _{1}^{*}} = \binom {r^{-1}\left\{ \left(a^{2}-a \rho \right) Y_{1}+(1-2 a \rho +\rho ) Y_{2}+\left(a^{2}-a \rho \right) Y_{3}\right\} }{-\frac{1}{2} Y_{1}+\frac{1}{2} Y_{3}}

where r=1+ρ+2a2−4aρr = 1+\rho +2 a^{2}-4 a \rho. Also prove the following:

?
(a)

If a=1a = 1, then the fitted regression Yi∗=β0∗+β1∗xiY_{i}^{*} = \beta_{0}^{*}+\beta_{1}^{*} x_{i} cannot lie wholly above or below the values of YiY_{i} (i.e., the Yi−Yi∗Y_{i}-Y_{i}^{*} cannot all have the same sign).

(b)

If 0<a<ρ<10 < a < \rho < 1, then the fitted regression line can lie wholly above or below the observations.

Problem 3.10

If X\mathbf{X} is not of full rank, show that any solution β\mathbf{\beta } of XTV−1Xβ=XTV−1Y\mathbf{X}^{T} \mathbf{V}^{-1} \mathbf{X} \mathbf{\beta } = \mathbf{X}^{T} \mathbf{V}^{-1} \mathbf{Y} minimizes (Y−Xβ)TV−1(Y−Xβ)(\mathbf{Y}-\mathbf{X} \mathbf{\beta })^{T} \mathbf{V}^{-1}(\mathbf{Y}-\mathbf{X} \mathbf{\beta }).

?
Problem 3.11

Let

Y1=θ1+θ2+ε1Y2=θ1−2θ2+ε2 \begin{aligned} & Y_{1} = \theta _{1}+\theta _{2}+\varepsilon _{1} \\ & Y_{2} = \theta _{1}-2 \theta _{2}+\varepsilon _{2} \end{aligned}

and

Y3=2θ1−θ2+ε3 Y_{3} = 2 \theta _{1}-\theta _{2}+\varepsilon _{3}

where E[εi]=0(i=1,2,3)\mathbb {E}\left[\varepsilon_{i}\right] = 0(i = 1,2,3). Find the least squares estimates of ∂1\partial_{1} and θ2\theta_{2}. If the equations above are augmented to

Y1=θ1+θ2+θ3+ε1,Y2=θ1−2θ2+θ3+ε2,Y3=2θ1−θ2+θ3+ε3 \begin{aligned} & Y_{1} = \theta _{1}+\theta _{2}+\theta _{3}+\varepsilon _{1}, \\ & Y_{2} = \theta _{1}-2 \theta _{2}+\theta _{3}+\varepsilon _{2}, \\ & Y_{3} = 2 \theta _{1}-\theta _{2}+\theta _{3}+\varepsilon _{3} \end{aligned}

find the least squares estimate of θ3\theta_{3}.

?
Problem 3.12

Given the usual full-rank regression model, prove that the random variables Yˉ\bar{Y} and ∑i(Yi−Y^i)2\sum_{i}\left(Y_{i}-\widehat{Y}_{i}\right)^{2} are statistically independent.

?
Problem 3.13

Let Yi=βxi+ui,xi>0(i=1,2,…,n)Y_{i} = \beta x_{i}+u_{i}, x_{i} > 0(i = 1,2, \ldots , n), where ui=ρui−1+εiu_{i} = \rho u_{i-1}+\varepsilon_{i} and the εi\varepsilon_{i} are independently distributed as N(0,σ2)N\left(0, \sigma^{2}\right). If β^\widehat{\beta } is the ordinary least squares estimate of β\beta, prove that Var⁡[β^]\operatorname {Var}\left[\widehat{\beta }\right] is inflated when ρ>0\rho > 0.

?
Problem 3.14

Suppose that E[Yt]=β0+β1cos⁡(2πk1t/n)+β2sin⁡(2πk2t/n)\mathbb {E}\left[Y_{t}\right] = \beta_{0}+\beta_{1} \cos \left(2 \pi k_{1} t / n\right)+\beta_{2} \sin \left(2 \pi k_{2} t / n\right), where t=1,2,…,nt = 1,2, \ldots , n, and k1k_{1} and k2k_{2} are positive integers. Find the least squares estimates of β0,β1\beta_{0}, \beta_{1}, and β2\beta_{2}.

?
Problem 3.15

Suppose that E[Yi]=α0+β1(xi1−xˉ1)+β2(xi2−xˉ2),i=1,2,…,n\mathbb {E}\left[Y_{i}\right] = \alpha_{0}+\beta_{1}\left(x_{i 1}-\bar{x}_{1}\right)+\beta_{2}\left(x_{i 2}-\bar{x}_{2}\right), i = 1,2, \ldots , n. Show that the least squares estimates of α0,β1\alpha_{0}, \beta_{1}, and β2\beta_{2} can be obtained by the following two-stage procedure: (i) Fit the model E[Yi]=α0+β1(xi1−xˉ1)\mathbb {E}\left[Y_{i}\right] = \alpha_{0}+\beta_{1}\left(x_{i 1}-\bar{x}_{1}\right). (ii) Regress the residuals from (i) on (xi2−xˉ2x_{i 2}-\bar{x}_{2}).

?
Problem 3a.1

Show that if X\mathbf{X} has full rank,

(Y−Xβ)T(Y−Xβ)=(Y−Xβ^)T(Y−Xβ^)+(β^−β)TXTX(β^−β) (\mathbf{Y}-\mathbf{X} \mathbf{\beta })^{T}(\mathbf{Y}-\mathbf{X} \mathbf{\beta }) = (\mathbf{Y}-\mathbf{X} \widehat{\mathbf{\beta }})^{T}(\mathbf{Y}-\mathbf{X} \widehat{\mathbf{\beta }})+(\widehat{\mathbf{\beta }}-\mathbf{\beta })^{T} \mathbf{X}^{T} \mathbf{X}(\widehat{\mathbf{\beta }}-\mathbf{\beta })

and hence deduce that the left side is minimized uniquely when β=β^\mathbf{\beta } = \widehat{\mathbf{\beta }}.

?
Problem 3a.2

If X\mathbf{X} has full rank, prove that ∑i=1n(Yi−Y^i)=0\sum_{i = 1}^{n}\left(Y_{i}-\widehat{Y}_{i}\right) = 0. Hint: Consider the first column of X\mathbf{X}.

?
Problem 3a.3

Let

Y1=θ+ε1Y2=2θ−ϕ+ε2Y3=θ+2ϕ+ε3 \begin{aligned} & Y_{1} = \theta +\varepsilon _{1} \\ & Y_{2} = 2 \theta -\phi +\varepsilon _{2} \\ & Y_{3} = \theta +2 \phi +\varepsilon _{3} \end{aligned}

where E[εi]=0(i=1,2,3)\mathbb {E}\left[\varepsilon_{i}\right] = 0(i = 1,2,3). Find the least squares estimates of θ\theta and ϕ\phi.

?
Problem 3a.4

Consider the regression model

E[Yi]=β0+β1xi+β2(3xi2−2)(i=1,2,3), \mathbb {E}\left[Y_{i}\right] = \beta _{0}+\beta _{1} x_{i}+\beta _{2}\left(3 x_{i}^{2}-2\right) \quad (i = 1,2,3),

where x1=−1,x2=0x_{1} = -1, x_{2} = 0, and x3=+1x_{3} = +1. Find the least squares estimates of β0,β1\beta_{0}, \beta_{1}, and β2\beta_{2}. Show that the least squares estimates of β0\beta_{0} and β1\beta_{1} are unchanged if β2=0\beta_{2} = 0.

?
Problem 3a.5

The tension TT observed in a nonextensible string required to maintain a body of unknown weight ww in equilibrium on a smooth inclined plane of angle θ(0<θ<π/2)\theta (0 < \theta < \pi / 2) is a random variable with mean E[T]=wsin⁡θ\mathbb {E}\left[T\right] = w \sin \theta. If for θ=θi(i=1,2,…,n)\theta = \theta_{i}(i = 1,2, \ldots , n) the corresponding values of TT are TiT_{i} (i=1,2,…,ni = 1,2, \ldots , n), find the least squares estimate of ww.

?
Problem 3a.6

If X\mathbf{X} has full rank, so that P=X(XTX)−1XT\mathbf{P} = \mathbf{X}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1} \mathbf{X}^{T}, prove that C(P)=C(X)\mathcal{C}(\mathbf{P}) = \mathcal{C}(\mathbf{X}).

?
Problem 3a.7

For a general regression model in which X\mathbf{X} may or may not have full rank, show that

∑i=1nY^i(Yi−Y^i)=0 \sum _{i = 1}^{n} \widehat{Y}_{i}\left(Y_{i}-\widehat{Y}_{i}\right) = 0
?
Problem 3a.8

Suppose that we scale the explanatory variables so that xij=kjwijx_{i j} = k_{j} w_{i j} for all i,ji, j. By expressing X\mathbf{X} in terms of a new matrix W\mathbf{W}, prove that Y^\widehat{\mathbf{Y}} remains unchanged under this change of scale.

?
Problem 3b.1

Let Yi=β0+β1xi+εi(i=1,2,…,n)Y_{i} = \beta_{0}+\beta_{1} x_{i}+\varepsilon_{i}(i = 1,2, \ldots , n), where E[ε]=0\mathbb {E}\left[\varepsilon \right] = 0 and Var⁡[ε]=σ2In\operatorname {Var}\left[\varepsilon \right] = \sigma^{2} \mathbf{I}_{n}. Find the least squares estimates of β0\beta_{0} and β1\beta_{1}. Prove that they are uncorrelated if and only if xˉ=0\bar{x} = 0.

?
Problem 3b.2

In order to estimate two parameters θ\theta and ϕ\phi it is possible to make observations of three types: (a) the first type have expectation θ\theta, (b) the second type have expectation θ+ϕ\theta +\phi, and (c) the third type have expectation θ−2ϕ\theta -2 \phi. All observations are subject to uncorrelated errors of mean zero and constant variance. If mm observations of type (a), mm observations of (b), and nn observations of type (c) are made, find the least squares estimates θ^\widehat{\theta } and ϕ^\widehat{\phi }. Prove that these estimates are uncorrelated if m=2nm = 2 n.

?
Problem 3b.3

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be a random sample from N(θ,σ2)N\left(\theta , \sigma^{2}\right). Find the linear unbiased estimate of θ\theta with minimum variance.

?
Problem 3b.4

Let

Yi=β0+β1(xi1−xˉ1)+β2(xi2−xˉ2)+εi(i=1,2,…,n), Y_{i} = \beta _{0}+\beta _{1}\left(x_{i 1}-\bar{x}_{1}\right)+\beta _{2}\left(x_{i 2}-\bar{x}_{2}\right)+\varepsilon _{i} \quad (i = 1,2, \ldots , n),

where xˉj=∑i=1nxij/n,E[ε]=0\bar{x}_{j} = \sum_{i = 1}^{n} x_{i j} / n, \mathbb {E}\left[\varepsilon \right] = \mathbf{0}, and Var⁡[ε]=σ2In\operatorname {Var}\left[\varepsilon \right] = \sigma^{2} \mathbf{I}_{n}. If β^1\widehat{\beta }_{1} is the least squares estimate of β1\beta_{1}, show that

Var⁡[β^1]=σ2∑i(xi1−xˉ1)2(1−r2) \operatorname {Var}\left[\widehat{\beta }_{1}\right] = \frac{\sigma ^{2}}{\sum _{i}\left(x_{i 1}-\bar{x}_{1}\right)^{2}\left(1-r^{2}\right)}

where rr is the correlation coefficient of the nn pairs (xi1,xi2)\left(x_{i 1}, x_{i 2}\right).

?
Problem 3c.1

Suppose that Y∼Nn(Xβ,σ2In)\mathbf{Y} \sim N_{n}\left(\mathbf{X} \mathbf{\beta }, \sigma^{2} \mathbf{I}_{n}\right), where X\mathbf{X} is n×pn \times p of rank⁡p\operatorname {rank} p.

?
(a)

Find Var⁡[S2]\operatorname {Var}\left[S^{2}\right].

(b)

Evaluate E[(YTA1Y−σ2)2]\mathbb {E}\left[\left(Y^{T} \mathbf{A}_{1} \mathbf{Y}-\sigma^{2}\right)^{2}\right] for

A1=1n−p+2[In−X(XTX)−1XT] \mathbf{A}_{1} = \frac{1}{n-p+2}\left[\mathbf{I}_{n}-\mathbf{X}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1} \mathbf{X}^{T}\right]
(c)

Prove that YTA1Y\mathbf{Y}^{T} \mathbf{A}_{1} \mathbf{Y} is an estimate of σ2\sigma^{2} with a smaller meansquared error than S2S^{2}.

Problem 3c.2

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be independently and identically distributed with mean θ\theta and variance σ2\sigma^{2}. Find the nonnegative quadratic unbiased estimate of σ2\sigma^{2} with the minimum variance.

?
Problem 3d.1

Given Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} independently distributed as N(θ,σ2)N\left(\theta , \sigma^{2}\right), use Theorem 3.5 to prove that:

?
(a)

Yˉ\bar{Y} is statistically independent of Q=∑i(Yi−Yˉ)2Q = \sum_{i}\left(Y_{i}-\bar{Y}\right)^{2}.

(b)

Q/σ2∼χn−12Q / \sigma^{2} \sim \chi_{n-1}^{2}.

Problem 3d.2

Use Theorem 2.5 to prove that for the full-rank regression model, RSS is independent of (β^−β)TXTX(β^−β)(\widehat{\mathbf{\beta }}-\mathbf{\beta })^{T} \mathbf{X}^{T} \mathbf{X}(\widehat{\mathbf{\beta }}-\mathbf{\beta }).

?
Problem 3e.1

Prove the statement above that the minimum is given by λj=c(j=1,2,…,p−1\lambda_{j} = c(j = 1,2, \ldots , p-1).

?
Problem 3e.2

It is required to fit a regression model of the form

E[Yi]=β0+β1xi+β2ϕ(xi)(i=1,2,3) \mathbb {E}\left[Y_{i}\right] = \beta _{0}+\beta _{1} x_{i}+\beta _{2} \phi \left(x_{i}\right) \quad (i = 1,2,3)

where ϕ(x)\phi (x) is a second-degree polynomial. If x1=−1,x2=0x_{1} = -1, x_{2} = 0, and x3=1x_{3} = 1, find ϕ\phi such that the design matrix X\mathbf{X} has mutually orthogonal columns.

?
Problem 3e.3

Suppose that X=(x(0),x(1),…,x(p−1),x(p))=(W,x(p))\mathbf{X} = \left(\mathbf{x}^{(0)}, \mathbf{x}^{(1)}, \ldots , \mathbf{x}^{(p-1)}, \mathbf{x}^{(p)}\right) = \left(\mathbf{W}, \mathbf{x}^{(p)}\right) has linearly independent columns.

?
(a)

Using A.9.5, prove that

det⁡(XTX)=det⁡(WTW)(x(p)′x(p)−x(p)′W(WTW)−1WTx(p)) \operatorname {det}\left(\mathbf{X}^{T} \mathbf{X}\right) = \operatorname {det}\left(\mathbf{W}^{T} \mathbf{W}\right)\left(\mathbf{x}^{(p) \prime } \mathbf{x}^{(p)}-\mathbf{x}^{(p) \prime } \mathbf{W}\left(\mathbf{W}^{T} \mathbf{W}\right)^{-1} \mathbf{W}^{T} \mathbf{x}^{(p)}\right)
(b)

Deduce that

det⁡(WTW)det⁡(XTX)≥1x(p)/x(p) \frac{\operatorname {det}\left(\mathbf{W}^{T} \mathbf{W}\right)}{\operatorname {det}\left(\mathbf{X}^{T} \mathbf{X}\right)} \geq \frac{1}{\mathbf{x}^{(\mathbf{p}) / \mathbf{x}^{(\mathbf{p})}}}

and hence show that Var⁡[β^p]≥σ2(x(p)′x(p))−1\operatorname {Var}\left[\widehat{\beta }_{p}\right] \geq \sigma^{2}\left(\mathbf{x}^{(p) \prime } \mathbf{x}^{(p)}\right)^{-1} with equality if and only if x(p)′x(j)=0(j=0,1,…,p−1)\mathbf{x}^{(p) \prime } \mathbf{x}^{(j)} = 0(j = 0,1, \ldots , p-1).

Problem 3e.4

What modifications in the statement of Example 3.3 proved above can be made if the term β0\beta_{0} is omitted?

?
Problem 3e.5

Suppose that we wish to find the weights βi(i=1,2,…,k)\beta_{i}(i = 1,2, \ldots , k) of kk objects. One method is to weigh each object rr times and take the average; this requires a total of krk r weighings, and the variance of each average is σ2/r\sigma^{2} / r (σ2\sigma^{2} being the variance of the weighing error). Another method is to weigh the objects in combinations; some of the objects are distributed between the two pans and weights are placed in one pan to achieve equilibrium. The regression model for such a scheme is

Y=β1x1+β2x2+⋯+βkxk+ε Y = \beta _{1} x_{1}+\beta _{2} x_{2}+\cdots +\beta _{k} x_{k}+\varepsilon

where xi=0,1x_{i} = 0,1, or -1 according as the ii th object is not used, placed in the left pan or in the right pan, ε\varepsilon is the weighing error (assumed to be the same for all weighings), and YY is the weight required for equilibrium (YY is regarded as negative if placed in the left pan). After nn such weighing operations we can find the least squares estimates β^i\widehat{\beta }_{i} of the weights.

?
(a)

Show that the estimates of the weights have maximum precision (i.e., minimum variance) when each entry in the design matrix X\mathbf{X} is ±1\pm 1 and the columns of X\mathbf{X} are mutually orthogonal.

(b)

If the objects are weighed individually, show that knk n weighings are required to achieve the same precision as that given by the optimal design with nn weighings.

Problem 3f.1

Prove that

YTRY−YTRGY=σ2γ^GT(Var⁡[γ^G])−1γ^G \mathbf{Y}^{T} \mathbf{R Y}-\mathbf{Y}^{T} \mathbf{R}_{G} \mathbf{Y} = \sigma ^{2} \widehat{\gamma }_{G}^{T}\left(\operatorname {Var}\left[\widehat{\mathbf{\gamma }}_{G}\right]\right)^{-1} \widehat{\gamma }_{G}
?
Problem 3f.2

Prove that γ^G\widehat{\gamma }_{G} can be obtained by replacing Y\mathbf{Y} by Y−Zγ\mathbf{Y}-\mathbf{Z} \gamma in YTRY\mathbf{Y}^{T} \mathbf{R Y} and minimizing with respect to γ\gamma. Show further that the minimum value thus obtained is YTRGY\mathbf{Y}^{T} \mathbf{R}_{G} \mathbf{Y}.

?
Problem 3f.3

If β^G=(β^G,j)\widehat{\mathbf{\beta }}_{G} = \left(\widehat{\beta }_{G, j}\right) and β^=(β^j)\widehat{\mathbf{\beta }} = \left(\widehat{\beta }_{j}\right), use Theorem 3.6 (iv) to prove that

Var⁡[β^G,j]≥Var⁡[β^j] \operatorname {Var}\left[\widehat{\beta }_{G, j}\right] \geq \operatorname {Var}\left[\widehat{\beta }_{j}\right]
?
Problem 3f.4

Given that Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} are independently distributed as N(θ,σ2)N\left(\theta , \sigma^{2}\right), find the least squares estimate of θ\theta.

?
(a)

Use Theorem 3.6 to find the least squares estimates and the residual sum of squares for the augmented model

Yi=θ+γxi+εi(i=1,2,…,n) Y_{i} = \theta +\gamma x_{i}+\varepsilon _{i} \quad (i = 1,2, \ldots , n)

where the εi\varepsilon_{i} are independently distributed as N(0,σ2)N\left(0, \sigma^{2}\right).

(b)

Verify the formulae for the least square estimates of θ\theta and γ\gamma by differentiating the usual sum of squares.

Problem 3g.1
?
(a)

Find the least squares estimates of α\alpha and β\beta in Example 3.5 using the two approaches described there. What is the least squares estimate of γ\gamma?

(b)

Suppose that a further constraint is introduced: namely, α=β\alpha = \beta. Find the least squares estimates for this new situation using both methods.

Problem 3g.2

By considering the identity Y−Y^H=Y−Y^+Y^−Y^H\mathbf{Y}-\widehat{\mathbf{Y}}_{H} = \mathbf{Y}-\widehat{\mathbf{Y}}+\widehat{\mathbf{Y}}-\widehat{\mathbf{Y}}_{H}, prove that

∥Y−Y^H∥2=∥Y−Y^∥2+∥Y^−Y^H∥2 \left\| \mathbf{Y}-\widehat{\mathbf{Y}}_{H}\right\| ^{2} = \left\| \mathbf{Y}-\widehat{\mathbf{Y}}\right\| ^{2}+\left\| \widehat{\mathbf{Y}}-\widehat{\mathbf{Y}}_{H}\right\| ^{2}
?
Problem 3g.3

Prove that

Var⁡[β^H]=σ2{(XTX)−1−(XTX)−1AT[A(XTX)−1AT]−1A(XTX)−1} \operatorname {Var}\left[\widehat{\beta }_{H}\right] = \sigma ^{2}\left\{ \left(\mathbf{X}^{T} \mathbf{X}\right)^{-1}-\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1} \mathbf{A}^{T}\left[\mathbf{A}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1} \mathbf{A}^{T}\right]^{-1} \mathbf{A}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1}\right\}

Hence deduce that

Var⁡[β^Hj]≤Var⁡[β^j] \operatorname {Var}\left[\widehat{\beta }_{H j}\right] \leq \operatorname {Var}\left[\widehat{\beta }_{j}\right]

where β^Hj\widehat{\beta }_{H j} and β^j\widehat{\beta }_{j} are the jj th elements of β^H\widehat{\mathbf{\beta }}_{H} and β^\widehat{\mathbf{\beta }}, respectively.

?
Problem 3g.4

Show that

∥Y−Y^H∥2−∥Y−Y^∥2=σ2λ^HT(Var⁡[λ^H])−1λ^H \left\| \mathbf{Y}-\widehat{\mathbf{Y}}_{H}\right\| ^{2}-\left\| \mathbf{Y}-\widehat{\mathbf{Y}}\right\| ^{2} = \sigma ^{2} \widehat{\mathbf{\lambda }}_{H}^{T}\left(\operatorname {Var}\left[\widehat{\mathbf{\lambda }}_{H}\right]\right)^{-1} \widehat{\lambda }_{H}
?
Problem 3g.5

If X\mathbf{X} is n×pn \times p of rank⁡p\operatorname {rank} p and B\mathbf{B} is p×qp \times q of rank⁡q\operatorname {rank} q, show that rank⁡(XB)=q\operatorname {rank}(\mathbf{X B}) = q.

?
Problem 3h.1

Suppose that X\mathbf{X} does not have full rank, and let β^i(i=1,2)\widehat{\mathbf{\beta }}_{i}(i = 1,2) be any two solutions of the normal equations. Show directly that

∥Y−Xβ^1∥2=∥Y−Xβ^2∥2 \left\| \mathbf{Y}-\mathbf{X} \widehat{\beta }_{1}\right\| ^{2} = \left\| \mathbf{Y}-\mathbf{X} \widehat{\beta }_{2}\right\| ^{2}
?
Problem 3h.2

If the columns of X\mathbf{X} are linearly dependent, prove that there is no matrix C\mathbf{C} such that CY\mathbf{C Y} is an unbiased estimate of β\mathbf{\beta }.

?
Problem 3i.1

Prove that aTE[β^]\mathbf{a}^{T} \mathbb {E}\left[\widehat{\mathbf{\beta }}\right] is an estimable function of β\mathbf{\beta }.

?
Problem 3i.2

If a1Tβ,a2Tβ,…,akTβ\mathbf{a}_{1}^{T} \beta , \mathbf{a}_{2}^{T} \beta , \ldots , \mathbf{a}_{k}^{T} \beta are estimable, prove that any linear combination of these is also estimable.

?
Problem 3i.3

If aTβ^\mathbf{a}^{T} \widehat{\mathbf{\beta }} is invariant with respect to β^\widehat{\mathbf{\beta }}, prove that aTβ\mathbf{a}^{T} \mathbf{\beta } is estimable.

?
Problem 3i.4

Prove that aTβ\mathbf{a}^{T} \mathbf{\beta } is estimable if and only if

aT(XTX)−XTX=aT \mathbf{a}^{T}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-} \mathbf{X}^{T} \mathbf{X} = \mathbf{a}^{T}
?
Remark.
?

Note that AA−A=A\mathbf{A} \mathbf{A}^{-} \mathbf{A} = \mathbf{A}.

Problem 3i.5

If aTβ\mathbf{a}^{T} \mathbf{\beta } is an estimable function, prove that

Var⁡[aTβ^]=σ2aT(XTX)−a \operatorname {Var}\left[\mathbf{a}^{T} \widehat{\mathbf{\beta }}\right] = \sigma ^{2} \mathbf{a}^{T}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-} \mathbf{a}
?
Problem 3i.6

Prove that all linear functions aTβ\mathbf{a}^{T} \mathbf{\beta } are estimable if and only if the columns of X\mathbf{X} are linearly independent.

?
Problem 3j.1

If P\mathbf{P} projects onto C(X)\mathcal{C}(\mathbf{X}), show that ZT(In−P)Z\mathbf{Z}^{T}\left(\mathbf{I}_{n}-\mathbf{P}\right) \mathbf{Z} is nonsingular.

?
Problem 3j.2

Prove that if X1\mathbf{X}_{1} is n×rn \times r of rank rr and consists of a set of rr linearly independent columns of X\mathbf{X}, then X=X1L\mathbf{X} = \mathbf{X}_{1} \mathbf{L}, where L\mathbf{L} is r×pr \times p of rank rr.

?
Problem 3j.3

Prove that B\mathbf{B} has full column rank.

?
Remark.
?

i.e., (BTB)−=(BTB)−1\left(\mathbf{B}^{T} \mathbf{B}\right)^{-} = \left(\mathbf{B}^{T} \mathbf{B}\right)^{-1}.

Problem 3j.4

If X\mathbf{X} has full rank and θ^ω=Xβ^H\widehat{\mathbf{\theta }}_{\omega } = \mathbf{X} \widehat{\mathbf{\beta }}_{H}, show that

β^H=β^−(XTX)−1AT(A(XTX)−1AT)−1Aβ^ \widehat{\mathbf{\beta }}_{H} = \widehat{\mathbf{\beta }}-\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1} \mathbf{A}^{T}\left(\mathbf{A}\left(\mathbf{X}^{T} \mathbf{X}\right)^{-1} \mathbf{A}^{T}\right)^{-1} \mathbf{A} \widehat{\mathbf{\beta }}
?
Remark.
?

This is a special case of (3.38).

Problem 3j.5

Show how to modify the theory above to take care of the case when the restrictions are Aβ=c(c≠0)\mathbf{A} \mathbf{\beta } = \mathrm{c}(\mathrm{c} \neq 0).

?
Problem 3k.1

Let Yi=βxi+εi(i=1,2)Y_{i} = \beta x_{i}+\varepsilon_{i}(i = 1,2), where ε1∼N(0,σ2),ε2∼N(0,2σ2)\varepsilon_{1} \sim N\left(0, \sigma^{2}\right), \varepsilon_{2} \sim N\left(0,2 \sigma^{2}\right), and ε1\varepsilon_{1} and ε2\varepsilon_{2} are statistically independent. If x1=+1x_{1} = +1 and x2=−1x_{2} = -1, obtain the weighted least squares estimate of β\beta and find the variance of your estimate.

?
Problem 3k.2

Let Yi(i=1,2,…,n)Y_{i}(i = 1,2, \ldots , n) be independent random variables with a common mean θ\theta and variances σ2/wi(i=1,2,…,n)\sigma^{2} / w_{i}(i = 1,2, \ldots , n). Find the linear unbiased estimate of θ\theta with minimum variance, and find this minimum variance.

?
Problem 3k.3

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be independent random variables, and let YiY_{i} have a N(iθ,i2σ2)N\left(i \theta , i^{2} \sigma^{2}\right) distribution for i=1,2,…,ni = 1,2, \ldots , n. Find the weighted least squares estimate of θ\theta and prove that its variance is σ2/n\sigma^{2} / n.

?
Problem 3k.4

Let Y1,Y2,…,YnY_{1}, Y_{2}, \ldots , Y_{n} be random variables with common mean θ\theta and with dispersion matrix σ2V\sigma^{2} \mathbf{V}, where vii=1(i=1,2,…,n)v_{i i} = 1(i = 1,2, \ldots , n) and vij=ρv_{i j} = \rho (0<ρ<1;i,j=1,2,…,n;i≠j0 < \rho < 1 ; i, j = 1,2, \ldots , n ; i \neq j). Find the generalized least squares estimate of θ\theta and show that it is the same as the ordinary least squares estimate. Hint: V−1\mathbf{V}^{-1} takes the same form as V\mathbf{V}.

?
Problem 3k.5

Let Y∼Nn(Xβ,σ2V)\mathbf{Y} \sim N_{n}\left(\mathbf{X} \beta , \sigma^{2} \mathbf{V}\right), where X\mathbf{X} is n×pn \times p of rank⁡p\operatorname {rank} p and V\mathbf{V} is a known positive-definite n×nn \times n matrix. If β∗\beta^{*} is the generalized least squares estimate of β\mathbf{\beta }, prove that

?
(a)

Q=(Y−Xβ∗)TV−1(Y−Xβ∗)/σ2∼χn−p2Q = \left(\mathbf{Y}-\mathbf{X} \mathbf{\beta }^{*}\right)^{T} \mathbf{V}^{-1}\left(\mathbf{Y}-\mathbf{X} \beta^{*}\right) / \sigma^{2} \sim \chi_{n-p}^{2}.

(b)

QQ is the quadratic nonnegative unbiased estimate of (n−p)σ2(n-p) \sigma^{2} with minimum variance.

(c)

If Y∗=Xβ∗=P∗Y\mathbf{Y}^{*} = \mathbf{X} \mathbf{\beta }^{*} = \mathbf{P}^{*} \mathbf{Y}, then P∗\mathbf{P}^{*} is idempotent but not, in general, symmetric.

Problem 3k.6

Suppose that E[Y]=θ,Aθ=0\mathbb {E}\left[\mathbf{Y}\right] = \mathbf{\theta }, \mathbf{A} \mathbf{\theta } = \mathbf{0}, and Var⁡[Y]=σ2V\operatorname {Var}\left[\mathbf{Y}\right] = \sigma^{2} \mathbf{V}, where A\mathbf{A} is a q×nq \times n matrix of rank⁡q\operatorname {rank} q and V\mathbf{V} is a known n×nn \times n positive-definite matrix. Let θ∗\mathbf{\theta }^{*} be the generalized least squares estimate of θ\mathbf{\theta }; that is, θ∗\mathbf{\theta }^{*} minimizes (Y−θ)TV−1(Y−θ)(\mathbf{Y}-\mathbf{\theta })^{T} \mathbf{V}^{-1}(\mathbf{Y}-\mathbf{\theta }) subject to Aθ=0\mathbf{A} \mathbf{\theta } = \mathbf{0}. Show that

Y−θ∗=VATγ∗ \mathrm{Y}-\mathbf{\theta }^{*} = \mathrm{VA}^{T} \mathbf{\gamma }^{*}

where γ~∗\tilde{\mathbf{\gamma }}^{*} is the generalized least squares estimate of γ\mathbf{\gamma } for the model E[Y]=VATγ,Var⁡[Y]=σ2V\mathbb {E}\left[\mathbf{Y}\right] = \mathbf{V A}^{T} \mathbf{\gamma }, \operatorname {Var}\left[\mathbf{Y}\right] = \sigma^{2} \mathbf{V}.

?
Problem 3l.1

If Y~i=Yi−Yˉ\tilde{Y}_{i} = Y_{i}-\bar{Y} and Y~=(Y~1,…,Y~n)T\tilde{\mathbf{Y}} = \left(\tilde{Y}_{1}, \ldots , \tilde{Y}_{n}\right)^{T}, prove from (3.54) that RSS =Y~T(In−P~)Y~= \tilde{\mathbf{Y}}^{T}\left(\mathbf{I}_{n}-\tilde{\mathbf{P}}\right) \tilde{\mathbf{Y}}.

?
Problem 3l.2

Suppose that we consider fitting a model in which the YY-data are centered and scaled as well as the xx-data. This means that we use Yi∗=(Yi−Yˉ)/syY_{i}^{*} = \left(Y_{i}-\bar{Y}\right) / s_{y} instead of YiY_{i}, where sy2=∑i(Yi−Yˉ)2s_{y}^{2} = \sum_{i}\left(Y_{i}-\bar{Y}\right)^{2}. Using (3.54), obtain an expression for RSS from this model.

?
Problem 3m.1

Derive equations (3.60) and (3.61).

?
Problem 3m.2

Using the noninformative prior for θ\theta, show that the conditional posterior density f(β∣y,σ)f(\beta \mid \mathbf{y}, \sigma ) is multivariate normal. Hence deduce that the posterior mean of β\mathbf{\beta } is β^\widehat{\mathbf{\beta }}.

?
Problem 3m.3

Suppose that we use the noninformative prior for θ\mathbf{\theta }.

?
(a)

If v=σ2v = \sigma^{2}, show that f(v)∝1/vf(v) \propto 1 / v.

(b)

Obtain an expression proportional to f(β,v∣y)f(\mathbf{\beta }, v \mid \mathbf{y}).

(c)

Using (3.62), integrate out β\beta to obtain

f(v∣y)∝v−(ν/2+1)exp⁡(−av) f(v \mid \mathbf{y}) \propto v^{-(\nu / 2+1)} \exp \left(-\frac{a}{v}\right)

where ν=n−p\nu = n-p and a=∥y−Xβ^∥2/2a = \left\| \mathbf{y}-\mathbf{X} \widehat{\mathbf{\beta }}\right\|^{2} / 2.

(d)

Find the posterior mean of vv.

Problem 3n.1

Let χ(z)=sign⁡(∣z∣−1/c)\chi (z) = \operatorname {sign}(\left|z\right|-1 / c) for some constant cc. Show that the solution of (3.77) is the MAD estimate

s=cmedian⁡i∣ei(b)∣ s = c \operatorname {median}_{i}\left|e_{i}(\mathbf{b})\right|
?
Problem 3n.2

Show that if we put wij=1w_{i j} = 1 in (3.99), we get Jaeckel's estimator defined by (3.97) with Wilcoxon weights.

?
Problem 3n.3

Show that if ss is the solution of (3.101) with ρ\rho given by (3.102), then the resulting ss is approximately the lower quartile of the (n2)\binom {n}{2} differences ∣ei(b)−ej(b)∣\left|e_{i}(\mathbf{b})-e_{j}(\mathbf{b})\right|.

?