Complementary exponentiated Weibull negative binomial distribution
Complementary exponentiated Weibull negative binomial distribution
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated Weibull negative binomial (CEWNB) distribution. The CDF of the complementary G negative binomial distribution is as follows: [REMOVE_ME]F(x)=(1−λ)−s−1(1−λG(x))−s−1;λ∈(0,1),s>0,[REMOVEME2]
where G(x) represents the baseline exponentiated Weibull CDF, it is given by [REMOVE_ME]G(x)=(1−exp(−αxβ))θ;α,β,θ>0.[REMOVEME2]
By setting G(x) in the above Equation, yields the CDF of the CEWNB distribution.
Description
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated Weibull negative binomial (CEWNB) distribution. The CDF of the complementary G negative binomial distribution is as follows:
F(x)=(1−λ)−s−1(1−λG(x))−s−1;λ∈(0,1),s>0,
where G(x) represents the baseline exponentiated Weibull CDF, it is given by
G(x)=(1−exp(−αxβ))θ;α,β,θ>0.
By setting G(x) in the above Equation, yields the CDF of the CEWNB distribution.
n: The number of random values to be generated under the CEWNB distribution.
lambda: The strictly positive parameter of the binomial distribution λ∈(0,1).
s: The positive parameter of the negative binomial distribution s>0.
alpha: The strictly positive scale parameter of the baseline exponentiated Weibull distribution (α>0).
beta: The strictly positive shape parameter of the baseline exponentiated Weibull distribution (β>0).
theta: The strictly positive shape parameter of the baseline exponentiated Weibull distribution (θ>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 CEWNB 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 CEWNB 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.
Returns
dCEWNB gives the (log) probability function. pCEWNB gives the (log) distribution function. qCEWNB gives the quantile function. rCEWNB generates random values. mCEWNB gives the estimated parameters along with SE and goodness-of-fit measures.
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.
Nadarajah, S., Cordeiro, G. M., & Ortega, E. M. (2013). The exponentiated Weibull distribution: a survey. Statistical Papers, 54, 839-877.