Problem Note 50175: PROC PHREG issues syntax errors with METHOD=BRESLOW or METHOD=NELSON option in the BASELINE statement
Prior to SAS/STAT 12.1 in SAS 9.3 TS1M2, PROC PHREG issues the following errors if you specify the option METHOD=BRESLOW or METHOD=NELSON in the BASELINE statement:
ERROR 22-322: Syntax error, expecting one of the following: CH, PL.
ERROR 76-322: Syntax error, statement will be ignored
To circumvent the problem specify METHOD=CH or METHOD=EMP. CH and EMP are aliases, and both specify that the Breslow method is used. Beginning in SAS 9.2, the Breslow method is the default, so the problem can also be avoided by omitting the METHOD= option.
The SAS/STAT 12.1 User's Guide correctly documents the available METHOD= options in the BASELINE statement. Earlier versions of the SAS/STAT User's Guide incorrectly include METHOD=BRESLOW or METHOD=NELSON. All earlier SAS/STAT software documentation for PROC PHREG should include only METHOD=CH and its alias METHOD=EMP.
Also note that all versions of the SAS/STAT User's Guide in 9.2 as well as the SAS/STAT 9.3 User’s Guide incorrectly state “The default is METHOD=BRESLOW”. The correct statement should be “The default is METHOD=CH”. The SAS/STAT User’s Guides prior to 9.2 correctly state “The default is METHOD=PL”.
Operating System and Release Information
SAS System | SAS/STAT | Tru64 UNIX | 9.1 TS1M3 | 9.3 TS1M2 |
OpenVMS Alpha | 9.1 TS1M3 | 9.3 TS1M2 |
Linux | 9.1 TS1M3 | 9.3 TS1M2 |
HP-UX IPF | 9.1 TS1M3 | 9.3 TS1M2 |
64-bit Enabled Solaris | 9.1 TS1M3 | 9.3 TS1M2 |
64-bit Enabled HP-UX | 9.1 TS1M3 | 9.3 TS1M2 |
Windows Vista for x64 | 9.1 TS1M3 | 9.3 TS1M2 |
Windows Vista | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.3 TS1M2 |
64-bit Enabled AIX | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.3 TS1M2 |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
z/OS | 9.1 TS1M3 | 9.3 TS1M2 |
*
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.
The METHOD=BRESLOW or METHOD=NESLON option in the BASELINE statement of PROC PHREG gives syntax errors in some versions of SAS, despite being valid according to the documentation.
Type: | Problem Note |
Priority: | medium |
Topic: | Analytics ==> Survival Analysis SAS Reference ==> Procedures ==> PHREG
|
Date Modified: | 2015-10-01 13:55:28 |
Date Created: | 2013-06-12 13:45:17 |