coga

R package for Convolution of Gamma Distributions

https://github.com/chaoranhu/coga

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary

Keywords

convolution cran gamma-distributions
Last synced: 6 months ago · JSON representation

Repository

R package for Convolution of Gamma Distributions

Basic Info
  • Host: GitHub
  • Owner: ChaoranHu
  • License: gpl-3.0
  • Language: C++
  • Default Branch: master
  • Homepage:
  • Size: 4.45 MB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 9
Topics
convolution cran gamma-distributions
Created over 8 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

README

CRAN\_Status\_Badge R-CMD-check

This README would normally document whatever steps are necessary to get this application up and running.

What is this R package for?

  • Convolution of gamma distributions in R. The convolution of gamma distributions is the sum of independent gamma distributions and all gamma distributions here can have different parameters. The purpose of this package is calculating density, distribution function, and do simulation work for convolution of gamma variables. Two related exact methods (Moschopoulos, 1985)(Mathai, 1982) and one approximate method (Barnabani, 2017) are implemented with efficient algorithm and C++ code. A quick guide for this package is given as package vignette.

  • Version: 1.2.2.9000

How do I get set up?

  • Run the following R code.

```

install.packages("devtools")

devtools::install_github("ChaoranHu/coga") ```

or

install.packages("coga")

Note: The first way need your computer have development tools, but can help you follow the newest version from my github. This package includes Cpp and C codes, so you need a CPP compiler (for mac, you can use Xcode, which can be installed from Apple Store). Also, this package use GNU GSL, so you also need to install GNU GSL first. If you do not have these tools, please use second way to install from CRAN.

  • Run library(coga) to load in R.

How do I use?

Please read the vignette of this package for more information, documentation and examples.

Who do I talk to?

Chaoran Hu, chaoran.hu@uconn.edu

Reference

[1] Moschopoulos, Peter G. "The distribution of the sum of independent gamma random variables." Annals of the Institute of Statistical Mathematics 37.1 (1985): 541-544.

[2] Mathai, A.M.: Storage capacity of a dam with gamma type inputs. Ann. Inst. Statist.Math. 34, 591-597 (1982).

[3] Barnabani, M. (2017). An approxmation to the convolution of gamma distributions. Communications in Statistics - Simulation and Computation 46(1), 331-343.

[4] Hu, C., Pozdnyakov, V., and Yan, J. (2020). Density and Distribution Evaluation for Convolution of Independent Gamma Variables. Computational Statistics 35, 327-342.

Owner

  • Name: Chaoran Hu
  • Login: ChaoranHu
  • Kind: user
  • Location: Indianapolis, IN, U.S.A.
  • Company: Eli Lilly and Company

Ph.D. in Statistics

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 114
  • Total Committers: 3
  • Avg Commits per committer: 38.0
  • Development Distribution Score (DDS): 0.518
Past Year
  • Commits: 6
  • Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Chaoran Hu h****n@l****m 55
Chaoran Hu h****t@g****m 31
Chaoran Hu c****u@u****u 28
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 6
  • Total pull requests: 0
  • Average time to close issues: over 1 year
  • Average time to close pull requests: N/A
  • Total issue authors: 5
  • Total pull request authors: 0
  • Average comments per issue: 1.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stemangiola (2)
  • soumenroy (1)
  • jasondk (1)
  • samorso (1)
  • lrnv (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 342 last-month
  • Total docker downloads: 21,777
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 10
  • Total maintainers: 1
cran.r-project.org: coga

Convolution of Gamma Distributions

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 342 Last month
  • Docker Downloads: 21,777
Rankings
Forks count: 21.9%
Stargazers count: 24.2%
Average: 29.6%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Downloads: 36.9%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • Rcpp * imports
  • cubature * imports
  • stats * imports
  • R.rsp * suggests
  • testthat * suggests