2 Best SAS/STAT Model Selection Procedures

1. Statistical Model Selection

We saw SAS/STAT Longitudinal Data Analysis Procedures. In this SAS/STAT tutorial, we will discuss SAS/STAT model selection. Moreover, we will look at how the model selection is used in SAS/STAT. Our focus here will be to understand different procedures that can be used for Statistical model selection. At last, we will see Model selection examples to get better knowledge.
So, let’s start with SAS/STAT Model Selection.

SAS/STAT Model Selection

2 Best SAS/STAT Model Selection Procedures – Statistical Model Selection

2. SAS/STAT Model Selection

With improvements in data collection techniques, regression problems that have large numbers of candidates, predictor variables occur in a wide variety of scientific fields and business problems. Through SAS/STAT model selection, we come to know which variables we must choose.
SAS/STAT Model selection is a process of choosing the approximate best model by estimating the performance of various models. The goal of model selection is to produce simple and interpretable models as well as accurate predictions.
Let’s Discuss Features of SAS/STAT in detail

3. Model Selection Procedures in SAS/STAT

Following procedures are used to perform SAS/STAT model selection of a sample data. Each procedure has a different syntax and is used with different type of data in different contexts. Let us explore each one of these.

a. PROC GLMSELECT

The PROC GLMSELECT procedure in SAS/STAT is a comprehensive tool for model selection and it performs effect selection in the framework of general linear models. The procedure offers options for customizing the selection with a wide variety of selection and stopping criteria. The procedure also provides graphical summaries of the selected search. The GLMSELECT procedure is very similar to REG and GLM.
 PROC GLMSELECT Syntax-

PROC GLMSELECT  DATASET ;
CLASS <variable>;
MODEL response= effects <options>;

PROC GLMSELECT MODEL statements are required. All other statements are optional.
PROC GLMSELECT Example-

ods graphics on;
proc glmselect data=sashelp.class plots=all;
   class name sex;
   model age = height weight / details=all stats=all;
run;

 The PLOTS=option produces all the plots available, the same is with details= and stats=option. All details and statistics are presented.
Read about 7 Simple SAS/STAT Cluster Analysis Procedures
If we want any specific details or plots we must specify it after the = sign.

SAS/STAT Model Selection

SAS/STAT Model Selection – PROC GLMSELECT

SAS/STAT Model Selection

Statistical Model Selection – PROC GLMSELECT

SAS/STAT Model Selection

Model Selection in  SAS/STAT – PROC GLMSELECT

SAS/STAT Model Selection

SAS Model Selection – PROC GLMSELECT

SAS/STAT Model Selection

Statistical Model Selection – PROC GLMSELECT

SAS/STAT Model Selection

Model Selection in Statistical – PROC GLMSELECT

SAS/STAT Model Selection

SAS/STAT Model Selection – PROC GLMSELECT

SAS/STAT Model Selection

Model Selection in STAT – PROC GLMSELECT

SAS/STAT Model Selection

SAS/STAT Model Selection – PROC GLMSELECT

Let’s Explore Advantages & Disadvantages of SAS/STAT

b. PROC QUANTSELECT

The PROC QUANTSELECT procedure in SAS/STAT performs effect selection in the framework of quantile regression. The QUANTSELECT procedure offers extensive capabilities for customizing the effect selection process with a variety of candidate selection, effect-selection stopping, and final-model choosing criteria. PROC QUANTSELECT also provides graphical summaries for the effect selection processes. It compares most closely to the GLMSELECT. The QUANTSELECT procedure focuses on linear quantile models for univariate responses and offers great flexibility.
 PROC QUANTSELECT Syntax-

PROC QUANTSELECT dataset <OPTIONS>;
CLASS <VARIABLES>;
MODEL response= effects <options>;

The PROC QUANTSELECT and MODEL statements are required. All other statements can appear only once.
 PROC QUANTSELECT Example-

ODS GRAPHICS ON;
proc quantselect data=sashelp.CLASS;
   class NAME;
   model AGE=NAME / QUANTILES=0.4 selection=lasso(adaptive stop=aic choose=sbc sh=5);
run;
SAS/STAT Model Selection

SAS/STAT Model Selection

The SELECTION=LASSO(ADAPTIVE) option in the MODEL statement specifies the adaptive LASSO method which controls the effect selection process. The STOP=AIC option specifies that Akaike’s information criterion (AIC) be used to determine the stopping condition. The CHOOSE=SBC option specifies that the Schwarz Bayesian information criterion (SBC) be used to determine the final selected model. The SH=option specifies the number of stop horizons.
Read about 6 SAS/STAT Bayesian Analysis Procedures 

SAS/STAT Model Selection

SAS/STAT Model Selection – PROC QUANTSELECT

SAS/STAT Model Selection

Model Selection in SAS/STAT – PROC QUANTSELECT

SAS/STAT Model Selection

Statistical Model Selection – PROC QUANTSELECT

This was all about Statistical Model Selection Tutorial. Hope you like our explanation.

4. Conclusion

Hence, in this tutorial, we get to know what is Model selection in SAS/STAT. In addition, we discussed different procedures offered by SAS/STAT model selection. We looked upon PROC QUANTSELECT & PROC GLMSELECT with syntax and example and how they can be used in Model Selection. Hope you all enjoyed it. Stay tuned for more interesting topics in SAS/STAT, and for any doubts post it in the comments section below.

Related Topic- SAS/STAT Group Sequential Design and Analysis 

For reference

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.