Ld | R Documentation |
Density, distribution function, quantile function and random generation for the Lindley distribution.
dLd(x, theta, log = FALSE)
pLd(q, theta, lower.tail = TRUE, log.p = FALSE)
qLd(p, theta, lower.tail = TRUE)
rLd(n, theta)
x , q |
vector of quantiles. |
theta |
a parameter. |
log , log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE (default), probabilities are
|
p |
vector of probabilities. |
n |
number of observations. If |
The Lindley distribution with a parameter \theta
, has density
f\left( x\right) =\frac{\theta ^{2}}{1+\theta }\left( 1+x\right)
e^{-\theta~x},
where
x>0,~\theta >0.
dLd
gives the density, pLd
gives the distribution
function, qLd
gives the quantile function and rLd
generates
random deviates.
Akgül, F. G., Acıtaş, Ş. ve Şenoğlu, B., 2018, Inferences on stress–strength reliability based on ranked set sampling data in case of Lindley distribution, Journal of statistical computation and simulation, 88 (15), 3018-3032.
library(new.dist)
dLd(1,theta=2)
pLd(1,theta=2)
qLd(.8,theta=1)
rLd(10,theta=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.