Model Fitting: Linear Regression |
In this example you fit a linear regression model to predict the 1987 salaries of Major League Baseball players as a function of several explanatory variables in the Baseball data set. The response variable is salary. The example examines three explanatory variables: two measures of hitting performance and one measure of longevity. The explanatory variables are described in the following list:
The example has four major steps:
Open the Baseball data set. |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.