In a linear regression model, the mean of a response variable is a function of parameters and covariates in a statistical model. The many forms of regression models have their origin in the characteristics of the response variable (discrete or continuous, normally or nonnormally distributed), assumptions about the form of the model (linear, nonlinear, or generalized linear), assumptions about the data-generating mechanism (survey, observational, or experimental data), and estimation principles. Some models contain classification (or CLASS) variables that enter the model not through their values but through their levels. For an introduction to linear regression models, see Chapter 3: Introduction to Statistical Modeling with SAS/STAT Software. For information that is common to many of the regression procedures, see Chapter 19: Shared Concepts and Topics. The following procedures, listed in alphabetical order, perform at least one type of regression analysis.
fits multivariate adaptive regression spline models. This is a nonparametric regression technique that combines both regression splines and model selection methods. PROC ADAPTIVEREG produces parsimonious models that do not overfit the data and thus have good predictive power. PROC ADAPTIVEREG supports CLASS variables. For more information, see Chapter 25: The ADAPTIVEREG Procedure.
analyzes data that can be represented by a contingency table. PROC CATMOD fits linear models to functions of response frequencies, and it can be used for linear and logistic regression. PROC CATMOD supports CLASS variables. For more information, see Chapter 8: Introduction to Categorical Data Analysis Procedures, and Chapter 32: The CATMOD Procedure.
fits generalized additive models. Generalized additive models are nonparametric in that the usual assumption of linear predictors is relaxed. Generalized additive models consist of additive, smooth functions of the regression variables. PROC GAM can fit additive models to nonnormal data. PROC GAM supports CLASS variables. For more information, see Chapter 41: The GAM Procedure.
fits generalized linear models. PROC GENMOD is especially suited for responses that have discrete outcomes, and it performs logistic regression and Poisson regression in addition to fitting generalized estimating equations for repeated measures data. PROC GENMOD supports CLASS variables and provides Bayesian analysis capabilities. For more information, see Chapter 8: Introduction to Categorical Data Analysis Procedures, and Chapter 43: The GENMOD Procedure.
uses likelihood-based methods to fit generalized linear mixed models. PROC GLIMMIX can perform simple, multiple, polynomial, and weighted regression, in addition to many other analyses. PROC GLIMMIX can fit linear mixed models, which have random effects, and models that do not have random effects. PROC GLIMMIX supports CLASS variables. For more information, see Chapter 44: The GLIMMIX Procedure.
uses the method of least squares to fit general linear models. PROC GLM can perform simple, multiple, polynomial, and weighted regression in addition to many other analyses. PROC GLM has many of the same input/output capabilities as PROC REG, but it does not provide as many diagnostic tools or allow interactive changes in the model or data. PROC GLM supports CLASS variables. For more information, see Chapter 5: Introduction to Analysis of Variance Procedures, and Chapter 45: The GLM Procedure.
performs variable selection in the framework of general linear models. PROC GLMSELECT supports CLASS variables (like PROC GLM) and model selection (like PROC REG). A variety of model selection methods are available, including forward, backward, stepwise, LASSO, and least angle regression. PROC GLMSELECT provides a variety of selection and stopping criteria. For more information, see Chapter 48: The GLMSELECT Procedure.
fits parametric models to failure-time data that might be right-censored. These types of models are commonly used in survival analysis. PROC LIFEREG supports CLASS variables and provides Bayesian analysis capabilities. For more information, see Chapter 13: Introduction to Survival Analysis Procedures, and Chapter 57: The LIFEREG Procedure.
uses a local regression method to fit nonparametric models. PROC LOESS is suitable for modeling regression surfaces in which the underlying parametric form is unknown and for which robustness in the presence of outliers is required. For more information, see Chapter 59: The LOESS Procedure.
fits logistic models for binomial and ordinal outcomes. PROC LOGISTIC provides a wide variety of model selection methods and computes numerous regression diagnostics. PROC LOGISTIC supports CLASS variables. For more information, see Chapter 8: Introduction to Categorical Data Analysis Procedures, and Chapter 60: The LOGISTIC Procedure.
uses likelihood-based techniques to fit linear mixed models. PROC MIXED can perform simple, multiple, polynomial, and weighted regression, in addition to many other analyses. PROC MIXED can fit linear mixed models, which have random effects, and models that do not have random effects. PROC MIXED supports CLASS variables. For more information, see Chapter 65: The MIXED Procedure.
uses the method of nonlinear least squares to fit general nonlinear regression models. Several different iterative methods are available. For more information, see Chapter 69: The NLIN Procedure.
uses the method of maximum likelihood to fit general nonlinear mixed regression models. PROC NLMIXED enables you to specify a custom objective function for parameter estimation and to fit models with or without random effects. For more information, see Chapter 70: The NLMIXED Procedure.
uses the Gentleman-Givens computational method to perform regression. For ill-conditioned data, PROC ORTHOREG can produce more-accurate parameter estimates than procedures such as PROC GLM and PROC REG. PROC ORTHOREG supports CLASS variables. For more information, see Chapter 72: The ORTHOREG Procedure.
fits Cox proportional hazards regression models to survival data. PROC PHREG supports CLASS variables and provides Bayesian analysis capabilities. For more information, see Chapter 13: Introduction to Survival Analysis Procedures, and Chapter 73: The PHREG Procedure.
performs partial least squares regression, principal component regression, and reduced rank regression, along with cross validation for the number of components. PROC PLS supports CLASS variables. For more information, see Chapter 76: The PLS Procedure.
performs probit regression in addition to logistic regression and ordinal logistic regression. PROC PROBIT is useful when the dependent variable is either dichotomous or polychotomous and the independent variables are continuous. PROC PROBIT supports CLASS variables. For more information, see Chapter 81: The PROBIT Procedure.
uses quantile regression to model the effects of covariates on the conditional quantiles of a response variable. PROC QUANTREG supports CLASS variables. For more information, see Chapter 83: The QUANTREG Procedure.
provides variable selection for quantile regression models. Selection methods include forward, backward, stepwise, and LASSO. The procedure provides a variety of selection and stopping criteria. PROC QUANTSELECT supports CLASS variables. For more information, see Chapter 84: The QUANTSELECT Procedure.
performs linear regression with many diagnostic capabilities. PROC REG produces fit, residual, and diagnostic plots; heat maps; and many other types of graphs. PROC REG enables you to select models by using any one of nine methods, and you can interactively change both the regression model and the data that are used to fit the model. For more information, see Chapter 85: The REG Procedure.
uses Huber M estimation and high breakdown value estimation to perform robust regression. PROC ROBUSTREG is suitable for detecting outliers and providing resistant (stable) results in the presence of outliers. PROC ROBUSTREG supports CLASS variables. For more information, see Chapter 86: The ROBUSTREG Procedure.
builds quadratic response-surface regression models. PROC RSREG analyzes the fitted response surface to determine the factor levels of optimum response and performs a ridge analysis to search for the region of optimum response. For more information, see Chapter 87: The RSREG Procedure.
uses the method of maximum likelihood to fit logistic models for binary and ordinal outcomes to survey data. PROC SURVEYLOGISTIC supports CLASS variables. For more information, see Chapter 14: Introduction to Survey Sampling and Analysis Procedures, and Chapter 98: The SURVEYLOGISTIC Procedure.
fits proportional hazards models for survey data by maximizing a partial pseudo-likelihood function that incorporates the sampling weights. The SURVEYPHREG procedure provides design-based variance estimates, confidence intervals, and tests for the estimated proportional hazards regression coefficients. PROC SURVEYPHREG supports CLASS variables. For more information, see Chapter 14: Introduction to Survey Sampling and Analysis Procedures, Chapter 13: Introduction to Survival Analysis Procedures, and Chapter 100: The SURVEYPHREG Procedure.
uses elementwise regression to fit linear regression models to survey data by generalized least squares. PROC SURVEYREG supports CLASS variables. For more information, see Chapter 14: Introduction to Survey Sampling and Analysis Procedures, and Chapter 101: The SURVEYREG Procedure.
uses penalized least squares to fit nonparametric regression models. PROC TPSPLINE makes no assumptions of a parametric form for the model. For more information, see Chapter 103: The TPSPLINE Procedure.
fits univariate and multivariate linear models, optionally with spline, Box-Cox, and other nonlinear transformations. Models include regression and ANOVA, conjoint analysis, preference mapping, redundancy analysis, canonical correlation, and penalized B-spline regression. PROC TRANSREG supports CLASS variables. For more information, see Chapter 104: The TRANSREG Procedure.
Several SAS/ETS procedures also perform regression. The following procedures are documented in the SAS/ETS User's Guide:
uses autoregressive moving-average errors to perform multiple regression analysis. For more information, see Chapter 7: The ARIMA Procedure in SAS/ETS 13.2 User's Guide.
implements regression models that use time series data in which the errors are autocorrelated. For more information, see Chapter 8: The AUTOREG Procedure in SAS/ETS 13.2 User's Guide.
analyzes regression models in which the dependent variable takes nonnegative integer or count values. For more information, see Chapter 11: The COUNTREG Procedure in SAS/ETS 13.2 User's Guide.
fits conditional logit, mixed logit, heteroscedastic extreme value, nested logit, and multinomial probit models to discrete choice data. For more information, see Chapter 18: The MDC Procedure in SAS/ETS 13.2 User's Guide.
handles nonlinear simultaneous systems of equations, such as econometric models. For more information, see Chapter 19: The MODEL Procedure in SAS/ETS 13.2 User's Guide.
analyzes a class of linear econometric models that commonly arise when time series and cross-sectional data are combined. For more information, see Chapter 20: The PANEL Procedure in SAS/ETS 13.2 User's Guide.
fits polynomial distributed lag regression models. For more information, see Chapter 21: The PDLREG Procedure in SAS/ETS 13.2 User's Guide.
analyzes limited dependent variable models in which dependent variables take discrete values or are observed only in a limited range of values. For more information, see Chapter 22: The QLIM Procedure in SAS/ETS 13.2 User's Guide.
handles linear simultaneous systems of equations, such as econometric models. For more information, see Chapter 29: The SYSLIN Procedure in SAS/ETS 13.2 User's Guide.
performs multiple regression analysis for multivariate time series dependent variables by using current and past vectors of dependent and independent variables as predictors, with vector autoregressive moving-average errors, and with modeling of time-varying heteroscedasticity. For more information, see Chapter 35: The VARMAX Procedure in SAS/ETS 13.2 User's Guide.