alashworth / test-issue-import

0 stars 0 forks source link

Add "Ratcliff" log-likelihood, Wiener process with intrinsic trial-to-trial drift variability #94

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by mdnunez Tuesday Apr 19, 2016 at 23:50 GMT Originally opened as https://github.com/stan-dev/stan/issues/1875


New Feature Suggestion:

Add a Wiener likelihood function with intrinsic trial to trial variability in the drift rate, titled the "Ratcliff" likelihood function

Description:

Adding a parameter that describes the variance in drift rate over trials to the Wiener likelihood function yields better estimates of incorrect reaction time (see Table 3 of Nunez et al, 2016 for an example deficit of incorrect-RT prediction with a hierarchical version of the simple Wiener likelihood). This version of the diffusion model and its extensions was popularized by Ratcliff (1978; see also Ratcliff and McKoon, 2008) and is used widely in the mathematical psychology and neuroscience communities. Because of sampling techniques developed by Navarro and Fuss (2009) and probability density function derivations by Tuerlinckx (2004), it is relatively straight-forward to copy and change the existing Wiener likelihood sampler in Stan to include intrinsic trial-to-trial variability. This method has already been implemented by existing hierarchical "drift-diffusion" model samplers (Wiecki, 2003).

Additional Information:

I have a version of "ratcliff_log.hpp" code mostly finished however it needs to be tested and compared to simulations. Any helpful pointers to what needs to be changed in other parts of Stan code would be appreciated.

Citations:

v2.9.0

alashworth commented 5 years ago

Comment by bob-carpenter Wednesday Apr 20, 2016 at 17:00 GMT


Any helpful pointers to what needs to be changed in other parts of Stan code would be appreciated.

See:

alashworth commented 5 years ago

Comment by mdnunez Wednesday Apr 20, 2016 at 18:53 GMT


This issue was moved to stan-dev/math#287