Package: episensr 2.1.0

episensr: Basic Sensitivity Analysis of Epidemiological Results

Basic sensitivity analysis of the observed relative risks adjusting for unmeasured confounding and misclassification of the exposure/outcome, or both. It follows the bias analysis methods and examples from the book by Fox M.P., MacLehose R.F., and Lash T.L. "Applying Quantitative Bias Analysis to Epidemiologic Data, second ed.", ('Springer', 2021).

Authors:Denis Haine [aut, cre]

episensr_2.1.0.tar.gz
episensr_2.1.0.zip(r-4.7)episensr_2.1.0.zip(r-4.6)episensr_2.1.0.zip(r-4.5)
episensr_2.1.0.tgz(r-4.6-any)episensr_2.1.0.tgz(r-4.5-any)
episensr_2.1.0.tar.gz(r-4.7-any)episensr_2.1.0.tar.gz(r-4.6-any)
episensr_2.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
episensr/json (API)
NEWS

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

Bug tracker:https://codeberg.org/dhaine/episensr

Pkgdown/docs site:https://dhaine.codeberg.page

On CRAN:

Conda:

5.64 score 1 packages 72 scripts 335 downloads 1 mentions 36 exports 61 dependencies

Last updated from:52a92a1696. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK217
source / vignettesOK246
linux-release-x86_64OK223
macos-release-arm64OK254
macos-oldrel-arm64OK263
windows-develOK172
windows-releaseOK169
windows-oldrelOK152
wasm-releaseOK119

Exports:%>%boot_biasboot.biasconfoundersconfounders_arrayconfounders_emmconfounders_evalueconfounders_extconfounders_limitconfounders_polyconfounders.arrayconfounders.emmconfounders.evalueconfounders.extconfounders.limitconfounders.polymbiasmisclassmisclass_covmisclassificationmisclassification.covmultidimBiasprobsensprobsens_confprobsens_irrprobsens_irr_confprobsens_legacyprobsens_selprobsens.confprobsens.conf_legacyprobsens.irrprobsens.irr_legacyprobsens.irr.confprobsens.irr.conf_legacyprobsens.selselection

Dependencies:actuarbase64encbootcachemclicpp11curldagittydplyrexpintfarverfastmapforcatsgenericsggdagggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtableigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisepillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadillorlangS7scalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttrapezoidtriangletruncnormtweenrutf8V8vctrsviridisviridisLitewithr

Additional Sensitivity Analyses

Rendered fromd_other_sens.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2025-11-04
Started: 2020-10-16

Multiple Bias Modeling

Rendered fromc_multiple_bias.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2025-11-04
Started: 2020-10-16

Probabilistic Sensitivity Analysis

Rendered fromb_probabilistic.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2025-11-04
Started: 2020-10-16

Quantitative Bias Analysis for Epidemiologic Data

Rendered fromepisensr.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2025-11-04
Started: 2017-01-03

Readme and manuals

Help Manual

Help pageTopics
Pipe bias functions%>%
Bootstrap resampling for selection and misclassification bias models.boot_bias
Uncontrolled confoundingconfounders confounders_emm confounders_poly probsens_conf
Sensitivity analysis for unmeasured confounders based on confounding imbalance among exposed and unexposedconfounders_array
Compute E-value to assess bias due to unmeasured confounder.confounders_evalue
Sensitivity analysis for unmeasured confounders based on external adjustmentconfounders_ext
Bounding the bias limits of unmeasured confounding.confounders_limit
Sensitivity analysis to correct for selection bias caused by M bias.mbias
Misclassification of exposure or outcomemisclass probsens
Covariate misclassificationmisclass_cov
Multidimensional sensitivity analysis for different sources of biasmultidimBias
Plot of bootstrap simulation output for selection and misclassification biasplot.episensr_booted
Plot(s) of probabilistic bias analysesplot.episensr_probsens
Plot DAGs before and after conditioning on collider (M bias)plot.mbias
Print associations for episensr classprint.episensr
Print bootstrapped confidence intervalsprint.episensr_booted
Print association corrected for M biasprint.mbias
Probabilistic sensitivity analysis for exposure misclassification of person-time data and random error.probsens_irr
Probabilistic sensitivity analysis for unmeasured confounding of person-time data and random error.probsens_irr_conf
Legacy version of 'probsens()'.probsens_legacy
Legacy version of 'probsens.conf()'.probsens.conf_legacy
Legacy version of 'probsens.irr()'.probsens.irr_legacy
Legacy version of 'probsens.irr.conf()'.probsens.irr.conf_legacy
Selection bias.probsens_sel selection