paul-buerkner / brms

brms R package for Bayesian generalized multivariate non-linear multilevel models using Stan
https://paul-buerkner.github.io/brms/
GNU General Public License v2.0
1.27k stars 183 forks source link

Add shifted lognormal distribution #218

Closed awellis closed 6 years ago

awellis commented 7 years ago

Hi Paul,

would you be willing to add the shifted lognormal distribution for modelling response time data? This is discussed here.

paul-buerkner commented 7 years ago

Thanks, I will take a look! :-)

paul-buerkner commented 6 years ago

As a follow-up on this: @awellis Do you think the shifted lognormal distribution is superior to the exponentially modified gaussian distribution (family exgaussian), which is already implemented in brms?

paul-buerkner commented 6 years ago

In the github version, you can now fit shifted lognormal models via family shifted_lognormal. The shift parameter is called ndt (non-decision time), borrowing name and code from the wiener diffusion model.