Bayesian Model Averaging for Linear Regression
Bayesian model averaging for linear regression weights every subset of candidate predictors by its posterior probability to give inclusion probabilities and model-averaged coefficients.
선형회귀의 베이즈 모형평균은 후보 설명변수의 모든 부분집합을 사후확률로 가중해 변수별 포함확률과 모형평균 계수를 구하는 방법입니다.
Also known as: Bayesian Model Averaging with Unit-Information Prior
다른 이름: 단위 정보 사전분포 베이즈 모형 평균
Which of my candidate predictors really matter if I do not want to commit to a single selected model?
후보 변수가 여러 개인데 모형 하나를 고르지 않고 어떤 변수가 정말 중요한지 알 수 있을까요?
Bayesian model averaging computes the marginal likelihood of every predictor subset (by BIC approximation or a Zellner g-prior), combines it with a prior over models and averages across models instead of picking one. Each predictor's posterior inclusion probability is the total probability of the models that contain it, and its model-averaged coefficient accounts for the uncertainty about whether it belongs in the model.
When to use Bayesian Model Averaging for Linear Regression
- You have several plausible predictors and model uncertainty matters.
- Stepwise selection would overstate certainty about the chosen model.
- You want inclusion Bayes factors for each predictor.
When to use something else
- Predictors number in the hundreds; use penalised regression (lasso or elastic net) instead.
- The outcome is binary or a count; use a Bayesian generalized linear model instead.
Assumptions and requirements
- Linear relations with normally distributed, homoscedastic errors within each model.
- Observations are independent.
- Strongly correlated predictors split inclusion probability between them.
What the analysis reports
- Posterior inclusion probability and inclusion Bayes factor per predictor
- Model-averaged coefficient and SD, and the conditional mean when included
- Top models with posterior probability, size, R² and Bayes factor against the null
How to report it
Bayesian model averaging over [number] linear models for [outcome] ([BIC approximation/Zellner g-prior]; [model prior] model prior) gave the highest posterior inclusion probability for [predictor] (PIP = [value], model-averaged b = [value]); the most probable model ([predictors]) had posterior probability [value] (N = [value]).
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Bayesian Model Averaging for Linear Regression itself, at the same price.
- BMA with hyper-g prior — prior set to “hyper_g”
- BMA with Zellner-Siow prior — prior set to “zellner_siow”
- BMA with robust g-prior — prior set to “robust”
- BMA with empirical Bayes g — prior set to “eb_local”
- BMA with binomial model prior — model prior set to “binomial”
- BMA predictions for new data — newdata set to “”
- BMA jointness and log predictive score — jointness set to “on”; lps set to “on”
- Bayesian model averaging for Cox regression — family set to “cox”
Related methods
- Bayesian Linear Regression
- Hierarchical Regression
- Lasso Regression
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Bayesian Model Averaging for Linear Regression on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.