underdisp: Diagnostics and Models for Underdispersed Count Data

Tools for detecting and modeling underdispersion in count data (conditional variance below the conditional mean), the case the Poisson and negative binomial defaults cannot represent. Provides a screening diagnostic that benchmarks at-risk dispersion against a zero-truncated Poisson, regression-adjusted tests of equidispersion, and a dispersion profile that compares the variance-to-mean curves of competing families against the data; the continuous parameter binomial (CPB) and generalized event count (Katz) regressions with zero-truncated, hurdle, and zero-inflated forms and high-dimensional fixed effects with a split-panel jackknife bias correction; matched Poisson, negative binomial, COM-Poisson (rate- and mean-parameterized), generalized Poisson, gamma-count, and double Poisson regressions through the same interface, with frequency weights, offsets, and analytic, robust, and cluster-robust standard errors; bootstrap and profile-likelihood inference; proper scoring rules, rootograms, PIT histograms, and simulation methods; and quantities of interest including predicted distributions, the implied ceiling, rate ratios, and first differences with an extensive/intensive decomposition. The likelihoods are implemented in C++.

Version: 0.1.2
Depends: R (≥ 4.0)
Imports: Rcpp, stats, MASS, VGAM, graphics, methods, numDeriv, parallel
LinkingTo: Rcpp
Suggests: sandwich, pscl, DHARMa, testthat (≥ 3.0.0), knitr, rmarkdown, broom, modelsummary, texreg, gamlss.dist, rmutil, glmmTMB, COMPoissonReg, Ecdat, wooldridge
Published: 2026-09-30
DOI: 10.32614/CRAN.package.underdisp
Author: Benjamin E. Bagozzi ORCID iD [aut, cre]
Maintainer: Benjamin E. Bagozzi <bagozzib at udel.edu>
BugReports: https://github.com/bagozzib/underdisp/issues
License: GPL-3
URL: https://CRAN.R-project.org/package=underdisp, https://github.com/bagozzib/underdisp, https://bagozzib.github.io/underdisp/
NeedsCompilation: yes
Citation: underdisp citation info
Materials: README, NEWS
CRAN checks: underdisp results

Documentation:

Reference manual: underdisp.html , underdisp.pdf
Vignettes: Detecting and Modeling Underdispersed Counts (source, R code)

Downloads:

Package source: underdisp_0.1.2.tar.gz
Windows binaries: r-devel: underdisp_0.1.2.zip, r-release: underdisp_0.1.1.zip, r-oldrel: underdisp_0.1.0.zip
macOS binaries: r-release (arm64): underdisp_0.1.1.tgz, r-oldrel (arm64): underdisp_0.1.1.tgz, r-release (x86_64): underdisp_0.1.2.tgz, r-oldrel (x86_64): underdisp_0.1.2.tgz
Old sources: underdisp archive

Linking:

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

mirror server hosted at Truenetwork, Russian Federation.