SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59705: The SURVEYSELECT procedure might produce an incorrect stratified sample when the RANUNI option is omitted

DetailsAboutRate It

When an equal-probability sample is selected in PROC SURVEYSELECT and a STRATA statement is specified, unequal selection probabilities might be used. When this happens, the resulting sample is incorrect. This problem can occur when the METHOD= option is omitted or if any of the following METHOD= options are specified in the PROC SURVEYSELECT statement:

  • SRS
  • URS
  • SYS
  • SEQ or CHROMY
  • BERNOULLI

To circumvent this problem, specify the RANUNI option in the PROC SURVEYSELECT statement.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/STATz/OS12.114.19.3 TS1M29.4 TS1M3
Microsoft® Windows® for x6412.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise x6412.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8 Pro 32-bit12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8 Pro x6412.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise x6412.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro x6412.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition12.19.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition12.19.3 TS1M2
Microsoft Windows Server 2003 Standard Edition12.19.3 TS1M2
Microsoft Windows Server 2003 for x6412.19.3 TS1M2
Microsoft Windows Server 200812.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2008 R212.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2008 for x6412.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Datacenter12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Std12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Std12.114.19.3 TS1M29.4 TS1M3
Microsoft Windows XP Professional12.19.3 TS1M2
Windows 7 Enterprise 32 bit12.114.19.3 TS1M29.4 TS1M3
Windows 7 Enterprise x6412.114.19.3 TS1M29.4 TS1M3
Windows 7 Home Premium 32 bit12.114.19.3 TS1M29.4 TS1M3
Windows 7 Home Premium x6412.114.19.3 TS1M29.4 TS1M3
Windows 7 Professional 32 bit12.114.19.3 TS1M29.4 TS1M3
Windows 7 Professional x6412.114.19.3 TS1M29.4 TS1M3
Windows 7 Ultimate 32 bit12.114.19.3 TS1M29.4 TS1M3
Windows 7 Ultimate x6412.114.19.3 TS1M29.4 TS1M3
Windows Vista12.19.3 TS1M2
Windows Vista for x6412.19.3 TS1M2
64-bit Enabled AIX12.114.19.3 TS1M29.4 TS1M3
64-bit Enabled HP-UX12.114.19.3 TS1M29.4 TS1M3
64-bit Enabled Solaris12.114.19.3 TS1M29.4 TS1M3
HP-UX IPF12.114.19.3 TS1M29.4 TS1M3
Linux12.114.19.3 TS1M29.4 TS1M3
Linux for x6412.114.19.3 TS1M29.4 TS1M3
Solaris for x6412.114.19.3 TS1M29.4 TS1M3
* 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.