SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 24475: What causes the error, "An imputed variable value is not in the specified range after 100 tries," and how can I fix it?

DetailsAboutRate It

Multiple imputation deals with random draws from the posterior distribution of the variables. When you impose the MIN= and MAX= options, you restrict the possible values that can be drawn. If PROC MI draws a value outside the range, it will attempt to draw another. If this continues 100 times, it aborts the process and issues this error message. Beginning in SAS 9, you can specify the MINMAXITER= option to increase the number of attempts, although in practice this rarely works.

There are a number of other options to try as well when this occurs. You could change the imputation method, try specifying your own prior distribution, or remove the MIN= and MAX= options. If you remove the MIN= and MAX= options, you could then impose those restrictions in a DATA step after performing multiple imputations. This process might require some trial and error and is highly data dependent.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STATz/OS8.1 TS1M0
OpenVMS VAX8.1 TS1M0
OS/28.1 TS1M0
Microsoft Windows 95/988.1 TS1M0
Microsoft Windows 2000 Advanced Server8.1 TS1M0
Microsoft Windows 2000 Datacenter Server8.1 TS1M0
Microsoft Windows 2000 Server8.1 TS1M0
Microsoft Windows 2000 Professional8.1 TS1M0
Microsoft Windows NT Workstation8.1 TS1M0
Microsoft Windows XP Professional8.1 TS1M0
Windows Millennium Edition (Me)8.1 TS1M0
ABI+ for Intel Architecture8.1 TS1M0
AIX8.1 TS1M0
HP-UX8.1 TS1M0
IRIX8.1 TS1M0
OpenVMS Alpha8.1 TS1M0
Solaris8.1 TS1M0
Tru64 UNIX8.1 TS1M0
* 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.