Thanks very much for your input Martyn. To be honest, this is a little beyond me right now - but I am looking into the above and hope to get round to recalculating the model in a few weeks, so thanks for pointing me in the right direction. I wouldn't have thought modelling everything directly on the trial-by-trial data would have been quicker, so that's very interesting. As for Mratio[s,task]*d1[s,task] - this is to grab a statistic called meta-d', which is normally divided by d' to calculate the...
I'm running quite a large model, but on my laptop this model takes 15 minutes with 180 participants, 100 burn-in and adaptation iterations, and 1000 standard iterations, and I think I will need a fair few more to reach convergence with such a complex model. I was wondering if there were any tips to speed things up, perhaps in the writing of the JAGS model itself. I have attempted using on the right before defining on the left in a separate model but I gather this problem in JAGS has been fixed at...
Hi, I am trying to create a JAGS model in R that will be expandable to an arbitrary number of input variables. Specifically, I'm creating a Hierarchical Bayesian model of the correlations between a statistic called meta-d' on a few different tasks. I'd like to have smaller code that I can calculate the correlations for 2, 3, or 4 tasks. It would be easy to pass a single large matrix with all tasks into the jags.model() data argument, subset in the JAGS code. However, I've noted that each task's data...
I am currently trying to run the following package: https://github.com/metacoglab/HMeta-d which, according to the listed wiki requires JAGS 3.4 to run in MATLAB. I have previously gotten this to work on a Mac although need it to run on my PC running Windows 10 now. When attempting to run the main function I am met with the following error: Error using matjags (line 282) Error from dos environment: 'jags' is not recognized as an internal or external command, operable program or batch file. Going into...
I am currently trying to run the following package: https://github.com/metacoglab/HMeta-d which, according to the listed wiki requires JAGS 3.4 to run in MATLAB. I have previously gotten this to work on a Mac although need it to run on my PC running Windows 10 now. When attempting to run the main function I am met with the following error: Error using matjags (line 282) Error from dos environment: 'jags' is not recognized as an internal or external command, operable program or batch file. Going into...