Coder Social home page Coder Social logo

mdnunez / pyhddmjags Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 9.0 642 KB

Repository for example Hierarchical Drift Diffusion Model (HDDM) code using JAGS in Python. These scripts provide useful examples for using JAGS with pyjags, the JAGS Wiener module, mixture modeling in JAGS, and Bayesian diagnostics in Python.

License: GNU General Public License v3.0

Python 51.38% Stan 1.65% Jupyter Notebook 46.97%
bayesian-inference jags decision-making hddm mcmc-methods

pyhddmjags's People

Contributors

kiante-fernandez avatar mdnunez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyhddmjags's Issues

Question about prior distributions

Dear Dr. Nunez,
Thank you for your shares and practices. Your codes are useful for me to develop my own work.
Here, I have questions about the prior distribution of parameters that you have chosen in a stan model file named ‘stancode/nolapse_test.stan’.
Please, consider the following prior distributions in the file
//Between-participant variability in choice A start point bias
betasd ~ gamma(.3,1)
or
// Hierarchical start point bias towards choice A
betahier ~ normal(.5, .25);

How did you put the mean and std values for ddm parameters?
And what is the best strategy to determine prior distributions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.