04.01.2013 Views

Springer - Read

Springer - Read

Springer - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

384 Appendix B Statistical Complements<br />

ˆθ (ˆθ0, ˆθ1) ′ satisfies the “normal equations”<br />

X ′ X ˆθ X ′ y,<br />

where X is the n×2 matrix X [1, x]. Since 0 ≤ S(θ) and S(θ) →∞as θ →∞,<br />

the normal equations have at least one solution. If ˆθ (1) and ˆθ (2) are two solutions of<br />

the normal equations, then a simple calculation shows that<br />

<br />

ˆθ (1) − ˆθ (2)<br />

′<br />

X ′ <br />

X ˆθ (1) − ˆθ (2)<br />

<br />

0,<br />

i.e., that X ˆθ (1) X ˆθ (2) . The solution of the normal equations is unique if and only if<br />

the matrix X ′ X is nonsingular. But the preceding calculations show that even if X ′ X<br />

is singular, the vector ˆy X ˆθ of fitted values is the same for any solution ˆθ of the<br />

normal equations.<br />

The argument just given applies equally well to least squares estimation for the<br />

general linear model. Given a set of data points<br />

(xi1,xi2,...,xim,yi), i 1,...,nwith m ≤ n,<br />

the least squares estimate, ˆθ ′ ˆθ1,...,ˆθm of θ (θ1,...,θm) ′ minimizes<br />

S(θ) <br />

n<br />

(yi − θ1xi1 −···−θmxim) 2 y − θ1x (1) −···−θmx (m) 2 ,<br />

i1<br />

where y (y1,...,yn) ′ and x (j) (x1j,...,xnj ) ′ , j 1,...,m. As in the previous<br />

special case, ˆθ satisfies the equations<br />

X ′ X ˆθ X ′ y,<br />

where X is the n × m matrix X x (1) ,...,x (m) . The solution of this equation is<br />

unique if and only if X ′ X nonsingular, in which case<br />

ˆθ (X ′ X) −1 X ′ y.<br />

If X ′ X is singular, there are infinitely many solutions ˆθ, but the vector of fitted values<br />

X ˆθ is the same for all of them.<br />

Example B.1.1 To illustrate the general case, let us fit a quadratic function<br />

to the data<br />

y θ0 + θ1x + θ2x 2<br />

x 0 1 2 3 4<br />

y 1 0 3 5 8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!