Description Usage Arguments Details Value References Examples
Density, distribution function, quantile function and random generation for the EMG distribution with three parameters, mu, sigma, lambda. The distribution is a mixture of an exponential and gaussian (normal) distribution.
1 2 3 4 |
x,q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
mu |
mu value, the mean of the normal component. Note: this is not the mean of the distribution. The mean is mu+1/lambda |
sigma |
sigma value, the deviation of the normal component. Note: this is not the deviation of the distribution |
lambda |
lambda value (1/kappa), the rate of the exponential component. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE(default), probabilities are P[X <= x] otherwise, P[X > x]. |
If mean
or sd
are not specified they assume the default
values of 0
and 1
, respectively.
The EMG distribution has density
f(x) = 1/2 λ e^(λ / 2 * (2 μ + λ * σ^2 - 2 x)) erfc((μ + λ * σ ^2 - x) / (sqrt(2) * σ))
where mu is the mean of the normal distribution, sigma the standard deviation of the normal and lambda rate of the exponential. Note mu does not represent the mean of the distribution. The mean is mu+1/lambda
demg
gives the density,
pemg
gives the distribution function,
qemg
gives the quantile function, and
remg
generates random deviates.
Golubev. Exponentially modified Gaussian (EMG) relevance to distributions related to cell proliferation and differentiation. J Theor Biol. 2010 Jan 21;262(2):257-66. Epub 2009 Oct 13.
1 |
Loading required package: stats4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.