Density function, parameter estimation by moments and random variable
generation for the ex-Gaussian distribution.
Usage
dexgauss(x, mu = 0, sigma = 1, tau = 1)
mexgauss(x, n = length(x))
rexgauss(n, mu = 0, sigma = 1, tau = 1, positive = TRUE)
Arguments
x
Vector of quantiles.
n
Number of observations.
mu,sigma,tau
Parameters of the ex-Gaussian distribution.
positive
Logical: imposes the generation of a vector containing only positive values.
Details
The function mexgauss implements the method of moments to estimate the parameters of an
ex-Gaussian distribution as described by Heathcote (1996).
References
Heathcote, A. (1996).
RTSYS: A DOS application for the analysis of reaction time data.
Behavior Research Methods, Instruments, & Computers, 28(3), 427-445.
Luce, R. D. (1986).
Response times: their role in inferring elementary mental organization.
New York: Oxford University Press.