Bayesian Model Comparison by LOO and Stacking
Compares several Bayesian models built from predictor sets you list, by PSIS-LOO expected predictive accuracy, and gives stacking weights.
LOO·스태킹 베이즈 모형 비교 — 직접 나열한 설명변수 묶음으로 만든 여러 베이즈 모형을 PSIS-LOO 예측 정확도로 비교하고 스태킹 가중치를 냅니다.
Runs Bayesian Generalized Linear Model with: .
기본 방법(Bayesian Generalized Linear Model)에 다음 설정을 고정해 실행합니다: .
Which set of predictors predicts best in a Bayesian model, and how should I weight them?
베이즈 모형에서 어떤 설명변수 묶음이 가장 잘 예측하고, 어떻게 가중해야 하나요?
Each model is scored by leave-one-out cross-validation; stacking weights combine them for prediction. It runs Bayesian Generalized Linear Model with compare_models (list of predictor sets) supplied as an extra input; checks and report follow Bayesian Generalized Linear Model.
When to use Bayesian Model Comparison by LOO and Stacking
- You have a few candidate predictor sets to compare.
- Out-of-sample prediction is the criterion.
When to use something else
- You need a hypothesis test of one coefficient; model comparison answers a different question.
- You have nothing to give for compare_models; Bayesian Generalized Linear Model runs without it.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
- compare models (list of predictor sets)
Assumptions and requirements
The same as for Bayesian Generalized Linear Model:
- The chosen family and log/logit/identity link describe the outcome.
- Observations are independent given the predictors.
- Predictors enter linearly on the link scale.
- Chains have converged (R-hat < 1.01, no divergences).
What the analysis reports
The output of Bayesian Generalized Linear Model, with the preset shown in the settings:
- Posterior mean, SD and 95% credible interval per coefficient on the original scale
- Posterior probability that each coefficient is positive
- R-hat, effective sample size and divergence count
- Posterior predictive p-values for the mean, SD and share of zeros
- PSIS-LOO expected log predictive density with Pareto k
- Optional comparison of several predictor sets by PSIS-LOO (elpd differences with SE, stacking and pseudo-BMA weights)
- Optional prior sensitivity: change in posterior means when the coefficient priors are power-scaled
- Optional ordinal (cumulative logit, proportional odds) family with posterior cutpoints and cumulative odds ratios
- Optional multinomial (softmax, reference category) and Student-t robust regression families with the same sampler and diagnostics, posterior mode and maximum-likelihood columns
How this is validated
검증 근거
This variant runs the same engine as Bayesian Generalized Linear Model with the settings above fixed, so the evidence is that method’s: compared with independent computations. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Bayesian Generalized Linear Model와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Bayesian Generalized Linear Model
- Bayesian Negative Binomial Regression
- Bayesian Ordinal Regression
- Bayesian Poisson Regression
- Bayesian Logistic Regression
- Bayesian GLM with Prior Sensitivity Check
- Bayesian gamma regression
- Bayesian inverse Gaussian regression
- Bayesian GLM with Jeffreys prior
- Bayesian GLM with flat prior
- Bayesian cloglog regression
- Bayesian beta regression
- Bayesian fractional response regression
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Bayesian Generalized Linear Model: 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
- Compared with independent computations, as recorded for Bayesian Generalized Linear Model (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.