Problem Note 55202: The UDS statement in PROC MCMC fails to recognize multidimensional arrays as parameters
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
SAS System | SAS/STAT | z/OS | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft® Windows® for x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows 7 Ultimate x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Windows Vista | 9.3 | | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 | | 9.3 TS1M0 | |
64-bit Enabled AIX | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
64-bit Enabled HP-UX | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
HP-UX IPF | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Linux | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Linux for x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.4 TS1M3 |
Solaris for x64 | 9.3 | 14.1 | 9.3 TS1M0 | 9.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.
Parameters in multidimensional arrays should be recognized by the UDS Statement in PROC MCMC, but an error message is issued instead.
Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Bayesian Analysis SAS Reference ==> Procedures ==> MCMC
|
Date Modified: | 2016-08-16 15:57:16 |
Date Created: | 2015-02-11 13:31:04 |