Package: twopartm 0.1.0

Yajie Duan

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>.

Authors:Yajie Duan [aut, cre], Birol Emir [aut], Griffith Bell [aut], Javier Cabrera [aut], Pfizer Inc. [cph, fnd]

twopartm_0.1.0.tar.gz
twopartm_0.1.0.tar.gz(r-4.5-noble)twopartm_0.1.0.tar.gz(r-4.4-noble)
twopartm_0.1.0.tgz(r-4.4-emscripten)twopartm_0.1.0.tgz(r-4.3-emscripten)
twopartm.pdf |twopartm.html
twopartm/json (API)

# Install 'twopartm' in R:
install.packages('twopartm', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • bioChemists - Articles by Graduate Students in Biochemistry Ph.D. Programs
  • meps - A Sample of Medical Expenditure Panel Survey 2004 data

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.18 score 3 stars 8 scripts 407 downloads 11 exports 2 dependencies

Last updated 2 years agofrom:f94c566708. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 26 2024
R-4.5-linuxOKNov 26 2024

Exports:AMEcoefFiellerRatiologLikmarginplotpredictresidualsshowsummarytpm

Dependencies:data.tableMASS