Density, distribution function, quantile function and random generation for
a Ram Awadh distribution with parameter scale
.
Usage
dRA(x, theta = 1, log = FALSE)
pRA(q, theta = 1, lower.tail = TRUE, log.p = FALSE)
qRA(p, theta = 1, lower.tail = TRUE)
rRA(n, theta = 1)
Arguments
- x, q
vector of quantiles.
- theta
a scale parameter.
- log, log.p
logical; if TRUE, probabilities p are given as log(p).
- lower.tail
logical; if TRUE (default), probabilities are \(P\left[ X\leq x\right]\), otherwise, \(P\left[ X>x\right] \).
- p
vector of probabilities.
- n
number of observations. If
length(n) > 1
, the length is taken to be the number required.
Value
dRA
gives the density, pRA
gives the distribution
function, qRA
gives the quantile function and rRA
generates random deviates.
Details
Ram Awadh distribution with scale
parameter
\(\theta\), has density
$$f\left( x\right) =\frac{\theta ^{6}}{\theta ^{6}+120}
\left( \theta+x^{5}\right) e^{-\theta x},$$
where
$$x>0,~\theta >0.$$