SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55202: The UDS statement in PROC MCMC fails to recognize multidimensional arrays as parameters

DetailsHotfixAboutRate It

If you use an ARRAY statement in the MCMC procedure to define parameters with a multidimensional array, the UDS statement fails to treat the array parameter as valid syntax. An error message such as the following is issued:

ERROR: The parameter X has an UDS option, but it is not the OUTARG variable in any of the subroutines called in the program.

For example, the following set of statements within PROC MCMC should be supported:

array beta[4] beta1-beta4; uds BetaUpdater(beta, s2, XtX, XtY, sigma2); parms beta /uds; prior beta ~ mvn(mu, Sig);

In the above, the ARRAY statement is used to generate beta, an array parameter that is sampled with UDS option in the PARMS statement.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/STATz/OS9.314.19.3 TS1M09.4 TS1M3
Microsoft® Windows® for x649.314.19.3 TS1M09.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.39.3 TS1M0
Microsoft Windows Server 2003 for x649.39.3 TS1M0
Microsoft Windows Server 20089.314.19.3 TS1M09.4 TS1M3
Microsoft Windows Server 2008 R29.314.19.3 TS1M09.4 TS1M3
Microsoft Windows Server 2008 for x649.314.19.3 TS1M09.4 TS1M3
Microsoft Windows XP Professional9.39.3 TS1M0
Windows 7 Enterprise 32 bit9.314.19.3 TS1M09.4 TS1M3
Windows 7 Enterprise x649.314.19.3 TS1M09.4 TS1M3
Windows 7 Home Premium 32 bit9.314.19.3 TS1M09.4 TS1M3
Windows 7 Home Premium x649.314.19.3 TS1M09.4 TS1M3
Windows 7 Professional 32 bit9.314.19.3 TS1M09.4 TS1M3
Windows 7 Professional x649.314.19.3 TS1M09.4 TS1M3
Windows 7 Ultimate 32 bit9.314.19.3 TS1M09.4 TS1M3
Windows 7 Ultimate x649.314.19.3 TS1M09.4 TS1M3
Windows Vista9.39.3 TS1M0
Windows Vista for x649.39.3 TS1M0
64-bit Enabled AIX9.314.19.3 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.314.19.3 TS1M09.4 TS1M3
64-bit Enabled Solaris9.314.19.3 TS1M09.4 TS1M3
HP-UX IPF9.314.19.3 TS1M09.4 TS1M3
Linux9.314.19.3 TS1M09.4 TS1M3
Linux for x649.314.19.3 TS1M09.4 TS1M3
Solaris for x649.314.19.3 TS1M09.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.