|
Hi, I am trying to install matjags to use JAGS in MATLAB environment. I followed instruction here http://psiexp.ss.uci.edu/research/programs_data/jags/ and got 3.0.0 JAGS. However, when I run example, it complains that it doesn't see dbeta distribution. when running example1.m this is the error msg: Running JAGS... Running chain 1 (serial execution) Running chain 2 (serial execution) Running chain 3 (serial execution) Running chain 4 (serial execution) Running chain 5 (serial execution) Running chain 6 (serial execution) Running chain 7 (serial execution) Error using matjags (line 260) Error from dos environment: Welcome to JAGS 3.3.0 on Sat Oct 13 16:05:56 2012 JAGS is free software and comes with ABSOLUTELY NO WARRANTY Loading module: basemod: ok Loading module: bugs: file not found Reading data file jagsdata.R Compiling model graph Resolving undeclared variables Allocating nodes RUNTIME ERROR: Compilation error on line 3. Unknown distribution: dbeta Deleting model Error in Example1 (line 51) [samples, stats, structArray] = matjags( ... Yes, I've added matjags.m in the path.. I thought a number of people had run into this issue, but I was surprised googling it didn't give me anything. Anyone have experience fixing this? Thanks! |
|
Tina, Did you resolve this issue? I have similar problem with Fedora 17. |