Skip to contents

This is done via convolution with stats::convolve(). Nonparametric delays that can be combined are processed together, and their cumulative distribution function is truncated at a specified tolerance level, ensuring numeric stability.


dist_spec_plus(e1, e2, tolerance = 0.001)



The first delay distribution (from a call to dist_spec()) to combine.


The second delay distribution (from a call to dist_spec()) to combine.


A numeric value that sets the cumulative probability to retain when truncating the cumulative distribution function of the combined nonparametric delays. The default value is 0.001 with this retaining 0.999 of the cumulative probability. Note that using a larger tolerance may result in a smaller number of points in the combined nonparametric delay but may also impact the accuracy of the combined delay (i.e., change the mean and standard deviation).


A delay distribution representing the sum of the two delays (with class dist_spec())


Sebastian Funk

Sam Abbott