12.07.2015 Views

Flexible modelling using basis expansions (Chapter 5) Linear ...

Flexible modelling using basis expansions (Chapter 5) Linear ...

Flexible modelling using basis expansions (Chapter 5) Linear ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Regression splines◮ Polynomial fits: h j (x) = x j , j = 0, . . . , m◮ Fit <strong>using</strong> linear regression with design matrix X, whereX ij = h j (x i )◮ Justification is that any ’smooth’ function can beapproximated by a polynomial expansion (Taylor series)◮ Can be difficult to fit numerically, as correlation betweencolumns can be large◮ May be useful locally, but less likely to work over the rangeof X◮ (rafal.pdf) f (x) = x 2 sin(2x), ɛ ∼ N(0, 2), n = 200◮ It turns out to be easier to find a good set of <strong>basis</strong> functionsif we only consider small segments in the X-space (localfits)◮ Need to be careful not to overfit, since we are <strong>using</strong> only afraction of the data: , 2

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

Saved successfully!

Ooh no, something went wrong!