14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 4 Performing Bivariate <strong>Analysis</strong> 107<br />

Fit Spline<br />

Figure 4.14 Example of Fit Special Flowchart<br />

Transformation?<br />

Yes<br />

No<br />

Transformed<br />

Fit Report<br />

<strong>and</strong> menu<br />

Degree?<br />

1 2-5<br />

Linear Fit<br />

Report <strong>and</strong><br />

menu<br />

Polynomial<br />

Fit Report<br />

<strong>and</strong> menu<br />

Transformed Fit Report<br />

The Transformed Fit report contains the reports described in “Linear Fit <strong>and</strong> Polynomial Fit Reports” on<br />

page 99.<br />

However, if you transformed Y, the Fit Measured on Original Scale report appears. This shows the measures<br />

of fit based on the original Y variables, <strong>and</strong> the fitted model transformed back to the original scale.<br />

Related Information<br />

• “Example of the Fit Special Comm<strong>and</strong>” on page 118<br />

• “Linear Fit <strong>and</strong> Polynomial Fit Reports” on page 99<br />

• “Fitting Menus” on page 115<br />

Fit Spline<br />

Using the Fit Spline comm<strong>and</strong>, you can fit a smoothing spline that varies in smoothness (or flexibility)<br />

according to the lambda (λ) value. The lambda value is a tuning parameter in the spline formula. As the<br />

value of λ decreases, the error term of the spline model has more weight <strong>and</strong> the fit becomes more flexible<br />

<strong>and</strong> curved. As the value of λ increases, the fit becomes stiff (less curved), approaching a straight line.<br />

Note the following information:<br />

• The smoothing spline can help you see the expected value of the distribution of Y across X.<br />

• The points closest to each piece of the fitted curve have the most influence on it. The influence increases<br />

as you lower the value of λ, producing a highly flexible curve.

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

Saved successfully!

Ooh no, something went wrong!