Model Fitting: Linear Regression

Model Fitting: Linear Regression



The Linear Regression analysis fits a linear regression model by using ordinary least squares. You can write the multiple linear regression equation for a model with p explanatory variables as

y = b_0 + b_1 x_1 + b_2 x_2 + ... + b_p x_p
where y is the response variable, the x_i's are explanatory variables, and the b_i's are regression coefficients.

You can run a Linear Regression analysis by selecting Analysis \blacktriangleright\,Model Fitting \blacktriangleright\,Linear Regression from the main menu. The computation of the regression function, confidence limits, and related statistics is implemented by calling the REG procedure in SAS/STAT. See the documentation for the REG procedure in the SAS/STAT User's Guide for additional details.


Example

Specifying the Linear Regression Analysis

Analysis of Selected Variables

References

Previous Page | Next Page | Top of Page