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\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.

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)

[Package new.dist version 0.1.1 Index]