14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - 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.

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

Fit Line <strong>and</strong> Fit Polynomial<br />

Fit Line <strong>and</strong> Fit Polynomial<br />

Using the Fit Line comm<strong>and</strong>, you can add straight line fits to your scatterplot using least squares regression.<br />

Using the Fit Polynomial comm<strong>and</strong>, you can fit polynomial curves of a certain degree using least squares<br />

regression.<br />

Figure 4.8 Example of Fit Line <strong>and</strong> Fit Polynomial<br />

Figure 4.8 shows an example that compares a linear fit to the mean line <strong>and</strong> to a degree 2 polynomial fit.<br />

Note the following information:<br />

• The Fit Line output is equivalent to a polynomial fit of degree 1.<br />

• The Fit Mean output is equivalent to a polynomial fit of degree 0.<br />

Linear Fit <strong>and</strong> Polynomial Fit Reports<br />

The Linear Fit <strong>and</strong> Polynomial Fit reports begin with the equation of fit.

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

Saved successfully!

Ooh no, something went wrong!