twopartm: Two-Part Model with Marginal Effects

Fit two-part regression models for zero-inflated data. The models and their components are represented using S4 classes and methods. Average Marginal effects and predictive margins with standard errors and confidence intervals can be calculated from two-part model objects. Belotti, F., Deb, P., Manning, W. G., & Norton, E. C. (2015) <doi:10.1177/1536867X1501500102>.

Version: 0.1.0
Depends: R (≥ 2.10)
Imports: methods, graphics, stats, data.table, MASS
Published: 2022-10-14
DOI: 10.32614/CRAN.package.twopartm
Author: Yajie Duan [aut, cre], Birol Emir [aut], Griffith Bell [aut], Javier Cabrera [aut], Pfizer Inc. [cph, fnd]
Maintainer: Yajie Duan <yajieritaduan at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README
CRAN checks: twopartm results


Reference manual: twopartm.pdf


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


Please use the canonical form to link to this page.