Skip to content

logcumulant

Goodness-of-Fit Tests and Diagrams Based on Mellin Log-Cumulants

v0.1.0 · Jun 12, 2026 · GPL-3

Description

A family of three complementary goodness-of-fit tests based on an adaptation of Hotelling's T-squared statistic applied to vectors of sample log-cumulants (Mellin statistics) for positive-support reliability data. The package provides the asymptotic chi-squared reference and parametric bootstrap p-values for reliable finite-sample inference, covering the Weibull, Frechet, Gamma, Inverse-Gamma, Log-Normal, and Log-Logistic families. It also provides three diagnostic diagrams (log-cumulant, kurtosis-skewness, and coefficient-of-variation) with bootstrap concentration ellipses, in the spirit of moment-ratio diagrams. Methods are described in Santos, Ospina, Espinheira and Oliveira (2025).

Downloads

CRAN

316

Last 30 days

14433rd

316

Last 90 days

316

Last year

r2u CRAN

19

Last 30 days

19

Last 90 days

19

Last year

autoCRAN

0

Last 7 days

0

Last 30 days

0

All-time

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

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
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 History

OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 13, 2026

Code

Structure

Lines of code

2,539

Files

60

Compiled share

10.5%

Has compiled src

Yes

Language breakdown

R 1,217 (47.9%)C/C++/src 266 (10.5%)Tests 60 (2.4%)Docs 754 (29.7%)Vignettes 242 (9.5%)

API

Exported functions

22

Internal functions

20

Recent export changes

v0.1.0+22 T2_all, T2_bootstrap, T2_one +19 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.05

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

10%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2026-06-12

Latest release

2026-06-12

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.

Dependency Network

Dependencies Reverse dependencies Rcpp MASS VGAM actuar numDeriv goftest ggplot2 gridExtra logcumulant

Version History

1 tracked
new 0.1.0 Jun 12, 2026