14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

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.

46 Introduction to the Fit Model Platform Chapter 2<br />

Construct Model Effects<br />

Table 2.4 Descriptions of the Attributes Options (Continued)<br />

Excluded Effect<br />

Knotted Spline Effect<br />

Use the Excluded Effect attribute when you want to estimate least squares<br />

means of an interaction, or include it in lack of fit calculations, but do not<br />

want it in the model.<br />

Assigns the Knotted attribute to an effect. Choose the number of knots.<br />

When you run the model, JMP fits a segmentation of smooth polynomials<br />

to the specified effect. When you select this attribute, a dialog box appears<br />

where you can specify the number of knot points.<br />

Note: Knotted splines are implemented only for main-effect continuous<br />

terms.<br />

See “Knotted Spline Effect” on page 46.<br />

Knotted Spline Effect<br />

Note: Knotted splines are implemented only for main-effect continuous terms.<br />

Use the Knotted Spline Effect option to have JMP fit a segmentation of smooth polynomials to the<br />

specified effect. When you select this attribute, a window appears, enabling you to specify the number of<br />

knot points.<br />

JMP follows the advice in the literature in positioning the points. The knotted spline is also referred to as a<br />

Stone spline or a Stone-Koo spline. See Stone <strong>and</strong> Koo (1986). If there are 100 or fewer points, the first <strong>and</strong><br />

last knot is the fifth point inside the minimum <strong>and</strong> maximum, respectively. Otherwise, the first <strong>and</strong> last<br />

knot is placed at the 0.05 <strong>and</strong> 0.95 quantile if there are 5 or fewer knots, or the 0.025 <strong>and</strong> 0.975 quantile for<br />

more than 5 knots. The default number of knots is 5 unless there are less than or equal to 30 points. In that<br />

case, the default is 3 knots.<br />

Knotted splines have the following properties in contrast to smoothing splines:<br />

• Knotted splines work inside of general models with many terms, where smoothing splines are for<br />

bivariate regressions.<br />

• The regression basis is not a function of the response.<br />

• Knotted splines are parsimonious, adding only k – 2 terms for curvature for k knot points.<br />

• Knotted splines are conservative compared to pure polynomials in the sense that the extrapolation<br />

outside the range of the data is a straight line, rather than a (curvy) polynomial.<br />

• There is an easy test for curvature.<br />

Example Using the Knotted Spline Effect to Test for Curvature<br />

To test for curvature, follow these steps:<br />

1. Open the Growth.jmp sample data table.<br />

2. Select Analyze > Fit Model.

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

Saved successfully!

Ooh no, something went wrong!