coga: Convolution of Gamma Distributions

Evaluation for density and distribution function of convolution of gamma distributions in R. Two related exact methods and one approximate method are implemented with efficient algorithm and C++ code. A quick guide for choosing correct method and usage of this package is given in package vignette. For the detail of methods used in this package, we refer the user to Mathai(1982)<doi:10.1007/BF02481056>, Moschopoulos(1984)<doi:10.1007/BF02481123>, Barnabani(2017)<doi:10.1080/03610918.2014.963612>, Hu et al.(2020)<doi:10.1007/s00180-019-00924-9>.

Version: 1.2.2
Depends: R (≥ 3.3.0)
Imports: stats, Rcpp, cubature
LinkingTo: Rcpp, RcppGSL
Suggests: testthat, R.rsp
Published: 2024-01-10
DOI: 10.32614/CRAN.package.coga
Author: Chaoran Hu [aut, cre], Vladimir Pozdnyakov [ths], Jun Yan [ths]
Maintainer: Chaoran Hu <huchaoran.stat at>
License: GPL (≥ 3.0)
NeedsCompilation: yes
SystemRequirements: GNU GSL
Citation: coga citation info
Materials: NEWS
In views: Distributions
CRAN checks: coga results


Reference manual: coga.pdf
Vignettes: Quick guide for 'coga'


Package source: coga_1.2.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): coga_1.2.2.tgz, r-oldrel (arm64): coga_1.2.2.tgz, r-release (x86_64): coga_1.2.2.tgz, r-oldrel (x86_64): coga_1.2.2.tgz
Old sources: coga archive


Please use the canonical form to link to this page.