![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
Contents: | Purpose / History / Requirements / Usage / Details / Limitations |
Standard model selection is done by choosing candidate effects for entry to or removal from the model according to their significance levels. After completion, the set of models selected at each step of this process is sorted on the selected criterion - AUC, R-square, max-rescaled R-square, AIC, or BIC. The requested number of best models on the selected criterion is displayed.
Version | Update Notes |
1.0 | Initial coding |
%inc "<location of your file containing the SELECT macro>";
Following this statement, you can call the SELECT macro. See the Results tab for examples.
The following parameters are required when using the SELECT macro:
The following parameters are optional:
The version of the SELECT macro that you are using is displayed when you specify version (or any string) as the first argument. For example:
%SELECT(version, response=y, model=x1-x10)
Note that since the SELECT macro uses PROC LOGISTIC to fit models, differences from PROC HPLOGISTIC can occur due to differences in defaults. For example, PROC HPLOGISTIC does not require model hierarchy by default and uses a Newton-Raphson algorithm rather than the Fisher scoring method. Using the HIERARCHY=NONE and TECHNIQUE=NEWTON options in the MODEL statement of PROC LOGISTIC removes these differences.
Macro updates:
The SELECT macro attempts to check for a later version of itself. If it is unable to do this (such as if there is no active Internet connection available), the macro issues the following message:
SELECT: Unable to check for newer version
The computations performed by the macro are not affected by the appearance of this message.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.