Bayesian Adjustment for Confounding (BAC)
A model-averaging approach to estimating an exposure effect that averages jointly over exposure and outcome models, with a prior that pushes covariates predicting the exposure into the outcome model so that confounders are not dropped.
노출 모형과 결과 모형을 함께 평균하는 모형평균 방법으로, 노출을 예측하는 공변량이 결과 모형에 들어가도록 하는 사전분포를 두어 교란변수가 빠지지 않게 하고 노출 효과를 추정합니다.
Among my many candidate confounders, which ones need to be adjusted for, and what is the exposure effect once I account for uncertainty about that choice?
여러 후보 교란변수 가운데 무엇을 보정해야 하며, 그 선택의 불확실성까지 반영한 노출 효과는 얼마인지 알고 싶습니다.
The method considers every subset of candidate confounders for an exposure model and for an outcome model that always contains the exposure. A dependence parameter omega makes a covariate that enters the exposure model very likely to enter the outcome model too. Posterior probabilities of all model pairs, computed from BIC marginal likelihoods, are used to average the exposure coefficient and its uncertainty.
When to use Bayesian Adjustment for Confounding (BAC)
- A moderate number of measured potential confounders and a continuous outcome.
- Ordinary variable selection would drop weak predictors of the outcome that are strong predictors of the exposure.
- You want an effect estimate that reflects uncertainty about the adjustment set.
When to use something else
- High-dimensional covariates: use Outcome-Adaptive Lasso for Confounder Selection.
- Nonlinear or heterogeneous effects: use BART Causal Effects (ATE, ATT, CATE).
- The adjustment set is already fixed: use G-Computation (Parametric Standardisation).
Assumptions and requirements
- No unmeasured confounding among the candidates.
- Linear outcome model with normal errors; linear or logistic exposure model.
- BIC is an adequate approximation to marginal likelihoods.
What the analysis reports
- Model-averaged exposure effect with posterior SD and 95% interval
- Posterior inclusion probabilities in outcome and exposure models
- Most probable outcome models
- Fully adjusted and unadjusted estimates for comparison
How to report it
Bayesian adjustment for confounding (omega = infinity) gave a model-averaged exposure effect of [value] (posterior SD [sd], 95% interval [low, high]).
Related methods
- Outcome-Adaptive Lasso for Confounder Selection
- Bayesian Model Averaging for Linear Regression
- G-Computation (Parametric Standardisation)
- BART Causal Effects (ATE, ATT, CATE)
How this method is validated
이 방법의 검증 근거
- R cross-check. 18 reported values agree with R (stats::lm) within a tolerance of 1e-9; the largest observed difference is 6e-14.
R 교차 검증. R(stats::lm) 대조: 보고 값 18개가 허용오차 1e-9 안에서 일치합니다(관측된 최대 차이 6e-14).
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (254 values) agree with R (psych::describe, stats::cor.test, stats::quantile, stats::t.test) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, stats::cor.test, stats::quantile, stats::t.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 254개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Bayesian Adjustment for Confounding (BAC) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.