Skip to main content
Log in

Compounding: an R package for computing continuous distributions obtained by compounding a continuous and a discrete distribution

  • Original Paper
  • Published:
Computational Statistics Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

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

    Article  MathSciNet  Google Scholar 

  • Adamidis A, Dimitrakopoulou T, Loukas S (2005) On an extension of the exponential-geometric distribution. Stat Probab Lett 73:259–269

    Article  MathSciNet  MATH  Google Scholar 

  • Alice T, Jose K (2003) Marshall-Olkin Pareto process. Far East J Theor Stat 9:117–132

    MathSciNet  MATH  Google Scholar 

  • 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

    Article  MathSciNet  MATH  Google Scholar 

  • 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

    Article  MathSciNet  MATH  Google Scholar 

  • 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

    Article  MathSciNet  MATH  Google Scholar 

  • Hankin RKS, Lee A (2006) A new family of non-negative distributions. Aust N Z J Stat 48:67–78

    Article  MathSciNet  MATH  Google Scholar 

  • 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

    Article  MathSciNet  MATH  Google Scholar 

  • Johnson N, Kotz S, Kemp A (1992) Univariate discrete distributions. Wiley, New York

    MATH  Google Scholar 

  • Jose K, Naik S, Ristić M (2010) Marshall-Olkin \(q\)-Weibull distribution and max-min processes. Stat Pap 51:837–851

    Article  MATH  Google Scholar 

  • Kuş C (2007) A new lifetime distribution. Comput Stat Data Anal 51:4497–4509

    Article  MATH  Google Scholar 

  • 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

    Article  MathSciNet  MATH  Google Scholar 

  • Morais A, Barreto-Souza W (2011) A compound class of Weibull and power series distributions. Comput Stat Data Anal 55:1410–1425

    Article  MathSciNet  Google Scholar 

  • Nadarajah S (2008) Marshall and Olkin’s distributions. Acta Appl Math 103:87–100

    Article  MathSciNet  MATH  Google Scholar 

  • Tahmasbi R, Rezaei S (2008) A two-parameter lifetime distribution with decreasing failure rate. Comput Stat Data Anal 52:3889–3901

    Article  MathSciNet  MATH  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Miroslav M. Ristić.

Rights and permissions

Reprints 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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00180-012-0336-y

Keywords

Navigation