Package: multibias 1.7.3

multibias: Multiple Bias Analysis in Causal Inference

Quantify exposure-outcome causal effects with adjustment for multiple biases. The functions can simultaneously adjust for any combination of uncontrolled confounding, exposure/outcome misclassification, and selection bias. The underlying method generalizes the combination of inverse probability of selection weighting with predictive value weighting. Simultaneous multi-bias analysis can be used to enhance the validity and transparency of real-world evidence obtained from observational, longitudinal studies. Based on the work from Paul Brendel, Aracelis Torres, and Onyebuchi Arah (2023) <doi:10.1093/ije/dyad001>.

Authors:Paul Brendel [aut, cre, cph]

multibias_1.7.3.tar.gz
multibias_1.7.3.zip(r-4.7)multibias_1.7.3.zip(r-4.6)multibias_1.7.3.zip(r-4.5)
multibias_1.7.3.tgz(r-4.6-any)multibias_1.7.3.tgz(r-4.5-any)
multibias_1.7.3.tar.gz(r-4.7-any)multibias_1.7.3.tar.gz(r-4.6-any)
multibias_1.7.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
multibias/json (API)

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

Bug tracker:https://github.com/pcbrendel/multibias/issues

Pkgdown/docs site:https://www.paulbrendel.com

Datasets:
  • df_em - Simulated data with exposure misclassification
  • df_em_om - Simulated data with exposure misclassification and outcome misclassification
  • df_em_om_source - Data source for 'df_em_om'
  • df_em_sel - Simulated data with exposure misclassification and selection bias
  • df_em_sel_source - Data source for 'df_em_sel'
  • df_em_source - Data source for 'df_em'
  • df_om - Simulated data with outcome misclassification
  • df_om_sel - Simulated data with outcome misclassification and selection bias
  • df_om_sel_source - Data source for 'df_om_sel'
  • df_om_source - Data source for 'df_om'
  • df_sel - Simulated data with selection bias
  • df_sel_source - Data source for 'df_sel'
  • df_uc - Simulated data with uncontrolled confounding
  • df_uc_em - Simulated data with uncontrolled confounding and exposure misclassification
  • df_uc_em_sel - Simulated data with uncontrolled confounding, exposure misclassification, and selection bias
  • df_uc_em_sel_source - Data source for 'df_uc_em_sel'
  • df_uc_em_source - Data source for 'df_uc_em'
  • df_uc_om - Simulated data with uncontrolled confounding and outcome misclassification
  • df_uc_om_sel - Simulated data with uncontrolled confounding, outcome misclassification, and selection bias
  • df_uc_om_sel_source - Data source for 'df_uc_om_sel'
  • df_uc_om_source - Data source for 'df_uc_om'
  • df_uc_sel - Simulated data with uncontrolled confounding and selection bias
  • df_uc_sel_source - Data source for 'df_uc_sel'
  • df_uc_source - Data source for 'df_uc'

On CRAN:

Conda:

causal-inferencecausal-modelsepidemiology

5.53 score 2 stars 17 scripts 625 downloads 5 exports 31 dependencies

Last updated from:4b68218f55. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK284
source / vignettesOK269
linux-release-x86_64OK279
macos-release-arm64OK172
macos-oldrel-arm64OK204
windows-develOK289
windows-releaseOK282
windows-oldrelOK321
wasm-releaseOK112

Exports:bias_paramsdata_observeddata_validationmultibias_adjustmultibias_plot

Dependencies:backportsbroomclicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Multibias example: NHANES
Introduction | Setup | Data Preparation and Exploration | Creating the Exposure Variable | Data Characteristics | Multiple Bias Analysis | 1. Adjusting for Uncontrolled Confounding | 2. Adding Exposure Misclassification Adjustment | 3. Adding Selection Bias Adjustment | Visualize Results | Discussion

Last update: 2026-04-20
Started: 2025-02-19

Frequently Asked Questions
How does multibias fit into the causal inference workflow? | My causal analysis leveraged propensity scores - how does that fit into a multibias analysis? | What is bootstrapping and how is it relevant here? | How do I cite multibias? | Does multibias support time-to-event data and analyses?

Last update: 2025-06-11
Started: 2025-06-11

Introduction to multibias
1. Create data_observed | 2. Create source for bias adjustment | Option 1: Bias parameters | Option 2: Validation data | 3. Run the bias adjustment | Single run | Bootstrapping | 4. Visualize results

Last update: 2025-06-11
Started: 2024-10-26

Multibias Validation

Last update: 2025-05-08
Started: 2025-02-19

Multibias example: Evans

Last update: 2025-05-06
Started: 2025-02-19

Readme and manuals

Help Manual

Help pageTopics
Represent bias parametersbias_params
Represent observed causal datadata_observed
Represent validation causal datadata_validation
Simulated data with exposure misclassificationdf_em
Simulated data with exposure misclassification and outcome misclassificationdf_em_om
Data source for 'df_em_om'df_em_om_source
Simulated data with exposure misclassification and selection biasdf_em_sel
Data source for 'df_em_sel'df_em_sel_source
Data source for 'df_em'df_em_source
Simulated data with outcome misclassificationdf_om
Simulated data with outcome misclassification and selection biasdf_om_sel
Data source for 'df_om_sel'df_om_sel_source
Data source for 'df_om'df_om_source
Simulated data with selection biasdf_sel
Data source for 'df_sel'df_sel_source
Simulated data with uncontrolled confoundingdf_uc
Simulated data with uncontrolled confounding and exposure misclassificationdf_uc_em
Simulated data with uncontrolled confounding, exposure misclassification, and selection biasdf_uc_em_sel
Data source for 'df_uc_em_sel'df_uc_em_sel_source
Data source for 'df_uc_em'df_uc_em_source
Simulated data with uncontrolled confounding and outcome misclassificationdf_uc_om
Simulated data with uncontrolled confounding, outcome misclassification, and selection biasdf_uc_om_sel
Data source for 'df_uc_om_sel'df_uc_om_sel_source
Data source for 'df_uc_om'df_uc_om_source
Simulated data with uncontrolled confounding and selection biasdf_uc_sel
Data source for 'df_uc_sel'df_uc_sel_source
Data source for 'df_uc'df_uc_source
Simultaneously adjust for multiple biasesmultibias_adjust
Create a Forest Plot comparing observed and adjusted effect estimatesmultibias_plot