Menu

#22 unable to create conjugate sampler

closed
nobody
None
5
2012-09-01
2012-06-05
Drew Tyre
No

When I attempt to run jags.model(...) in R 2.15.0 using JAGS 3.2.0 I get the following message:

Compiling model graph
Declaring variables
Resolving undeclared variables
Allocating nodes
Graph Size: 1022

Initializing model
Deleting model

Error in jags.model("tyre-jagsmodel3-2012-6-5.r", data = data.list, inits = inits.list, :
LOGIC ERROR:
Unable to create conjugate sampler
Please send a bug report to martyn_plummer@users.sourceforge.net

The model file and two r scripts needed to generate the data and run the model are attached ... or they

Discussion

  • Drew Tyre

    Drew Tyre - 2012-06-05
     
  • Drew Tyre

    Drew Tyre - 2012-06-05
     
  • Drew Tyre

    Drew Tyre - 2012-06-05
     
  • Drew Tyre

    Drew Tyre - 2012-06-05

    source the file tyre-test analysis-2012-6-5.r to run the model and generate the error. It clears the workspace before sourcing the simulation functions and calling jags.model(...)

     
  • Martyn Plummer

    Martyn Plummer - 2012-06-06

    OK This is a problem with the ShiftedCount sampler, which I have now fixed in the sources. In the meantime you can work around the problem with:

    set.factory("bugs::Conjugate", FALSE, type="sampler")

     

Anonymous
Anonymous

Add attachments
Cancel