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.

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

Kernel Smoother<br />

• If you want to use a lambda value that is not listed on the menu, select Fit Spline > Other. If the scaling<br />

of the X variable changes, the fitted model also changes. To prevent this from happening, select the<br />

St<strong>and</strong>ardize X option. This option guarantees that the fitted model remains the same for either the<br />

original x variable or the scaled X variable.<br />

• You might find it helpful to try several λ values. You can use the Lambda slider beneath the Smoothing<br />

Spline report to experiment with different λ values. However, λ is not invariant to the scaling of the<br />

data. For example, the λ value for an X measured in inches, is not the same as the λ value for an X<br />

measured in centimeters.<br />

Smoothing Spline Fit Report<br />

The Smoothing Spline Fit report contains the R-Square for the spline fit <strong>and</strong> the Sum of Squares Error.<br />

You can use these values to compare the spline fit to other fits, or to compare different spline fits to each<br />

other.<br />

Table 4.9 Description of the Smoothing Spline Fit Report<br />

R-Square<br />

Sum of Squares Error<br />

Change Lambda<br />

Measures the proportion of variation accounted for by the smoothing spline<br />

model. For more information, see “Statistical Details for the Smoothing Fit<br />

Reports” on page 126.<br />

Sum of squared distances from each point to the fitted spline. It is the<br />

unexplained error (residual) after fitting the spline model.<br />

Enables you to change the λ value, either by entering a number, or by moving<br />

the slider.<br />

Related Information<br />

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

• “Statistical Details for Fit Spline” on page 124<br />

Kernel Smoother<br />

The Kernel Smoother comm<strong>and</strong> produces a curve formed by repeatedly finding a locally weighted fit of a<br />

simple curve (a line or a quadratic) at sampled points in the domain. The many local fits (128 in total) are<br />

combined to produce the smooth curve over the entire domain. This method is also called Loess or Lowess,<br />

which was originally an acronym for Locally Weighted Scatterplot Smoother. See Clevel<strong>and</strong> (1979).<br />

Use this method to quickly see the relationship between variables <strong>and</strong> to help you determine the type of<br />

analysis or fit to perform.

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

Saved successfully!

Ooh no, something went wrong!