Computes bounds and sensitivity parameters as part of sensitivity analysis for selection bias. Different bounds are provided: the SV (Smith and VanderWeele), sharp bounds, AF (assumption-free) bound, GAF (generalized AF), and CAF (counterfactual AF) bounds. The calculation of the sensitivity parameters for the SV, sharp, and GAF bounds assume an additional dependence structure in form of a generalized M-structure. The bounds can be calculated for any structure as long as the necessary assumptions hold. See Smith and VanderWeele (2019) <doi:10.1097/EDE.0000000000001032>, Zetterstrom, Sjölander, and Waernabum (2025) <doi:10.1177/09622802251374168>, Zetterstrom and Waernbaum (2022) <doi:10.1515/em-2022-0108>, and Zetterstrom (2024) <doi:10.1515/em-2023-0033>.
| Version: | 2.1.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | arm, lifecycle, stats |
| Suggests: | knitr, table1, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2025-10-13 |
| DOI: | 10.32614/CRAN.package.SelectionBias |
| Author: | Stina Zetterstrom |
| Maintainer: | Stina Zetterstrom <stina.zetterstrom at gmail.com> |
| BugReports: | https://github.com/StinaZet/SelectionBias/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/StinaZet/SelectionBias |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | SelectionBias results |
| Reference manual: | SelectionBias.html , SelectionBias.pdf |
| Vignettes: |
SelectionBias (source, R code) |
| Package source: | SelectionBias_2.1.0.tar.gz |
| Windows binaries: | r-devel: SelectionBias_2.1.0.zip, r-release: SelectionBias_2.1.0.zip, r-oldrel: SelectionBias_2.1.0.zip |
| macOS binaries: | r-release (arm64): SelectionBias_2.1.0.tgz, r-oldrel (arm64): SelectionBias_2.1.0.tgz, r-release (x86_64): SelectionBias_2.1.0.tgz, r-oldrel (x86_64): SelectionBias_2.1.0.tgz |
| Old sources: | SelectionBias archive |
Please use the canonical form https://CRAN.R-project.org/package=SelectionBias to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.