Package: underdisp
Type: Package
Title: Diagnostics and Models for Underdispersed Count Data
Version: 0.1.0
Authors@R: person("Benjamin E.", "Bagozzi", email = "bagozzib@udel.edu",
    role = c("aut", "cre"))
Description: Tools for detecting and modeling underdispersion in count data
    (conditional variance below the conditional mean), a phenomenon overlooked by
    the Poisson and negative binomial defaults. Provides a screening diagnostic that
    benchmarks at-risk dispersion against a zero-truncated Poisson; the continuous
    parameter binomial (CPB) regression and its zero-truncated variant, with an
    interpretable observation-specific bound and high-dimensional fixed-effects support;
    validated bootstrap (for coefficients) and profile-likelihood (for the dispersion
    parameter) inference; and quantities of interest including predicted probabilities
    and the implied ceiling. The likelihood is implemented in C++ for speed.
License: GPL-3
Encoding: UTF-8
LazyData: true
Depends: R (>= 4.0)
Imports: Rcpp, stats, MASS, VGAM, graphics, methods, numDeriv
LinkingTo: Rcpp
Suggests: sandwich, pscl, DHARMa, testthat (>= 3.0.0), knitr,
        rmarkdown, broom, modelsummary, texreg
VignetteBuilder: knitr
RoxygenNote: 7.3.3
URL: https://github.com/bagozzib/underdisp
BugReports: https://github.com/bagozzib/underdisp/issues
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2026-08-19 12:44:18 UTC; bagoz
Author: Benjamin E. Bagozzi [aut, cre]
Maintainer: Benjamin E. Bagozzi <bagozzib@udel.edu>
Repository: CRAN
Date/Publication: 2026-08-20 16:40:02 UTC
Built: R 4.5.2; x86_64-apple-darwin20; 2026-08-20 18:01:55 UTC; unix
Archs: underdisp.so.dSYM
