Skip to content

gofgamma

Goodness-of-Fit Tests for the Gamma Distribution

v1.0 · Apr 29, 2020 · CC BY 4.0

Description

We implement various classical tests for the composite hypothesis of testing the fit to the family of gamma distributions as the Kolmogorov-Smirnov test, the Cramer-von Mises test, the Anderson Darling test and the Watson test. For each test a parametric bootstrap procedure is implemented, as considered in Henze, Meintanis & Ebner (2012) <doi:10.1080/03610926.2010.542851>. The recent procedures presented in Henze, Meintanis & Ebner (2012) <doi:10.1080/03610926.2010.542851> and Betsch & Ebner (2019) <doi:10.1007/s00184-019-00708-7> are implemented. Estimation of parameters of the gamma law are implemented using the method of Bhattacharya (2001) <doi:10.1080/00949650108812100>.

Downloads

CRAN

176

Last 30 days

23765th

457

Last 90 days

2.1K

Last year

Trend: +54.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

99

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

0

Last 7 days

7

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Bruno Ebner <bruno.ebner@kit.edu>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘AD.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘BE.Rd’:
    https://doi.org/10.1007/s00184-019-00708-7
  File ‘CM.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘HME1.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘HME2.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘KS.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘WA.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘gamma_est.Rd’:
    https://doi.org/10.1080/00949650108812100
  File ‘test.AD.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.BE.Rd’:
    https://doi.org/10.1007/s00184-019-00708-7
  File ‘test.CM.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.HME1.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.HME2.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.KS.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.WA.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Bruno Ebner <bruno.ebner@kit.edu>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘AD.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘BE.Rd’:
    https://doi.org/10.1007/s00184-019-00708-7
  File ‘CM.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘HME1.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘HME2.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘KS.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘WA.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘gamma_est.Rd’:
    https://doi.org/10.1080/00949650108812100
  File ‘test.AD.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.BE.Rd’:
    https://doi.org/10.1007/s00184-019-00708-7
  File ‘test.CM.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.HME1.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.HME2.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.KS.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.WA.Rd’:
    https://doi.org/10.1080/03610926.2010.542851

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Bruno Ebner <bruno.ebner@kit.edu>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘AD.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘BE.Rd’:
    https://doi.org/10.1007/s00184-019-00708-7

...[truncated]...
//doi.org/10.1080/03610926.2010.542851
  File ‘test.HME2.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.KS.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.WA.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Bruno Ebner <bruno.ebner@kit.edu>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘AD.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘BE.Rd’:
    https://doi.org/10.1007/s00184-019-00708-7

...[truncated]...
//doi.org/10.1080/03610926.2010.542851
  File ‘test.HME2.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.KS.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
  File ‘test.WA.Rd’:
    https://doi.org/10.1080/03610926.2010.542851
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code

Structure

Lines of code

1,240

Files

25

Compiled share

0%

Has compiled src

No

Language breakdown

R 656 (52.9%)Docs 584 (47.1%)

API

Exported functions

16

Internal functions

3

Recent export changes

v1.0+16 AD, BE, CM +13 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

5.9%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

CC BY 4.0

License flags

SPDX valid, not OSI

History

Versions

1

First release

2020-04-29

Latest release

2020-04-29

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Version History

1 tracked
new 1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Apr 29, 2020. Releases before tracking aren’t shown.