Related Experiment Video
Updated: Aug 25, 2025

Image Processing Protocol for the Analysis of the Diffusion and Cluster Size of Membrane Receptors by Fluorescence Microscopy
Published on: April 9, 2019
An adaptive rejection sampler for sampling from the Wiener diffusion model
Raphael Hartmann1, Constantin G Meyer-Grant2, Karl Christoph Klauer2
1Department of Psychology, University of Marburg, Gutenbergstrasse 18, D-35032, Marburg, Germany. raphael.hartmann@staff.uni-marburg.de.
Abstract:
The Wiener diffusion model with two absorbing boundaries is one of the most frequently applied models for jointly modeling responses and response latencies in psychological research. We consider four methods for sampling from the model with and without variability in drift rate, starting point, and non-decision time: Inverse transform sampling, rejection sampling, and two new methods based on adaptive rejection sampling (ARS). We implement these four methods in an R package, validate the methods, and compare their sampling speed in different settings. All four implemented methods provide samples that follow the intended distributions. The ARS-based methods, however, outperform the other methods in sampling speed as the requested sample size increases. We provide guidelines for when using ARS is more efficient than using traditional methods and vice versa.
More Related Videos
Related Concept Videos
Wald-Wolfowitz Runs Test II
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and...
One-Compartment Open Model: Wagner-Nelson and Loo Riegelman Method for ka Estimation
On...
Sampling Continuous Time Signal
In the...
Sampling Theorem
Wald-Wolfowitz Runs Test I
The test works...
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...

