tweedieDistr: Tweedie Distribution

Provides density, distribution function, quantile function, and random generation for the Tweedie distribution under the compound Poisson-Gamma parameterisation with power parameter in (1, 2). The density is evaluated using the series expansion of Dunn and Smyth (2005) <doi:10.1007/s11222-005-4070-y>, implemented in C++ via 'Rcpp' and 'RcppArmadillo' for performance. A constructor compatible with the distributional package is also provided for use in tidy modelling workflows.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: distributional, Rcpp, rlang, stats
LinkingTo: Rcpp, RcppArmadillo
Suggests: ggdist, ggplot2, testthat (≥ 3.0.0), tibble, tweedie
Published: 2026-07-15
DOI: 10.32614/CRAN.package.tweedieDistr (may not be active yet)
Author: Stefano Damato [aut, cre]
Maintainer: Stefano Damato <stefanodamato128 at gmail.com>
BugReports: https://github.com/StefanoDamato/tweedieDistr/issues
License: LGPL (≥ 3)
URL: https://github.com/StefanoDamato/tweedieDistr
NeedsCompilation: yes
Materials: README
CRAN checks: tweedieDistr results

Documentation:

Reference manual: tweedieDistr.html , tweedieDistr.pdf

Downloads:

Package source: tweedieDistr_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): tweedieDistr_0.1.0.tgz, r-oldrel (arm64): tweedieDistr_0.1.0.tgz, r-release (x86_64): tweedieDistr_0.1.0.tgz, r-oldrel (x86_64): tweedieDistr_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tweedieDistr to link to this page.