Title: | Fitting of Complementary Risk Models |
---|---|
Description: | Evaluates the probability density function (PDF), cumulative distribution function (CDF), quantile function (QF), random numbers and maximum likelihood estimates (MLEs) of well-known complementary binomial-G, complementary negative binomial-G and complementary geometric-G families of distributions taking baseline models such as exponential, extended exponential, Weibull, extended Weibull, Fisk, Lomax, Burr-XII and Burr-X. The functions also allow computing the goodness-of-fit measures namely the Akaike-information-criterion (AIC), the Bayesian-information-criterion (BIC), the minimum value of the negative log-likelihood (-2L) function, Anderson-Darling (A) test, Cramer-Von-Mises (W) test, Kolmogorov-Smirnov test, P-value and convergence status. Moreover, some commonly used data sets from the fields of actuarial, reliability, and medical science are also provided. Related works include: a) 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. <doi:10.1186/s40488-016-0052-1>. |
Authors: | Muhammad Imran [aut, cre], M.H Tahir [aut] |
Maintainer: | Muhammad Imran <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.2.0 |
Built: | 2024-11-05 03:11:11 UTC |
Source: | https://github.com/cran/ComRiskModel |
Evaluates the PDF, CDF, QF, random numbers and MLEs of eight well-known probability distributions in connection with complementary G binomial, complementary G negative binomial and complementary G geomatric family of distributions. Moreover, some commonly used data sets from the fields of actuarial, reliability, and medical science are also provided.
Package: | ComRiskModel |
Type: | Package |
Version: | 0.2.0 |
Date: | 2023-05-14 |
License: | GPL-2 |
Muhammad Imran <[email protected]>
Muhammad Imran <[email protected]> and M.H Tahir <[email protected]>.
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. <doi.org/10.1186/s40488-016-0052-1>.
The function allows to provide the distributional behavior of the mortality of retired people on disability of the Mexican Institute of Social Security.
data_actuarialm
data_actuarialm
data_actuarialm |
A vector of (non-negative integer) values. |
The data describes the distributional behavior of the mortality of retired people on disability of the Mexican Institute of Social Security. Recently, it is used by Tahir et al. (2021) and fitted the Kumaraswamy Pareto IV distribution.
data_actuarialm gives the mortality of retired people.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
Tahir, M. H., Cordeiro, G. M., Mansoor, M., Zubair, M., & Alzaatreh, A. (2021). The Kumaraswamy Pareto IV Distribution. Austrian Journal of Statistics, 50(5), 1-22.
Balakrishnan, N., Leiva, V., Sanhueza, A., & Cabrera, E. (2009). Mixture inverse Gaussian distributions and its transformations, moments and applications. Statistics, 43(1), 91-104.
x<-data_actuarialm summary(x)
x<-data_actuarialm summary(x)
The function allows to provide the survival times (in days) of 73 patients who diagnosed with acute bone cancer.
data_acutebcancer
data_acutebcancer
data_acutebcancer |
A vector of (non-negative integer) values. |
The data represents the survival times (in days) of 73 patients who diagnosed with acute bone cancer. Recently, the data set is used by Klakattawi, H. S. (2022) and fitted a new extended Weibull distribution.
data_acutebcancer gives the survival times (in days) of 73 patients who diagnosed with acute bone cancer.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
Klakattawi, H. S. (2022). Survival analysis of cancer patients using a new extended Weibull distribution. Plos one, 17(2), e0264229.
Alanzi, A. R., Imran, M., Tahir, M. H., Chesneau, C., Jamal, F., Shakoor, S., & Sami, W. (2023). Simulation analysis, properties and applications on a new Burr XII model based on the Bell-X functionalities.
Mansour, M., Yousof, H. M., Shehata, W. A., & Ibrahim, M. (2020). A new two parameter Burr XII distribution: properties, copula, different estimation methods and modeling acute bone cancer data. Journal of Nonlinear Science and Applications, 13(5), 223-238.
x<-data_acutebcancer summary(x)
x<-data_acutebcancer summary(x)
The function allows to provide the failure times of the air conditioning system of an airplane (in hours).
data_acfailure
data_acfailure
data_acfailure |
A vector of (non-negative integer) values. |
The data set consists of the failure times of the air conditioning system of an airplane (in hours). Recently, it is used by Bantan et al. (2020) and fitted the unit-Rayleigh distribution.
data_acfailure gives the failure times of the air conditioning system of an airplane (in hours).
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
Bantan, R. A., Chesneau, C., Jamal, F., Elgarhy, M., Tahir, M. H., Ali, A., ... & Anam, S. (2020). Some new facts about the unit-Rayleigh distribution with applications. Mathematics, 8(11), 1954.
Linhart, H., & Zucchini, W. (1986). Model selection. John Wiley & Sons.
x<-data_acfailure summary(x)
x<-data_acfailure summary(x)
The function allows to provide the unit interval failure times of the air conditioning system of an airplane (in hours).
data_acfailureunit
data_acfailureunit
data_acfailureunit |
A vector of (non-negative integer) values. |
The unit interval data set consists of the failure times of the air conditioning system of an airplane (in hours). Recently, it is used by Bantan et al. (2020) and fitted the unit-Rayleigh distribution.
data_acfailureunit gives the failure times of the air conditioning system of an airplane (in hours).
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
Bantan, R. A., Chesneau, C., Jamal, F., Elgarhy, M., Tahir, M. H., Ali, A., ... & Anam, S. (2020). Some new facts about the unit-Rayleigh distribution with applications. Mathematics, 8(11), 1954.
Linhart, H., & Zucchini, W. (1986). Model selection. John Wiley & Sons.
x<-data_acfailureunit summary(x)
x<-data_acfailureunit summary(x)
The function allows to provide the effects of variations in airborne exposure on the concentration of urinary metabolites.
data_airborne
data_airborne
data_airborne |
A vector of (non-negative integer) values. |
The data relates to the effects of variations in airborne exposure on the concentration of urinary metabolites. Recently, it is used by Peter et al. (2021) and fitted the Gamma odd Burr III-G family of distributions.
data_airborne gives the effects of variations in airborne exposure on the concentration of urinary metabolites.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
Peter, P. O., Oluyede, B., Bindele, H. F., Ndwapi, N., & Mabikwa, O. (2021). The Gamma Odd Burr III-G Family of Distributions: Model, Properties and Applications. Revista Colombiana de Estadistica, 44(2), 331-368.
Kumagai, S., & Matsunaga, I. (1995). Physiologically based pharmacokinetic model for acetone. Occupational and environmental medicine, 52(5), 344-352.
x<-data_airborne summary(x)
x<-data_airborne summary(x)
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Burr-12 binomial (CB12Bio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the CDF of the baseline Burr-12 distribution, it is given by
By setting G(x) in the above Equation, yields the CDF of the CB12Bio distribution.
dCB12Bio(x, a, b, k, m, lambda, log = FALSE) pCB12Bio(x, a, b, k, m, lambda, log.p = FALSE, lower.tail = TRUE) qCB12Bio(p, a, b, k, m, lambda, log.p = FALSE, lower.tail = TRUE) rCB12Bio(n, a, b, k, m, lambda) mCB12Bio(x, a, b, k, m, lambda, method="B")
dCB12Bio(x, a, b, k, m, lambda, log = FALSE) pCB12Bio(x, a, b, k, m, lambda, log.p = FALSE, lower.tail = TRUE) qCB12Bio(p, a, b, k, m, lambda, log.p = FALSE, lower.tail = TRUE) rCB12Bio(n, a, b, k, m, lambda) mCB12Bio(x, a, b, k, m, lambda, method="B")
x |
A vector of (non-negative integer) values. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CB12Bio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
a |
The strictly positive scale parameter of the baseline Burr-12 distribution ( |
b |
The strictly positive shape parameter of the baseline Burr-12 distribution ( |
k |
The strictly positive shape parameter of the baseline Burr-12 distribution ( |
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 CB12Bio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CB12Bio 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.
dCB12Bio gives the (log) probability function. pCB12Bio gives the (log) distribution function. qCB12Bio gives the quantile function. rCB12Bio generates random values. mCB12Bio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Zimmer, W. J., Keats, J. B., & Wang, F. K. (1998). The Burr XII distribution in reliability analysis. Journal of quality technology, 30(4), 386-394.
x<-data_guineapigs rCB12Bio(20,2,0.4,1.2,2,0.7) dCB12Bio(x,2,1,2,2,0.3) pCB12Bio(x,2,1,2,2,0.3) qCB12Bio(0.7,2,1,2,2,0.7) mCB12Bio(x,0.7,0.1,0.2,0.7,0.7, method="B")
x<-data_guineapigs rCB12Bio(20,2,0.4,1.2,2,0.7) dCB12Bio(x,2,1,2,2,0.3) pCB12Bio(x,2,1,2,2,0.3) qCB12Bio(0.7,2,1,2,2,0.7) mCB12Bio(x,0.7,0.1,0.2,0.7,0.7, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Burr-12 geomatric (CB12Geo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline Burr-12 CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CB12Geo distribution.
dCB12Geo(x, a, b, k, lambda, log = FALSE) pCB12Geo(x, a, b, k, lambda, log.p = FALSE, lower.tail = TRUE) qCB12Geo(p, a, b, k, lambda, log.p = FALSE, lower.tail = TRUE) rCB12Geo(n, a, b, k, lambda) mCB12Geo(x, a, b, k, lambda, method="B")
dCB12Geo(x, a, b, k, lambda, log = FALSE) pCB12Geo(x, a, b, k, lambda, log.p = FALSE, lower.tail = TRUE) qCB12Geo(p, a, b, k, lambda, log.p = FALSE, lower.tail = TRUE) rCB12Geo(n, a, b, k, lambda) mCB12Geo(x, a, b, k, lambda, method="B")
x |
A vector of (non-negative integer) values. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CB12Geo distribution. |
lambda |
The strictly positive parameter of the geomatric distribution |
a |
The strictly positive scale parameter of the baseline Burr-12 distribution ( |
b |
The strictly positive shape parameter of the baseline Burr-12 distribution ( |
k |
The strictly positive shape parameter of the baseline Burr-12 distribution ( |
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 CB12Geo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CB12Geo 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.
dCB12Geo gives the (log) probability function. pCB12Geo gives the (log) distribution function. qCB12Geo gives the quantile function. rCB12Geo generates random values. mCB12Geo gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Zimmer, W. J., Keats, J. B., & Wang, F. K. (1998). The Burr XII distribution in reliability analysis. Journal of quality technology, 30(4), 386-394.
x<-data_airborne rCB12Geo(20,2,0.4,1.2,0.2) dCB12Geo(x,2,1,2,0.3) pCB12Geo(x,2,1,2,0.3) qCB12Geo(0.7,2,1,2,0.4) mCB12Geo(x,1.72,0.2,0.2,0.1, method="B")
x<-data_airborne rCB12Geo(20,2,0.4,1.2,0.2) dCB12Geo(x,2,1,2,0.3) pCB12Geo(x,2,1,2,0.3) qCB12Geo(0.7,2,1,2,0.4) mCB12Geo(x,1.72,0.2,0.2,0.1, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Burr-12 negative binomial (CB12NB) distribution. The CDF of the complementary G negative binomial distribution is as follows:
where G(x) represents the baseline Burr-12 CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CB12NB distribution.
dCB12NB(x, a, b, k, s, lambda, log = FALSE) pCB12NB(x, a, b, k, s, lambda, log.p = FALSE, lower.tail = TRUE) qCB12NB(p, a, b, k, s, lambda, log.p = FALSE, lower.tail = TRUE) rCB12NB(n, a, b, k, s, lambda) mCB12NB(x, a, b, k, s, lambda, method="B")
dCB12NB(x, a, b, k, s, lambda, log = FALSE) pCB12NB(x, a, b, k, s, lambda, log.p = FALSE, lower.tail = TRUE) qCB12NB(p, a, b, k, s, lambda, log.p = FALSE, lower.tail = TRUE) rCB12NB(n, a, b, k, s, lambda) mCB12NB(x, a, b, k, s, lambda, method="B")
x |
A vector of (non-negative integer) values. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CB12NB distribution. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution |
a |
The strictly positive scale parameter of the baseline Burr-12 distribution ( |
b |
The strictly positive shape parameter of the baseline Burr-12 distribution ( |
k |
The strictly positive shape parameter of the baseline Burr-12 distribution ( |
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 CB12NB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CB12NB 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.
dCB12NB gives the (log) probability function. pCB12NB gives the (log) distribution function. qCB12NB gives the quantile function. rCB12NB generates random values. mCB12NB gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Zimmer, W. J., Keats, J. B., & Wang, F. K. (1998). The Burr XII distribution in reliability analysis. Journal of quality technology, 30(4), 386-394.
x<-data_actuarialm rCB12NB(20,2,0.4,1.2,2,0.2) dCB12NB(x,2,1,2,2,0.3) pCB12NB(x,2,1,2,2,0.3) qCB12NB(0.7,2,1,2,2,0.4) mCB12NB(x, 2,1,0.2,0.2,0.4, method="B")
x<-data_actuarialm rCB12NB(20,2,0.4,1.2,2,0.2) dCB12NB(x,2,1,2,2,0.3) pCB12NB(x,2,1,2,2,0.3) qCB12NB(0.7,2,1,2,2,0.4) mCB12NB(x, 2,1,0.2,0.2,0.4, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Burr-X binomial (CBXBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline Burr-X CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CBXBio distribution.
dCBXBio(x, a, m, lambda, log = FALSE) pCBXBio(x, a, m, lambda, log.p = FALSE, lower.tail = TRUE) qCBXBio(p, a, m, lambda, log.p = FALSE, lower.tail = TRUE) rCBXBio(n, a, m, lambda) mCBXBio(x, a, m, lambda, method="B")
dCBXBio(x, a, m, lambda, log = FALSE) pCBXBio(x, a, m, lambda, log.p = FALSE, lower.tail = TRUE) qCBXBio(p, a, m, lambda, log.p = FALSE, lower.tail = TRUE) rCBXBio(n, a, m, lambda) mCBXBio(x, a, m, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CBXBio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
a |
The strictly positive shape parameter of the baseline Burr-X distribution ( |
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 CBXBio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CBXBio 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.
dCBXBio gives the (log) probability function. pCBXBio gives the (log) distribution function. qCBXBio gives the quantile function. rCBXBio generates random values. mCBXBio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-data_guineapigs dCBXBio(x,2,2,0.3) pCBXBio(x,2,2,0.4) qCBXBio(0.7,2,2,0.7) mCBXBio(x,0.2,2,0.3, method="B")
x<-data_guineapigs dCBXBio(x,2,2,0.3) pCBXBio(x,2,2,0.4) qCBXBio(0.7,2,2,0.7) mCBXBio(x,0.2,2,0.3, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Burr-X geomatric (CBXGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline Burr-X CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CBXGeo distribution.
dCBXGeo(x, a, lambda, log = FALSE) pCBXGeo(x, a, lambda, log.p = FALSE, lower.tail = TRUE) qCBXGeo(p, a, lambda, log.p = FALSE, lower.tail = TRUE) rCBXGeo(n, a, lambda) mCBXGeo(x, a, lambda, method="B")
dCBXGeo(x, a, lambda, log = FALSE) pCBXGeo(x, a, lambda, log.p = FALSE, lower.tail = TRUE) qCBXGeo(p, a, lambda, log.p = FALSE, lower.tail = TRUE) rCBXGeo(n, a, lambda) mCBXGeo(x, a, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CBXGeo distribution. |
lambda |
The strictly positive parameter of the geomatric distribution |
a |
The strictly positive shape parameter of the baseline Burr-X distribution ( |
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 CBXGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CBXGeo 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.
dCBXGeo gives the (log) probability function. pCBXGeo gives the (log) distribution function. qCBXGeo gives the quantile function. rCBXGeo generates random values. mCBXGeo gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-data_guineapigs dCBXGeo(x,2,0.3) pCBXGeo(x,2,0.4) qCBXGeo(0.7,2,0.7) mCBXGeo(x,0.2,0.3, method="B")
x<-data_guineapigs dCBXGeo(x,2,0.3) pCBXGeo(x,2,0.4) qCBXGeo(0.7,2,0.7) mCBXGeo(x,0.2,0.3, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Burr-X negative binomial (CBXNB) distribution. The CDF of the complementary G negative binomial distribution is as follows:
where G(x) represents the baseline Burr-X CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CBXNB distribution.
dCBXNB(x, a, s, lambda, log = FALSE) pCBXNB(x, a, s, lambda, log.p = FALSE, lower.tail = TRUE) qCBXNB(p, a, s, lambda, log.p = FALSE, lower.tail = TRUE) rCBXNB(n, a, s, lambda) mCBXNB(x, a, s, lambda, method="B")
dCBXNB(x, a, s, lambda, log = FALSE) pCBXNB(x, a, s, lambda, log.p = FALSE, lower.tail = TRUE) qCBXNB(p, a, s, lambda, log.p = FALSE, lower.tail = TRUE) rCBXNB(n, a, s, lambda) mCBXNB(x, a, s, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CBXNB distribution. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution ( |
a |
The strictly positive shape parameter of the baseline Burr-X distribution ( |
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 CBXNB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CBXNB 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.
dCBXNB gives the (log) probability function. pCBXNB gives the (log) distribution function. qCBXNB gives the quantile function. rCBXNB generates random values. mCBXNB gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-rCBXNB(500,1.5,1.2,0.8) dCBXNB(x,2,2,0.3) pCBXNB(x,2,2,0.4) qCBXNB(0.7,2,2,0.7) mCBXNB(x,4,0.2,0.3, method="B")
x<-rCBXNB(500,1.5,1.2,0.8) dCBXNB(x,2,2,0.3) pCBXNB(x,2,2,0.4) qCBXNB(0.7,2,2,0.7) mCBXNB(x,4,0.2,0.3, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated exponential binomial (CEEBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline exponentiated exponential CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CEEBio distribution.
dCEEBio(x, alpha, beta, m, lambda, log = FALSE) pCEEBio(x, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) qCEEBio(p, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) rCEEBio(n, alpha, beta, m, lambda) mCEEBio(x, alpha, beta, m, lambda, method="B")
dCEEBio(x, alpha, beta, m, lambda, log = FALSE) pCEEBio(x, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) qCEEBio(p, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) rCEEBio(n, alpha, beta, m, lambda) mCEEBio(x, alpha, beta, m, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CEEBio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
alpha |
The strictly positive scale parameter of the baseline exponentiated exponential distribution ( |
beta |
The strictly positive shape parameter of the baseline exponentiated exponential distribution ( |
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 CEEBio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CEEBio 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.
dCEEBio gives the (log) probability function. pCEEBio gives the (log) distribution function. qCEEBio gives the quantile function. rCEEBio generates random values. mCEEBio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Bakouch, H. S., Ristic, M. M., Asgharzadeh, A., Esmaily, L., & Al-Zahrani, B. M. (2012). An exponentiated exponential binomial distribution with application. Statistics & Probability Letters, 82(6), 1067-1081.
Nadarajah, S. (2011). The exponentiated exponential distribution: a survey. AStA Advances in Statistical Analysis, 95, 219-251.
x<-data_guineapigs rCEEBio(20,2,1,2,0.1) dCEEBio(x,2,1,2,0.2) pCEEBio(x,2,1,2,0.2) qCEEBio(0.7,2,1,2,0.2) mCEEBio(x,0.7,1,2,0.12, method="B")
x<-data_guineapigs rCEEBio(20,2,1,2,0.1) dCEEBio(x,2,1,2,0.2) pCEEBio(x,2,1,2,0.2) qCEEBio(0.7,2,1,2,0.2) mCEEBio(x,0.7,1,2,0.12, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated exponential geomatric (CEEGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline exponentiated exponential CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CEEGeo distribution.
dCEEGeo(x, alpha, beta, lambda, log = FALSE) pCEEGeo(x, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) qCEEGeo(p, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) rCEEGeo(n, alpha, beta, lambda) mCEEGeo(x, alpha, beta, lambda, method="B")
dCEEGeo(x, alpha, beta, lambda, log = FALSE) pCEEGeo(x, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) qCEEGeo(p, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) rCEEGeo(n, alpha, beta, lambda) mCEEGeo(x, alpha, beta, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CEEGeo distribution. |
lambda |
The strictly positive parameter of the geomatric distribution |
alpha |
The strictly positive scale parameter of the baseline exponentiated exponential distribution ( |
beta |
The strictly positive shape parameter of the baseline exponentiated exponential distribution ( |
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 CEEGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CEEGeo 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.
dCEEGeo gives the (log) probability function. pCEEGeo gives the (log) distribution function. qCEEGeo gives the quantile function. rCEEGeo generates random values. mCEEGeo gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Louzada, F., Marchi, V., & Carpenter, J. (2013). The complementary exponentiated exponential geometric lifetime distribution. Journal of Probability and Statistics, 2013.
Nadarajah, S. (2011). The exponentiated exponential distribution: a survey. AStA Advances in Statistical Analysis, 95, 219-251.
x<-rCEEGeo(20,2,1,0.1) dCEEGeo(x,2,1,0.2) pCEEGeo (x,2,1,0.2) qCEEGeo (0.7,2,1,0.2) mCEEGeo(x,0.2,0.1,0.2, method="B")
x<-rCEEGeo(20,2,1,0.1) dCEEGeo(x,2,1,0.2) pCEEGeo (x,2,1,0.2) qCEEGeo (0.7,2,1,0.2) mCEEGeo(x,0.2,0.1,0.2, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated exponential negative binomial (CEENB) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline exponentiated exponential CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CEENB distribution.
dCEENB(x, alpha, beta, s, lambda, log = FALSE) pCEENB(x, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) qCEENB(p, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) rCEENB(n, alpha, beta, s, lambda) mCEENB(x, alpha, beta, s, lambda, method="B")
dCEENB(x, alpha, beta, s, lambda, log = FALSE) pCEENB(x, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) qCEENB(p, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) rCEENB(n, alpha, beta, s, lambda) mCEENB(x, alpha, beta, s, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CEENB distribution. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution |
alpha |
The strictly positive scale parameter of the baseline exponentiated exponential distribution ( |
beta |
The strictly positive shape parameter of the baseline exponentiated exponential distribution ( |
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 CEENB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CEENB 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.
dCEENB gives the (log) probability function. pCEENB gives the (log) distribution function. qCEENB gives the quantile function. rCEENB generates random values. mCEENB gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Bakouch, H. S., Ristic, M. M., Asgharzadeh, A., Esmaily, L., & Al-Zahrani, B. M. (2012). An exponentiated exponential binomial distribution with application. Statistics & Probability Letters, 82(6), 1067-1081.
Nadarajah, S. (2011). The exponentiated exponential distribution: a survey. AStA Advances in Statistical Analysis, 95, 219-251.
x<-data_guineapigs dCEENB(x,2,1,2,0.2) pCEENB(x,2,1,2,0.2) qCEENB(0.7,2,1,2,0.2) mCEENB(x,2.2,0.4,0.2,0.2, method="B")
x<-data_guineapigs dCEENB(x,2,1,2,0.2) pCEENB(x,2,1,2,0.2) qCEENB(0.7,2,1,2,0.2) mCEENB(x,2.2,0.4,0.2,0.2, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated Weibull binomial (CEWBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline exponentiated Weibull CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CEWBio distribution.
dCEWBio(x, alpha, beta, theta, m, lambda, log = FALSE) pCEWBio(x, alpha, beta, theta, m, lambda, log.p = FALSE, lower.tail = TRUE) qCEWBio(p, alpha, beta, theta, m, lambda, log.p = FALSE, lower.tail = TRUE) rCEWBio(n, alpha, beta, theta, m, lambda) mCEWBio(x, alpha, beta, theta, m, lambda, method="B")
dCEWBio(x, alpha, beta, theta, m, lambda, log = FALSE) pCEWBio(x, alpha, beta, theta, m, lambda, log.p = FALSE, lower.tail = TRUE) qCEWBio(p, alpha, beta, theta, m, lambda, log.p = FALSE, lower.tail = TRUE) rCEWBio(n, alpha, beta, theta, m, lambda) mCEWBio(x, alpha, beta, theta, m, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CEWBio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
alpha |
The strictly positive scale parameter of the baseline exponentiated Weibull distribution ( |
beta |
The strictly positive shape parameter of the baseline exponentiated Weibull distribution ( |
theta |
The strictly positive shape parameter of the baseline exponentiated Weibull distribution ( |
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 Bell Burr-12 distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CEWBio 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.
dCEWBio gives the (log) probability function. pCEWBio gives the (log) distribution function. qCEWBio gives the quantile function. rCEWBio generates random values. mCEWBio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
x<-data_guineapigs dCEWBio(x,1,1,0.2,2,0.2) pCEWBio(x,2,1,1.2,2,0.2) qCEWBio(0.7,2,1,1.2,2,0.2) mCEWBio(x,2.55,0.62,5.72,8.30,0.42, method="B")
x<-data_guineapigs dCEWBio(x,1,1,0.2,2,0.2) pCEWBio(x,2,1,1.2,2,0.2) qCEWBio(0.7,2,1,1.2,2,0.2) mCEWBio(x,2.55,0.62,5.72,8.30,0.42, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponentiated Weibull geomatric (CEWGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline exponentiated Weibull CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CEWGeo distribution.
dCEWGeo(x, alpha, beta, theta, lambda, log = FALSE) pCEWGeo(x, alpha, beta, theta, lambda, log.p = FALSE, lower.tail = TRUE) qCEWGeo(p, alpha, beta, theta, lambda, log.p = FALSE, lower.tail = TRUE) rCEWGeo(n, alpha, beta, theta, lambda) mCEWGeo(x, alpha, beta, theta, lambda, method="B")
dCEWGeo(x, alpha, beta, theta, lambda, log = FALSE) pCEWGeo(x, alpha, beta, theta, lambda, log.p = FALSE, lower.tail = TRUE) qCEWGeo(p, alpha, beta, theta, lambda, log.p = FALSE, lower.tail = TRUE) rCEWGeo(n, alpha, beta, theta, lambda) mCEWGeo(x, alpha, beta, theta, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CEWGeo distribution. |
lambda |
The strictly positive parameter of the geomatric distribution |
alpha |
The strictly positive scale parameter of the baseline exponentiated Weibull distribution ( |
beta |
The strictly positive shape parameter of the baseline exponentiated Weibull distribution ( |
theta |
The strictly positive shape parameter of the baseline exponentiated Weibull distribution ( |
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 CEWGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CEWGeo 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.
dCEWGeo gives the (log) probability function. pCEWGeo gives the (log) distribution function. qCEWGeo gives the quantile function. rCEWGeo generates random values.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Mahmoudi, E., & Shiran, M. (2012). Exponentiated Weibull-geometric distribution and its applications. arXiv preprint arXiv:1206.4008.
Nadarajah, S., Cordeiro, G. M., & Ortega, E. M. (2013). The exponentiated Weibull distribution: a survey. Statistical Papers, 54, 839-877.
x<-data_guineapigs dCEWGeo(x,1,1,0.2,0.2) pCEWGeo(x,2,1,1.2,0.2) qCEWGeo(0.7,2,1,1.2,0.2) mCEWGeo(x,2,1,1.2,0.32, method="B")
x<-data_guineapigs dCEWGeo(x,1,1,0.2,0.2) pCEWGeo(x,2,1,1.2,0.2) qCEWGeo(0.7,2,1,1.2,0.2) mCEWGeo(x,2,1,1.2,0.32, method="B")
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:
where G(x) represents the baseline exponentiated Weibull CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CEWNB distribution.
dCEWNB(x, alpha, beta, theta, s, lambda, log = FALSE) pCEWNB(x, alpha, beta, theta, s, lambda, log.p = FALSE, lower.tail = TRUE) qCEWNB(p, alpha, beta, theta, s, lambda, log.p = FALSE, lower.tail = TRUE) rCEWNB(n, alpha, beta, theta, s, lambda) mCEWNB(x, alpha, beta, theta, s, lambda, method="B")
dCEWNB(x, alpha, beta, theta, s, lambda, log = FALSE) pCEWNB(x, alpha, beta, theta, s, lambda, log.p = FALSE, lower.tail = TRUE) qCEWNB(p, alpha, beta, theta, s, lambda, log.p = FALSE, lower.tail = TRUE) rCEWNB(n, alpha, beta, theta, s, lambda) mCEWNB(x, alpha, beta, theta, s, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CEWNB distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
s |
The positive parameter of the negative binomial distribution |
alpha |
The strictly positive scale parameter of the baseline exponentiated Weibull distribution ( |
beta |
The strictly positive shape parameter of the baseline exponentiated Weibull distribution ( |
theta |
The strictly positive shape parameter of the baseline exponentiated Weibull distribution ( |
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. |
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.
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.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
x<-rCEWNB(20,2,1,1.2,2,0.2) dCEWNB(x,2,1,1.2,2,0.2) pCEWNB(x,2,1,1.2,2,0.2) qCEWNB(0.7,2,1,1.2,2,0.2) mCEWNB(x,2,1,1.2,2,0.2, method="B")
x<-rCEWNB(20,2,1,1.2,2,0.2) dCEWNB(x,2,1,1.2,2,0.2) pCEWNB(x,2,1,1.2,2,0.2) qCEWNB(0.7,2,1,1.2,2,0.2) mCEWNB(x,2,1,1.2,2,0.2, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponential binomial (CExpBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline exponential CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CExpBio distribution.
dCExpBio(x, alpha, m, lambda, log = FALSE) pCExpBio(x, alpha, m, lambda, log.p = FALSE, lower.tail = TRUE) qCExpBio(p, alpha, m, lambda, log.p = FALSE, lower.tail = TRUE) rCExpBio(n, alpha, m, lambda) mCExpBio(x, alpha, m, lambda, method="B")
dCExpBio(x, alpha, m, lambda, log = FALSE) pCExpBio(x, alpha, m, lambda, log.p = FALSE, lower.tail = TRUE) qCExpBio(p, alpha, m, lambda, log.p = FALSE, lower.tail = TRUE) rCExpBio(n, alpha, m, lambda) mCExpBio(x, alpha, m, lambda, method="B")
x |
A vector of (non-negative integer) values. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CExpBio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
alpha |
The strictly positive scale parameter of the baseline exponential distribution ( |
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 CExpBio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CExpBio 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.
dCExpBio gives the (log) probability function. pCExpBio gives the (log) distribution function. qCExpBio gives the quantile function. rCExpBio generates random values.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
x<-data_guineapigs rCExpBio(20,2,2,0.5) dCExpBio(x,2,2,0.5) pCExpBio(x,2,3,0.5) qCExpBio(0.7, 2,3,0.5) mCExpBio(x,1.402,2.52,0.04, method="B")
x<-data_guineapigs rCExpBio(20,2,2,0.5) dCExpBio(x,2,2,0.5) pCExpBio(x,2,3,0.5) qCExpBio(0.7, 2,3,0.5) mCExpBio(x,1.402,2.52,0.04, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponential geomatric (CExpGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline exponential CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CExpGeo distribution.
dCExpGeo(x, alpha, lambda, log = FALSE) pCExpGeo(x, alpha, lambda, log.p = FALSE, lower.tail = TRUE) qCExpGeo(p, alpha, lambda, log.p = FALSE, lower.tail = TRUE) rCExpGeo(n, alpha, lambda) mCExpGeo(x, alpha, lambda, method="B")
dCExpGeo(x, alpha, lambda, log = FALSE) pCExpGeo(x, alpha, lambda, log.p = FALSE, lower.tail = TRUE) qCExpGeo(p, alpha, lambda, log.p = FALSE, lower.tail = TRUE) rCExpGeo(n, alpha, lambda) mCExpGeo(x, alpha, lambda, method="B")
x |
A vector of (non-negative integer) values. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CExpGeo distribution. |
lambda |
The strictly positive parameter of the geomatric distribution |
alpha |
The strictly positive scale parameter of the baseline exponential distribution ( |
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 CExpGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CExpGeo 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.
dCExpGeo gives the (log) probability function. pCExpGeo gives the (log) distribution function. qCExpGeo gives the quantile function. rCExpGeo generates random values. mCExpGeo gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Louzada, F., Roman, M., & Cancho, V. G. (2011). The complementary exponential geometric distribution: Model, properties, and a comparison with its counterpart. Computational Statistics & Data Analysis, 55(8), 2516-2524.
x<-data_guineapigs rCExpGeo(20,2,0.5) dCExpGeo(x,2,0.5) pCExpGeo(x,2,0.5) qCExpGeo(0.7, 2,0.5) mCExpGeo(x,2,0.5, method="B")
x<-data_guineapigs rCExpGeo(20,2,0.5) dCExpGeo(x,2,0.5) pCExpGeo(x,2,0.5) qCExpGeo(0.7, 2,0.5) mCExpGeo(x,2,0.5, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary exponential negative binomial (CExpNB) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline exponential CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CExpNB distribution.
dCExpNB(x, alpha, s, lambda, log = FALSE) pCExpNB(x, alpha, s, lambda, log.p = FALSE, lower.tail = TRUE) qCExpNB(p, alpha, s, lambda, log.p = FALSE, lower.tail = TRUE) rCExpNB(n, alpha, s, lambda) mCExpNB(x, alpha, s, lambda, method="B")
dCExpNB(x, alpha, s, lambda, log = FALSE) pCExpNB(x, alpha, s, lambda, log.p = FALSE, lower.tail = TRUE) qCExpNB(p, alpha, s, lambda, log.p = FALSE, lower.tail = TRUE) rCExpNB(n, alpha, s, lambda) mCExpNB(x, alpha, s, lambda, method="B")
x |
A vector of (non-negative integer) values. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CExpBio distribution. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution |
alpha |
The strictly positive scale parameter of the baseline exponential distribution ( |
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 CExpNB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CExpNB 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.
dCExpNB gives the (log) probability function. pCExpNB gives the (log) distribution function. qCExpNB gives the quantile function. rCExpNB generates random values.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
x<-data_guineapigs rCExpNB(20,2,2,0.5) dCExpNB(x,2,2,0.5) pCExpNB(x,2,3,0.5) qCExpNB(0.7, 2,3,0.5) mCExpNB(x,0.02,3.8,0.15, method="B")
x<-data_guineapigs rCExpNB(20,2,2,0.5) dCExpNB(x,2,2,0.5) pCExpNB(x,2,3,0.5) qCExpNB(0.7, 2,3,0.5) mCExpNB(x,0.02,3.8,0.15, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Fisk binomial (CFBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline Fisk CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CFBio distribution.
dCFBio(x, a, b, m, lambda, log = FALSE) pCFBio(x, a, b, m, lambda, log.p = FALSE, lower.tail = TRUE) qCFBio(p, a, b, m, lambda, log.p = FALSE, lower.tail = TRUE) rCFBio(n, a, b, m, lambda) mCFBio(x, a, b, m, lambda, method="B")
dCFBio(x, a, b, m, lambda, log = FALSE) pCFBio(x, a, b, m, lambda, log.p = FALSE, lower.tail = TRUE) qCFBio(p, a, b, m, lambda, log.p = FALSE, lower.tail = TRUE) rCFBio(n, a, b, m, lambda) mCFBio(x, a, b, m, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CFBio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
a |
The strictly positive scale parameter of the baseline Fisk distribution ( |
b |
The strictly positive shape parameter of the baseline Fisk distribution ( |
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 CFBio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CFBio 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.
dCFBio gives the (log) probability function. pCFBio gives the (log) distribution function. qCFBio gives the quantile function. rCFBio generates random values. mCFBio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-data_guineapigs rCFBio(20,2,1,2,0.2) dCFBio(x,2,1,1,0.3) pCFBio(x,2,1,1,0.3) qCFBio(0.7,2,1,1,0.2) mCFBio(x,0.07,0.102,0.102,0.203, method="B")
x<-data_guineapigs rCFBio(20,2,1,2,0.2) dCFBio(x,2,1,1,0.3) pCFBio(x,2,1,1,0.3) qCFBio(0.7,2,1,1,0.2) mCFBio(x,0.07,0.102,0.102,0.203, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Fisk geomatric (CFGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline Fisk CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CFGeo distribution.
dCFGeo(x, a, b, lambda, log = FALSE) pCFGeo(x, a, b, lambda, log.p = FALSE, lower.tail = TRUE) qCFGeo(p, a, b, lambda, log.p = FALSE, lower.tail = TRUE) rCFGeo(n, a, b, lambda) mCFGeo(x, a, b, lambda, method="B")
dCFGeo(x, a, b, lambda, log = FALSE) pCFGeo(x, a, b, lambda, log.p = FALSE, lower.tail = TRUE) qCFGeo(p, a, b, lambda, log.p = FALSE, lower.tail = TRUE) rCFGeo(n, a, b, lambda) mCFGeo(x, a, b, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CFGeo distribution. |
lambda |
The strictly positive parameter of the geomatric distribution |
a |
The strictly positive scale parameter of the baseline Fisk distribution ( |
b |
The strictly positive shape parameter of the baseline Fisk distribution ( |
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 CFGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CFGeo 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.
dCFGeo gives the (log) probability function. pCFGeo gives the (log) distribution function. qCFGeo gives the quantile function. rCFGeo generates random values. mCFGeo gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-rCFGeo(20,2,1,0.7) x dCFGeo(x,2,1,0.1) pCFGeo(x,2,1,0.1) qCFGeo(0.7,2,1,0.1) mCFGeo(x,0.2,0.1,0.1, method="B")
x<-rCFGeo(20,2,1,0.7) x dCFGeo(x,2,1,0.1) pCFGeo(x,2,1,0.1) qCFGeo(0.7,2,1,0.1) mCFGeo(x,0.2,0.1,0.1, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Fisk negative binomial (CFNB) distribution. The CDF of the complementary G negative binomial distribution is as follows:
where G(x) represents the baseline Fisk CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CFNB distribution.
dCFNB(x, a, b, s, lambda, log = FALSE) pCFNB(x, a, b, s, lambda, log.p = FALSE, lower.tail = TRUE) qCFNB(p, a, b, s, lambda, log.p = FALSE, lower.tail = TRUE) rCFNB(n, a, b, s, lambda) mCFNB(x, a, b, s, lambda, method="B")
dCFNB(x, a, b, s, lambda, log = FALSE) pCFNB(x, a, b, s, lambda, log.p = FALSE, lower.tail = TRUE) qCFNB(p, a, b, s, lambda, log.p = FALSE, lower.tail = TRUE) rCFNB(n, a, b, s, lambda) mCFNB(x, a, b, s, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CFNB distribution. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution |
a |
The strictly positive scale parameter of the baseline Fisk distribution ( |
b |
The strictly positive shape parameter of the baseline Fisk distribution ( |
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 CFNB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CFNB 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.
dCFNB gives the (log) probability function. pCFNB gives the (log) distribution function. qCFNB gives the quantile function. rCFNB generates random values. mCFNB gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-data_guineapigs rCFNB(20,2,1,2,0.2) dCFNB(x,2,1,1,0.3) pCFNB(x,2,1,1,0.3) qCFNB(0.7,2,1,1,0.2) mCFNB(x,0.72,0.7,0.5,0.7, method="B")
x<-data_guineapigs rCFNB(20,2,1,2,0.2) dCFNB(x,2,1,1,0.3) pCFNB(x,2,1,1,0.3) qCFNB(0.7,2,1,1,0.2) mCFNB(x,0.72,0.7,0.5,0.7, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Lomax binomial (CLBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline Lomax CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CLBio distribution.
dCLBio(x, b, q, m, lambda, log = FALSE) pCLBio(x, b, q, m, lambda, log.p = FALSE, lower.tail = TRUE) qCLBio(p, b, q, m, lambda, log.p = FALSE, lower.tail = TRUE) rCLBio(n, b, q, m, lambda) mCLBio(x, b, q, m, lambda, method="B")
dCLBio(x, b, q, m, lambda, log = FALSE) pCLBio(x, b, q, m, lambda, log.p = FALSE, lower.tail = TRUE) qCLBio(p, b, q, m, lambda, log.p = FALSE, lower.tail = TRUE) rCLBio(n, b, q, m, lambda) mCLBio(x, b, q, m, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CLBio distribution. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
b |
The strictly positive parameter of the baseline Lomax distribution ( |
q |
The strictly positive shapes parameter of the baseline Lomax distribution ( |
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 CLBio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CLBio 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.
dCLBio gives the (log) probability function. pCLBio gives the (log) distribution function. qCLBio gives the quantile function. rCLBio generates random values. mCLBio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-rCLBio(20,2,1,2,0.7) dCLBio(x,2,1,2,0.5) pCLBio(x,2,1,2,0.3) qCLBio(0.7,2,1,2,0.2) mCLBio(x,0.2,0.1,0.2,0.5, method="B")
x<-rCLBio(20,2,1,2,0.7) dCLBio(x,2,1,2,0.5) pCLBio(x,2,1,2,0.3) qCLBio(0.7,2,1,2,0.2) mCLBio(x,0.2,0.1,0.2,0.5, method="B")
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:
where G(x) represents the baseline Lomax CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CLGeo distribution.
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")
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")
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 |
b |
The strictly positive parameter of the baseline Lomax distribution ( |
q |
The strictly positive shapes parameter of the baseline Lomax distribution ( |
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. |
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.
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.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
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")
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")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Lomax negative binomial (CLNB) distribution. The CDF of the complementary G negative binomial distribution is as follows:
where G(x) represents the baseline Lomax CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CLNB distribution.
dCLNB(x, b, q, s, lambda, log = FALSE) pCLNB(x, b, q, s, lambda, log.p = FALSE, lower.tail = TRUE) qCLNB(p, b, q, s, lambda, log.p = FALSE, lower.tail = TRUE) rCLNB(n, b, q, s, lambda) mCLNB(x, b, q, s, lambda, method="B")
dCLNB(x, b, q, s, lambda, log = FALSE) pCLNB(x, b, q, s, lambda, log.p = FALSE, lower.tail = TRUE) qCLNB(p, b, q, s, lambda, log.p = FALSE, lower.tail = TRUE) rCLNB(n, b, q, s, lambda) mCLNB(x, b, q, s, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CLNB distribution. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution |
b |
The strictly positive parameter of the baseline Lomax distribution ( |
q |
The strictly positive shapes parameter of the baseline Lomax distribution ( |
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 CLNB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CLNB 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.
dCLNB gives the (log) probability function. pCLNB gives the (log) distribution function. qCLNB gives the quantile function. rCLNB generates random values. mCLNB gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Kleiber, C., & Kotz, S. (2003). Statistical size distributions in economics and actuarial sciences. John Wiley & Sons.
x<-rCLNB(20,2,1,2,0.7) dCLNB(x,2,1,2,0.5) pCLNB(x,2,1,2,0.3) qCLNB(0.7,2,1,2,0.2) mCLNB(x,0.2,0.1,0.2,0.5, method="B")
x<-rCLNB(20,2,1,2,0.7) dCLNB(x,2,1,2,0.5) pCLNB(x,2,1,2,0.3) qCLNB(0.7,2,1,2,0.2) mCLNB(x,0.2,0.1,0.2,0.5, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Weibull binomial (CWBio) distribution. The CDF of the complementary G binomial distribution is as follows:
where G(x) represents the baseline Weibull CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CWBio distribution.
dCWBio(x, alpha, beta, m, lambda, log = FALSE) pCWBio(x, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) qCWBio(p, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) rCWBio(n, alpha, beta, m, lambda) mCWBio(x, alpha, beta, m, lambda, method="B")
dCWBio(x, alpha, beta, m, lambda, log = FALSE) pCWBio(x, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) qCWBio(p, alpha, beta, m, lambda, log.p = FALSE, lower.tail = TRUE) rCWBio(n, alpha, beta, m, lambda) mCWBio(x, alpha, beta, m, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CWBio. |
lambda |
The strictly positive parameter of the binomial distribution |
m |
The positive parameter of the binomial distribution |
alpha |
The strictly positive scale parameter of the baseline Weibull distribution ( |
beta |
The strictly positive shape parameter of the baseline Weibull distribution ( |
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 CWBio distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CWBio 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.
dCWBio gives the (log) probability function. pCWBio gives the (log) distribution function. qCWBio gives the quantile function. rCWBio generates random values. mCWBio gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Hallinan Jr, A. J. (1993). A review of the Weibull distribution. Journal of Quality Technology, 25(2), 85-93.
Rinne, H. (2008). The Weibull distribution: a handbook. CRC press.
x<-rCWBio(20,2,1,2,0.2) dCWBio(x,2,1,2,0.2) pCWBio(x,2,1,2,0.2) qCWBio(0.7,2,1,2,0.2) mCWBio(x,2,1,2,0.2, method="B")
x<-rCWBio(20,2,1,2,0.2) dCWBio(x,2,1,2,0.2) pCWBio(x,2,1,2,0.2) qCWBio(0.7,2,1,2,0.2) mCWBio(x,2,1,2,0.2, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Weibull geomatric (CWGeo) distribution. The CDF of the complementary G geomatric distribution is as follows:
where G(x) represents the baseline Weibull CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CWGeo distribution.
dCWGeo(x, alpha, beta, lambda, log = FALSE) pCWGeo(x, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) qCWGeo(p, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) rCWGeo(n, alpha, beta, lambda) mCWGeo(x, alpha, beta, lambda, method="B")
dCWGeo(x, alpha, beta, lambda, log = FALSE) pCWGeo(x, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) qCWGeo(p, alpha, beta, lambda, log.p = FALSE, lower.tail = TRUE) rCWGeo(n, alpha, beta, lambda) mCWGeo(x, alpha, beta, lambda, method="B")
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 Weibull geomatric. |
lambda |
The strictly positive parameter of the geomatric distribution |
alpha |
The strictly positive scale parameter of the baseline Weibull distribution ( |
beta |
The strictly positive shape parameter of the baseline Weibull distribution ( |
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 CWGeo distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CWGeo 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.
dCWGeo gives the (log) probability function. pCWGeo gives the (log) distribution function. qCWGeo gives the quantile function. rCWGeo generates random values. mCWGeo gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Tojeiro, C., Louzada, F., Roman, M., & Borges, P. (2014). The complementary Weibull geometric distribution. Journal of Statistical Computation and Simulation, 84(6), 1345-1362.
Hallinan Jr, A. J. (1993). A review of the Weibull distribution. Journal of Quality Technology, 25(2), 85-93.
Rinne, H. (2008). The Weibull distribution: a handbook. CRC press.
x<-data_actuarialm rCWGeo(20,2,1,0.2) dCWGeo(x,2,1,0.2) pCWGeo(x,2,1,0.2) qCWGeo(0.7,2,1,0.2) mCWGeo(x,0.2,0.5,0.2, method="B")
x<-data_actuarialm rCWGeo(20,2,1,0.2) dCWGeo(x,2,1,0.2) pCWGeo(x,2,1,0.2) qCWGeo(0.7,2,1,0.2) mCWGeo(x,0.2,0.5,0.2, method="B")
Evaluates the PDF, CDF, QF, random numbers and MLEs based on the complementary Weibull negative binomial (CWNB) distribution. The CDF of the complementary G negative binomial distribution is as follows:
where G(x) represents the baseline Weibull CDF, it is given by
By setting G(x) in the above Equation, yields the CDF of the CWNB distribution.
dCWNB(x, alpha, beta, s, lambda, log = FALSE) pCWNB(x, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) qCWNB(p, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) rCWNB(n, alpha, beta, s, lambda) mCWNB(x, alpha, beta, s, lambda, method="B")
dCWNB(x, alpha, beta, s, lambda, log = FALSE) pCWNB(x, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) qCWNB(p, alpha, beta, s, lambda, log.p = FALSE, lower.tail = TRUE) rCWNB(n, alpha, beta, s, lambda) mCWNB(x, alpha, beta, s, lambda, method="B")
x |
A vector of (non-negative integer) quantiles. |
p |
A vector of probablities. |
n |
The number of random values to be generated under the CWBio. |
lambda |
The strictly positive parameter of the negative binomial distribution |
s |
The positive parameter of the negative binomial distribution |
alpha |
The strictly positive scale parameter of the baseline Weibull distribution ( |
beta |
The strictly positive shape parameter of the baseline Weibull distribution ( |
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 CWNB distribution is fitted. It could be "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", or "SANN". "BFGS" is set as the default. |
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 CWNB 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.
dCWNB gives the (log) probability function. pCWNB gives the (log) distribution function. qCWNB gives the quantile function. rCWNB generates random values. mCWNB gives the estimated parameters along with SE and goodness-of-fit measures.
Muhammad Imran and M.H Tahir.
R implementation and documentation: Muhammad Imran [email protected] and M.H Tahir [email protected].
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.
Hallinan Jr, A. J. (1993). A review of the Weibull distribution. Journal of Quality Technology, 25(2), 85-93.
Rinne, H. (2008). The Weibull distribution: a handbook. CRC press.
x<-data_actuarialm rCWNB(20,2,1,2,0.2) dCWNB(x,2,1,2,0.2) pCWNB(x,2,1,2,0.2) qCWNB(0.7,2,1,2,0.2) mCWNB(x,0.2,0.1,0.2,0.1, method="B")
x<-data_actuarialm rCWNB(20,2,1,2,0.2) dCWNB(x,2,1,2,0.2) pCWNB(x,2,1,2,0.2) qCWNB(0.7,2,1,2,0.2) mCWNB(x,0.2,0.1,0.2,0.1, method="B")
The function allows to provide survival times (in days) of 72 guinea pigs infected with virulent tubercle bacilli.
data_guineapigs
data_guineapigs
data_guineapigs |
A vector of (non-negative integer) values. |
The data set represents the survival times (in days) of 72 guinea pigs infected with virulent tubercle bacilli. Recently, the data set is used by Alyami et al.(2022) and fitted the Topp-Leone modified Weibull model.
data_guineapigs gives the survival times (in days) of 72 guinea pigs infected with virulent tubercle bacilli.
Muhammad Imran and H.M Tahir.
R implementation and documentation: Muhammad Imran [email protected] and H.M Tahir [email protected].
Bjerkedal, T. (1960). Acquisition of Resistance in Guinea Pies infected with Different Doses of Virulent Tubercle Bacilli. American Journal of Hygiene, 72(1), 130-48.
Chesneau, C., & El Achi, T. (2020). Modified odd Weibull family of distributions: Properties and applications. Journal of the Indian Society for Probability and Statistics, 21, 259-286.
Khosa, S. K., Afify, A. Z., Ahmad, Z., Zichuan, M., Hussain, S., & Iftikhar, A. (2020). A new extended-f family: properties and applications to lifetime data. Journal of Mathematics, 2020, 1-9.
Alyami, S. A., Elbatal, I., Alotaibi, N., Almetwally, E. M., Okasha, H. M., & Elgarhy, M. (2022). Topp-Leone Modified Weibull Model: Theory and Applications to Medical and Engineering Data. Applied Sciences, 12(20), 10431.
Kemaloglu, S. A., & Yilmaz, M. (2017). Transmuted two-parameter Lindley distribution. Communications in Statistics-Theory and Methods, 46(23), 11866-11879.
x<-data_guineapigs summary(x)
x<-data_guineapigs summary(x)