The HPREG Procedure

PROC HPREG Statement

  • PROC HPREG <options>;

The PROC HPREG statement invokes the procedure. Table 1 summarizes the options in the PROC HPREG statement by function.

Table 1: PROC HPREG Statement Options

Option Description
Basic Options
DATA= Specifies the input data set
NAMELEN= Limits the length of effect names
Options Related to Output
NOPRINT Suppresses ODS output
NOCLPRINT Limits or suppresses the display of class levels
User-Defined Formats
FMTLIBXML= Specifies a file reference for a format stream
Other Options
ALPHA= Sets the significance level used for the construction of confidence intervals
SEED= Sets the seed used for pseudorandom number generation


Following are explanations of the options that you can specify in the PROC HPREG statement (in alphabetical order):

ALPHA=number

sets the significance level used for the construction of confidence intervals. The value must be between 0 and 1; the default value of 0.05 results in 95% intervals. This option affects the OUTPUT statement keywords LCL, LCLM, UCL, and UCLM, and the CLB option in the MODEL statement.

DATA=SAS-data-set

names the input SAS data set to be used by PROC HPREG. The default is the most recently created data set.

FMTLIBXML=file-ref

specifies the file reference for the XML stream that contains the user-defined format definitions. See the section Working with Formats for details about how to generate a XML stream for your formats.

NAMELEN=number

specifies the length to which long effect names are shortened. The default and minimum value is 20.

NOCLPRINT<=number>

suppresses the display of the "Class Level Information" table if you do not specify number. If you specify number, the values of the classification variables are displayed for only those variables whose number of levels is less than number. Specifying a number helps to reduce the size of the "Class Level Information" table if some classification variables have a large number of levels.

NOPRINT

suppresses the generation of ODS output.

SEED=number

specifies an integer used to start the pseudorandom number generator for random partitioning of data for training, testing, and validation. If you do not specify a seed, or if you specify a value less than or equal to 0, the seed is generated from reading the time of day from the computer’s clock.

Last updated: December 09, 2022