The ORTHOREG Procedure

PROC ORTHOREG Statement

  • PROC ORTHOREG <options>;

The PROC ORTHOREG statement invokes the ORTHOREG procedure. Table 1 summarizes the options available in the PROC ORTHOREG statement.

Table 1: PROC ORTHOREG Statement Options

Option Description
DATA= Specifies the input SAS data set
NAMELEN= Specifies the maximum length of effect names
NOPRINT Suppresses the normal display of results
ORDER= Specifies the order in which to sort class levels
OUTEST= Produces an output data set
SINGULAR= Specifies the singularity criterion


The PROC ORTHOREG statement has the following options:

DATA=SAS-data-set

specifies the input SAS data set to use. By default, the procedure uses the most recently created SAS data set. The specified data set cannot be a TYPE=CORR, TYPE=COV, or TYPE=SSCP data set.

NAMELEN=number

specifies the maximum length of effect names in tables and output data sets to be number characters, where number is a value between 20 and 2,000. By default, NAMELEN=20.

NOPRINT

suppresses the normal display of results. This option temporarily disables the Output Delivery System (ODS); for more information, see Chapter 23, Using the Output Delivery System.

ORDER=DATA | FORMATTED | FREQ | INTERNAL

specifies the sort order for the levels of the classification variables (which are specified in the CLASS statement).

This ordering determines which parameters in the model correspond to each level in the data, so the ORDER= option may be useful when you use ESTIMATE statement. This option applies to the levels for all classification variables, except when you use the (default) ORDER=FORMATTED option with numeric classification variables that have no explicit format. In that case, the levels of such variables are ordered by their internal value.

The ORDER= option can take the following values:

Value of ORDER= Levels Sorted By
DATA Order of appearance in the input data set
FORMATTED External formatted value, except for numeric variables with no explicit format, which are sorted by their unformatted (internal) value
FREQ Descending frequency count; levels with the most observations come first in the order
INTERNAL Unformatted value

By default, ORDER=FORMATTED. For ORDER=FORMATTED and ORDER=INTERNAL, the sort order is machine-dependent.

For more information about sort order, see the chapter on the SORT procedure in the Base SAS Procedures Guide and the discussion of BY-group processing in the "Grouping Data" section of SAS Programmers Guide: Essentials.

OUTEST=SAS-data-set

produces an output data set that contains the parameter estimates, the BY variables, and the special variables _TYPE_ (value "PARMS"), _NAME_ (blank), and _RMSE_ (root mean squared error).

SINGULAR=s

specifies a singularity criterion left-parenthesis s greater-than-or-equal-to 0 right-parenthesis for the inversion of the triangular matrix bold upper R. By default, SINGULAR=1E–12.

Last updated: December 09, 2022