RA {new.dist} | R Documentation |
Ram Awadh Distribution
Description
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 |
vector of probabilities. |
n |
number of observations. If |
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.
Value
dRA
gives the density, pRA
gives the distribution
function, qRA
gives the quantile function and rRA
generates random deviates.
References
Shukla, K. K., Shanker, R. ve Tiwari, M. K., 2022, A new one parameter discrete distribution and its applications, Journal of Statistics and Management Systems, 25 (1), 269-283.
Examples
library(new.dist)
dRA(1,theta=2)
pRA(1,theta=2)
qRA(.1,theta=1)
rRA(10,theta=1)