SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 37273: Procedures allowing different parameterizations of CLASS predictor variables

DetailsAboutRate It

A parameterization of a CLASS variable is the representation of the variable by a set of coded variables (sometimes called indicator or dummy variables). The most common parameterization is that used in PROC GLM in which a CLASS variable with k levels is represented in the design matrix by a set of k 0,1-coded dummy variables. This is known as GLM parameterization. Other parameterizations code the variables differently and, in the context of a fitted model, result in equivalent models (same fit statistics) with different interpretations of the parameters. In most procedures, a variable is declared a CLASS variable by specifying it in the CLASS statement. However, CLASS variables are declared differently in some procedures or are the default. For details on the different parameterizations of CLASS variables, see "Parameterization of Model Effects" in the Shared Concepts and Topics chapter of the SAS/STAT® Users Guide. For more information about each procedure's CLASS parameterization, see the procedure's documentation.

Note that many procedures such as GLM, MIXED, GLIMMIX, LIFEREG and others do not allow different parameterizations of CLASS variables. These procedures offer only the GLM parameterization. Some of these procedures only use the last level (when the levels are sorted) of a CLASS variable as the reference level. Beginning in SAS® 9.3 TS1M2, the GLM, MIXED, GLIMMIX, PROBIT, and ORTHOREG procedures allow reference levels to be set using the REF= option in their CLASS statements. This note describes how to select a different reference level for a CLASS predictor in those procedures which do not provide a REF= option.

Prior to SAS 8.0, the TRANSREG procedure was the only procedure that supported different parameterizations of CLASS variables. In later releases, other procedures acquired additional CLASS variable parameterizations including various full-rank parameterizations. The following table lists the SAS/STAT® and SAS/ETS® procedures which allow multiple CLASS parameterizations, how CLASS variables are declared, what the default parameterization is, the SAS release in which they acquired that capability, and how the parameterization is selected. Note that many additional modeling procedures available in SAS® Viya® also provide multiple parameterizations using the PARAM= option in the CLASS statement.

Procedure CLASS Variables
Declared In
Default
Parameterization
Other
Parameterizations
Available Beginning
Other
Parameterizations
Selected In
BCHOICE CLASS statement REF 9.4 TS1M1 CLASS PARAM=
CATMOD Default EFFECT 9.1 MODEL PARAM=
COUNTREG CLASS statement GLM 9.4 TS1M4 CLASS PARAM=
GAMPL CLASS statement GLM 9.4 TS1M3 CLASS PARAM=
GENMOD CLASS statement GLM 9.1 CLASS PARAM=
GLMSELECT CLASS statement GLM 9.2 CLASS PARAM=
HPFMM CLASS statement GLM 9.4 TS1M1 CLASS PARAM=
HPGENSELECT CLASS statement GLM 9.4 TS1M0 CLASS PARAM=
HPLOGISTIC CLASS statement GLM 9.4 TS1M0 CLASS PARAM=
HPPLS CLASS statement GLM 9.4 TS1M2 CLASS PARAM=
HPQUANTSELECT CLASS statement GLM 9.4 TS1M2 CLASS PARAM=
HPREG CLASS statement GLM 9.4 TS1M0 CLASS PARAM=
HPSEVERITY CLASS statement GLM 9.4 TS1M2 CLASS PARAM=
ICPHREG CLASS statement GLM 9.4 TS1M2 CLASS PARAM=
LOGISTIC CLASS statement EFFECT 8.0 CLASS PARAM=
OPTEX CLASS statement ORTHEFFECT 9.1 CLASS PARAM=
PHREG CLASS statement REF 9.2 CLASS PARAM=
QUANTSELECT CLASS statement GLM 9.3 TS1M2 CLASS PARAM=
SURVEYLOGISTIC CLASS statement EFFECT 9.1 CLASS PARAM=
SURVEYPHREG CLASS statement GLM 9.2 TS2M3 CLASS PARAM=
TRANSREG MODEL CLASS( ) REF Before 8.0 MODEL CLASS( )


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STATz/OS
OpenVMS VAX
Microsoft® Windows® for 64-Bit Itanium-based Systems
Microsoft Windows Server 2003 Datacenter 64-bit Edition
Microsoft Windows Server 2003 Enterprise 64-bit Edition
Microsoft Windows XP 64-bit Edition
Microsoft® Windows® for x64
OS/2
Microsoft Windows 95/98
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Professional
Microsoft Windows NT Workstation
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2008
Microsoft Windows XP Professional
Windows Millennium Edition (Me)
Windows Vista
64-bit Enabled AIX
64-bit Enabled HP-UX
64-bit Enabled Solaris
ABI+ for Intel Architecture
AIX
HP-UX
HP-UX IPF
IRIX
Linux
Linux for x64
Linux on Itanium
OpenVMS Alpha
OpenVMS on HP Integrity
Solaris
Solaris for x64
Tru64 UNIX
SAS SystemSAS/QCz/OS
OpenVMS VAX
Microsoft® Windows® for 64-Bit Itanium-based Systems
Microsoft Windows Server 2003 Datacenter 64-bit Edition
Microsoft Windows Server 2003 Enterprise 64-bit Edition
Microsoft Windows XP 64-bit Edition
Microsoft® Windows® for x64
OS/2
Microsoft Windows 7
Microsoft Windows 95/98
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Professional
Microsoft Windows NT Workstation
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2008
Microsoft Windows XP Professional
Windows Millennium Edition (Me)
Windows Vista
64-bit Enabled AIX
64-bit Enabled HP-UX
64-bit Enabled Solaris
ABI+ for Intel Architecture
AIX
HP-UX
HP-UX IPF
IRIX
Linux
Linux for x64
Linux on Itanium
OpenVMS Alpha
OpenVMS on HP Integrity
Solaris
Solaris for x64
Tru64 UNIX
SAS SystemSAS/ETSMicrosoft® Windows® for x64
Microsoft Windows XP 64-bit Edition
Microsoft Windows Server 2003 Enterprise 64-bit Edition
Microsoft Windows Server 2003 Datacenter 64-bit Edition
Microsoft® Windows® for 64-Bit Itanium-based Systems
OpenVMS VAX
z/OS
Z64
OS/2
Microsoft Windows 8 Enterprise 32-bit
Microsoft Windows 8 Enterprise x64
Microsoft Windows 8 Pro 32-bit
Microsoft Windows 8 Pro x64
Microsoft Windows 8.1 Enterprise 32-bit
Microsoft Windows 8.1 Enterprise x64
Microsoft Windows 8.1 Pro
Microsoft Windows 8.1 Pro 32-bit
Microsoft Windows 95/98
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Professional
Microsoft Windows NT Workstation
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 for x64
Microsoft Windows Server 2008
Microsoft Windows Server 2008 R2
Microsoft Windows Server 2008 for x64
Microsoft Windows Server 2012 Datacenter
Microsoft Windows Server 2012 R2 Datacenter
Microsoft Windows Server 2012 R2 Std
Microsoft Windows Server 2012 Std
Microsoft Windows XP Professional
Windows 7 Enterprise 32 bit
Windows 7 Enterprise x64
Windows 7 Home Premium 32 bit
Windows 7 Home Premium x64
Windows 7 Professional 32 bit
Windows 7 Professional x64
Windows 7 Ultimate 32 bit
Windows 7 Ultimate x64
Windows Millennium Edition (Me)
Windows Vista
Windows Vista for x64
64-bit Enabled AIX
64-bit Enabled HP-UX
64-bit Enabled Solaris
ABI+ for Intel Architecture
AIX
HP-UX
HP-UX IPF
IRIX
Linux
Linux for x64
Linux on Itanium
OpenVMS Alpha
OpenVMS on HP Integrity
Solaris
Solaris for x64
Tru64 UNIX
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.