The complementary Bell Fisk distribution {BGFD}R Documentation

The complementary Bell Fisk distribution

Description

Density, probability, quantile function, random generation, survival function, hazard rate function and maximum likelihood estimates from the complementary Bell Fisk distribution.

Usage

dCBellF(x, a, b, lambda, log = FALSE)
pCBellF(x, a, b, lambda, log.p = FALSE, lower.tail = TRUE)
qCBellF(p, a, b, lambda, log.p = FALSE, lower.tail = TRUE)
rCBellF(n, a, b, lambda)
sCBellF(x, a, b, lambda, log.p = FALSE, lower.tail = TRUE)
hCBellF(x, a, b, lambda, log = FALSE,log.p = FALSE, lower.tail = TRUE)
mCBellF(x, a, b, 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 complementary Bell Fisk distribution.

lambda

The strictly positive parameter of the Bell distribution (\lambda > 0).

a

The strictly positive scale parameter of the baseline Fisk distribution (a > 0).

b

The strictly positive shape parameter of the baseline Fisk distribution (b > 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 complementary Bell Fisk distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default.

Details

The functions allow fitting the complementary Bell Fisk distribution and evaluating the probability density function, cumulative distribution function, quantile function, random numbers, survival function, hazard rate function, and maximum likelihood estimates (MLEs) of the unknown parameters with standard error (SE) of the estimates. It also provides the goodness-of-fit measures such as the Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), the minimum value of the negative log-likelihood function, Anderson-Darling (A) test, Cramer-Von-Mises (W) test, Kolmogorov-Smirnov test, P-value and convergence status.

Value

dCBellF gives the (log) probability function. pCBellF gives the (log) distribution function. qCBellF gives the quantile function. rCBellF generates random values. sCBellF gives the survival function. hCBellF gives the hazard rate function. mCBellF gives the estimated parameters along with SE and goodness-of-fit measures.

Author(s)

Muhammad Imran and Michail Tsagris.

R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com and Michail Tsagris mtsagris@uoc.gr.

References

Algarni, A. (2022). Group Acceptance Sampling Plan Based on New Compounded Three-Parameter Weibull Model. Axioms, 11(9): 438.

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

Castellares, F., Ferrari, S. L., and Lemonte, A. J. (2018). On the Bell distribution and its associated regression model for count data. Applied Mathematical Modelling, 56, 172- 185.

See Also

pBellL

Examples

x<-rCBellF(20,2,1,0.2)
dCBellF(x,2,1,0.5)
pCBellF(x,2,1,0.5)
qCBellF(0.7,2,1,0.5)
sCBellF(x,2,1,0.5)
hCBellF(x,2,1,0.5)
mCBellF(x, 0.2,0.1,0.8, method="B")

[Package BGFD version 0.1 Index]