21.04.2014 Views

1h6QSyH

1h6QSyH

1h6QSyH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

7.4 Regression Splines 271<br />

7.4 Regression Splines<br />

Now we discuss a flexible class of basis functions that extends upon the<br />

polynomial regression and piecewise constant regression approaches that<br />

we have just seen.<br />

7.4.1 Piecewise Polynomials<br />

Instead of fitting a high-degree polynomial over the entire range of X, piecewise<br />

polynomial regression involves fitting separate low-degree polynomials piecewise<br />

over different regions of X. For example, a piecewise cubic polynomial works<br />

by fitting a cubic regression model of the form<br />

y i = β 0 + β 1 x i + β 2 x 2 i + β 3 x 3 i + ɛ i , (7.8)<br />

where the coefficients β 0 , β 1 , β 2 ,andβ 3 differ in different parts of the range<br />

of X. The points where the coefficients change are called knots.<br />

For example, a piecewise cubic with no knots is just a standard cubic<br />

polynomial, as in (7.1) with d = 3. A piecewise cubic polynomial with a<br />

single knot at a point c takes the form<br />

{<br />

β 01 + β 11 x i + β 21 x 2 i<br />

y i =<br />

+ β 31x 3 i + ɛ i if x i

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

Saved successfully!

Ooh no, something went wrong!