CLGeo distribution {ComRiskModel}R Documentation

Complementary Lomax geomatric distribution

Description

Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Lomax geomatric (CLGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:

F(x)=\frac{\left(1-\lambda\right)G(x)}{\left(1-\lambda G(x)\right)};\qquad\lambda\in(0,1),

where G(x) represents the baseline Lomax CDF, it is given by

G\left(x\right)=1-\left[1+\left(\frac{x}{b}\right)\right]^{-q};\qquad b,q>0.

By setting G(x) in the above Equation, yields the CDF of the CLGeo distribution.

Usage

dCLGeo(x, b, q, lambda, log = FALSE)
pCLGeo(x, b, q, lambda, log.p = FALSE, lower.tail = TRUE)
qCLGeo(p, b, q, lambda, log.p = FALSE, lower.tail = TRUE)
rCLGeo(n, b, q, lambda)
mCLGeo(x, b, q, lambda, method="B")

Arguments

x

A vector of (non-negative integer) quantiles.

p

A vector of probablities.

n

The number of random values to be generated under the CLGeo distribution.

lambda

The strictly positive parameter of the geomatric distribution \lambda \in (0,1).

b

The strictly positive parameter of the baseline Lomax distribution (b > 0).

q

The strictly positive shapes parameter of the baseline Lomax distribution (q > 0).

lower.tail

if FALSE then 1-F(x) are returned and quantiles are computed 1-p.

log

if TRUE, probabilities p are given as log(p).

log.p

if TRUE, probabilities p are given for exp(p).

method

the procedure for optimizing the log-likelihood function after setting the intial values of the parameters and data values for which the CLGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default.

Details

These functions allow for the evaluation of the PDF, CDF, QF, random numbers and MLEs of the unknown parameters with the standard error (SE) of the estimates of the CLGeo distribution. Additionally, it offers goodness-of-fit statistics such as the AIC, BIC, -2L, A test, W test, Kolmogorov-Smirnov test, P-value, and convergence status.

Value

dCLGeo gives the (log) probability function. pCLGeo gives the (log) distribution function. qCLGeo gives the quantile function. rCLGeo generates random values. mCLGeo gives the estimated parameters along with SE and goodness-of-fit measures.

Author(s)

Muhammad Imran and M.H Tahir.

R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com and M.H Tahir mht@iub.edu.pk.

References

Tahir, M. H., & Cordeiro, G. M. (2016). Compounding of distributions: a survey and new generalized classes. Journal of Statistical Distributions and Applications, 3, 1-35.

Hassan, A. S., & Abdelghafar, M. A. (2017). Exponentiated Lomax geometric distribution: properties and applications. Pakistan Journal of Statistics and Operation Research, 545-566.

Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.

See Also

pCFGeo

Examples

x<-rCLGeo(20,2,1,0.7)
dCLGeo(x,2,1,0.5)
pCLGeo(x,2,1,0.3)
qCLGeo(0.7,2,1,0.2)
mCLGeo(x,0.2,0.1,0.5, method="B")

[Package ComRiskModel version 0.2.0 Index]