Problem Note 69194: The NLIN procedure might produce incorrect bootstrap or profiling results when multiple MODEL statements are specified
The BOOTSTRAP statement and PROFILE statement results in PROC NLIN are incorrect when the following conditions are met:
- You specify multiple MODEL statement.
- You specify the models in DO groups within IF-THEN or IF-THEN/ELSE statements.
To avoid the problem, rewrite the model using only one MODEL statement.
For example, the following model is specified using two MODEL statements specified in DO groups nested within an IF-THEN/ELSE statement:
if (x < x0) then
do;
model y = alpha + beta*x + gamma*x*x;
end;
else do;
model y = alpha + beta*x0 + gamma*x0*x0;
end;
You need to rewrite the above model using a single MODEL statement using one of the following approaches:
if (x < x0) then mean = alpha + beta*x + gamma*x*x;
else mean = alpha + beta*x0 + gamma*x0*x0;
model y = mean;
model y = (x<x0) * (alpha + beta*x +gamma*x*x) + (x>=x0) * (alpha + beta*x0+gamma*x0*x0);
Operating System and Release Information
| SAS System | SAS/STAT | z/OS | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft® Windows® for x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows 8 Enterprise 32-bit | 13.1 | | 9.4 TS1M1 | |
| Microsoft Windows 8 Enterprise x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows 8 Pro 32-bit | 13.1 | | 9.4 TS1M1 | |
| Microsoft Windows 8 Pro x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows 8.1 Enterprise 32-bit | 13.1 | | 9.4 TS1M1 | |
| Microsoft Windows 8.1 Enterprise x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows 8.1 Pro 32-bit | 13.1 | | 9.4 TS1M1 | |
| Microsoft Windows 8.1 Pro x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows 10 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows Server 2008 | 13.1 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2008 R2 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows Server 2008 for x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows Server 2012 Datacenter | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows Server 2012 R2 Datacenter | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows Server 2012 R2 Std | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Microsoft Windows Server 2012 Std | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Windows 7 Enterprise 32 bit | 13.1 | | 9.4 TS1M1 | |
| Windows 7 Enterprise x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Windows 7 Home Premium 32 bit | 13.1 | | 9.4 TS1M1 | |
| Windows 7 Home Premium x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Windows 7 Professional 32 bit | 13.1 | | 9.4 TS1M1 | |
| Windows 7 Professional x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Windows 7 Ultimate 32 bit | 13.1 | | 9.4 TS1M1 | |
| Windows 7 Ultimate x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| 64-bit Enabled AIX | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| 64-bit Enabled Solaris | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| HP-UX IPF | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Linux for x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
| Solaris for x64 | 13.1 | 2022.1.2 | 9.4 TS1M1 | Viya |
*
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.
When multiple MODEL statements are specified in PROC NLIN with IF-THEN statements and DO groups, and a BOOTSTRAP or a PROFILE statement is also specified, all of the bootstrap and profile results are incorrect.
| Type: | Problem Note |
| Priority: | alert |
| Topic: | Analytics ==> Regression SAS Reference ==> Procedures ==> NLIN
|
| Date Modified: | 2022-06-30 09:17:30 |
| Date Created: | 2022-05-13 16:29:37 |