Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The REG Procedure

Overview

The REG procedure is one of many regression procedures in the SAS System. It is a general-purpose procedure for regression, while other SAS regression procedures provide more specialized applications. Other SAS/STAT procedures that perform at least one type of regression analysis are the CATMOD, GENMOD, GLM, LOGISTIC, MIXED, NLIN, ORTHOREG, PROBIT, RSREG, and TRANSREG procedures. SAS/ETS procedures are specialized for applications in time-series or simultaneous systems. These other SAS/STAT regression procedures are summarized in Chapter 3, "Introduction to Regression Procedures," which also contains an overview of regression techniques and defines many of the statistics computed by PROC REG and other regression procedures.

PROC REG provides the following capabilities:

Nine model-selection methods are available in PROC REG. In the simplest method, PROC REG fits the complete model that you specify. The other eight methods involve various ways of including or excluding variables from the model. You specify these methods with the SELECTION= option in the MODEL statement. The methods are identified in the following list and are explained in detail in the "Model-Selection Methods" section.

NONE
no model selection. This is the default. The complete model specified in the MODEL statement is fit to the data.



FORWARD
forward selection. This method starts with no variables in the model and adds variables.

BACKWARD
backward elimination. This method starts with all variables in the model and deletes variables.

STEPWISE
stepwise regression. This is similar to the FORWARD method except that variables already in the model do not necessarily stay there.

MAXR
forward selection to fit the best one-variable model, the best two-variable model, and so on. Variables are switched so that R2 is maximized.

MINR
similar to the MAXR method, except that variables are switched so that the increase in R2 from adding a variable to the model is minimized.

RSQUARE
finds a specified number of models with the highest R2 in a range of model sizes.

ADJRSQ
finds a specified number of models with the highest adjusted R2 in a range of model sizes.

CP
finds a specified number of models with the lowest Cp in a range of model sizes.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.