Skip to content

[new model] Add ezdm estimated with aggregated data #281

@GidonFrischkorn

Description

@GidonFrischkorn

Complementing #64 that provides an extended implementation of the ezdm_robust that estimates RTs as a mixture of an inverse Gaussian and uniform distributions to account for potential contaminants, I would like to implement a Bayesian hierarchical implementation of the ezdm that estimates DDM parameters from aggregated data, that is mean_rt, var_rt, n_correct, and n_trials. This builds on work by Adriana F. Chávez De la Peña and Joachim Vandekerckhove: https://osf.io/yg9b5_v1/

@chenyu-psy is actually already working with the brms implementation of the likelihood and is estimating parameter recovery for this implementation.

Ideally, I would like to add a 3-par and 4-par version, the 4-par version would allow to also estimate the starting point zr by separating mean_rt and var_rt for responses to the upper and lower bound respectively. I just have to think how to best implement this without making the interface to complicated.

Steps for implementation:

  • fill in model_info
  • implement STAN functions
  • specify check_data.ezdm
  • specify check_model.ezdm
  • specify bmf2bf.ezdm if necessary
  • specify check_formula.ezdm
  • specify configure_model.ezdm
  • add function to generate initial values to allow for proper start of sampling
  • specify distribution functions for the ezdm model
  • check that pp_check and bridgesampling works for ezdm
  • if possible: optimize sampling and speed for model estimation

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions