Abstract
In this manuscript we introduce R package Compounding for dealing with continuous distributions obtained by compounding continuous distributions with discrete distributions. We demonstrate its use by computing values of cumulative distribution function, probability density function, quantile function and hazard rate function, generating random samples from a population with compounding distribution, and computing mean, variance, skewness and kurtosis of a random variable with a compounding distribution. We consider 24 discrete distributions which can be compounded with any continuous distribution implemented in R.
Similar content being viewed by others
References
Adamidis A, Loukas S (1988) A lifetime distribution with decreasing failure rate. Stat Probab Lett 39:35–42
Adamidis A, Dimitrakopoulou T, Loukas S (2005) On an extension of the exponential-geometric distribution. Stat Probab Lett 73:259–269
Alice T, Jose K (2003) Marshall-Olkin Pareto process. Far East J Theor Stat 9:117–132
Barreto-Souza W, Bakouch HS (2010) A new lifetime model with decreasing failure rate. arXiv: 1007.0238v1
Chahkandi M, Ganjali M (2009) On some lifetime distributions with decreasing failure rate. Comput Stat Data Anal 53:4433–4440
Ghitany M, Al-Hussaini E, Al-Jarallah R (2005) Marshall-Olkin extended Weibull distribution and its application to censored data. J Appl Stat 32:1025–1034
Ghitany M, Al-Awadhi F, Alkhalfan L (2007) Marshall-Olkin extended Lomax distribution and its application to censored data. Commun Stat Theory Methods 36:1855–1866
Hankin RKS, Lee A (2006) A new family of non-negative distributions. Aust N Z J Stat 48:67–78
Jayakumar K, Mathew T (2008) On a generalization to Marshall-Olkin scheme and its application to Burr Type XII distribution. Stat Pap 49:421–439
Johnson N, Kotz S, Kemp A (1992) Univariate discrete distributions. Wiley, New York
Jose K, Naik S, Ristić M (2010) Marshall-Olkin \(q\)-Weibull distribution and max-min processes. Stat Pap 51:837–851
Kuş C (2007) A new lifetime distribution. Comput Stat Data Anal 51:4497–4509
Marshall A, Olkin I (1997) A new method for adding a parameter to a family of distributions with application to the exponential and Weibull families. Biometrika 84:641–652
Morais A, Barreto-Souza W (2011) A compound class of Weibull and power series distributions. Comput Stat Data Anal 55:1410–1425
Nadarajah S (2008) Marshall and Olkin’s distributions. Acta Appl Math 103:87–100
Tahmasbi R, Rezaei S (2008) A two-parameter lifetime distribution with decreasing failure rate. Comput Stat Data Anal 52:3889–3901
Acknowledgments
The authors are very grateful to the referee for valuable suggestions and comments which greatly improve the paper. The third author acknowledges the grant of MNTR 174013 for carrying out this research.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Nadarajah, S., Popović, B.V. & Ristić, M.M. Compounding: an R package for computing continuous distributions obtained by compounding a continuous and a discrete distribution. Comput Stat 28, 977–992 (2013). https://doi.org/10.1007/s00180-012-0336-y
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00180-012-0336-y