Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 tweedieDistr_0.1.0.tar.gz 162.9 KiB
0.1.0 rolling linux/noble R-4.5 tweedieDistr_0.1.0.tar.gz 170.0 KiB
0.1.0 rolling source/ R- tweedieDistr_0.1.0.tar.gz 68.8 KiB
0.1.0 latest linux/jammy R-4.5 tweedieDistr_0.1.0.tar.gz 162.9 KiB
0.1.0 latest linux/noble R-4.5 tweedieDistr_0.1.0.tar.gz 170.0 KiB
0.1.0 latest source/ R- tweedieDistr_0.1.0.tar.gz 68.8 KiB
0.1.0 2026-04-23 source/ R- tweedieDistr_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests