# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "riskdiff" in publications use:' type: software license: MIT title: 'riskdiff: Risk Difference Estimation with Multiple Link Functions and Inverse Probability of Treatment Weighting' version: 0.3.0 doi: 10.32614/CRAN.package.riskdiff abstract: 'Calculates risk differences (or prevalence differences for cross-sectional data) and Number Needed to Treat (NNT) using generalized linear models with automatic link function selection. Provides robust model fitting with fallback methods, support for stratification and adjustment variables, inverse probability of treatment weighting (IPTW) for causal inference with NNT calculations, and publication-ready output formatting. Handles model convergence issues gracefully and provides confidence intervals using multiple approaches. Methods are based on approaches described in Mark W. Donoghoe and Ian C. Marschner (2018) "logbin: An R Package for Relative Risk Regression Using the Log-Binomial Model" for robust GLM fitting, Peter C. Austin (2011) "An Introduction to Propensity Score Methods for Reducing the Effects of Confounding in Observational Studies" for IPTW methods, and standard epidemiological methods for risk difference estimation as described in Kenneth J. Rothman, Sander Greenland and Timothy L. Lash (2008, ISBN:9780781755641) "Modern Epidemiology".' authors: - family-names: Murphy given-names: John D. email: jackdmurphy@protonmail.com orcid: https://orcid.org/0000-0002-7714-9976 repository: https://jackmurphy2351.r-universe.dev repository-code: https://github.com/jackmurphy2351/riskdiff commit: e229bdce163d8a09cec0359afeaea474cbb0e21b url: https://github.com/jackmurphy2351/riskdiff date-released: '2026-02-26' contact: - family-names: Murphy given-names: John D. email: jackdmurphy@protonmail.com orcid: https://orcid.org/0000-0002-7714-9976