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> 97<br />

Fitting Comm<strong>and</strong>s <strong>and</strong> General Options<br />

Table 4.2 Descriptions of the Fitting Comm<strong>and</strong>s (Continued)<br />

Fit Orthogonal<br />

Density Ellipse<br />

Nonpar Density<br />

Fits lines that adjust for variability in X as well as<br />

Y.<br />

Draws an ellipse that contains a specified mass of<br />

points.<br />

Shows patterns in the point density, which is<br />

useful when the scatterplot is so darkened by<br />

points that it is difficult to distinguish patterns.<br />

See “Fit Orthogonal” on<br />

page 110.<br />

See “Density Ellipse” on<br />

page 111.<br />

See “Nonpar Density” on<br />

page 113.<br />

Note: You can remove a fit using the Remove Fit comm<strong>and</strong>. For details, see “Fitting Menu Options” on<br />

page 115.<br />

Fitting Comm<strong>and</strong> Categories<br />

Fitting comm<strong>and</strong> categories include regression fits <strong>and</strong> density estimation.<br />

Category Description Fitting Comm<strong>and</strong>s<br />

Regression Fits<br />

Density Estimation<br />

Regression methods fit a curve through the points. The<br />

curve is an equation (a model) that is estimated using least<br />

squares, which minimizes the sum of squared differences<br />

from each point to the line (or curve). Regression fits<br />

assume that the Y variable is distributed as a r<strong>and</strong>om<br />

scatter above <strong>and</strong> below a line of fit.<br />

Density estimation fits a bivariate distribution to the<br />

points. You can either select a bivariate normal density,<br />

characterized by elliptical contours, or a general<br />

nonparametric density.<br />

Fit Mean<br />

Fit Line<br />

Fit Polynomial<br />

Fit Special<br />

Fit Spline<br />

Fit Each Value<br />

Fit Orthogonal<br />

Fit Density Ellipse<br />

Nonpar Density<br />

Fit the Same Comm<strong>and</strong> Multiple Times<br />

You can select the same fitting comm<strong>and</strong> multiple times, <strong>and</strong> each new fit is overlaid on the scatterplot. You<br />

can try fits, exclude points <strong>and</strong> refit, <strong>and</strong> you can compare them on the same scatterplot.<br />

To apply a fitting comm<strong>and</strong> to multiple analyses in your report window, hold down the CTRL key <strong>and</strong><br />

select a fitting option.

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

Saved successfully!

Ooh no, something went wrong!