Bayesian Logistic Regression
Bayesian logistic regression for a binary outcome, with posterior distributions for odds ratios.
베이즈 로지스틱 회귀 — 이분 결과에 대해 오즈비의 사후분포를 구하는 베이즈 로지스틱 회귀입니다.
Runs Bayesian Generalized Linear Model with: family set to “logistic”.
기본 방법(Bayesian Generalized Linear Model)에 다음 설정을 고정해 실행합니다: family = logistic.
My sample is small and has separation problems; can a Bayesian logistic model help?
표본이 작고 분리 문제가 있는데, 베이즈 로지스틱 모형이 도움이 되나요?
Weakly informative priors keep estimates finite under separation and give credible intervals for odds ratios. Behind it is Bayesian Generalized Linear Model with family = logistic already set; checks and report are the same as for Bayesian Generalized Linear Model.
When to use Bayesian Logistic Regression
- Binary outcome with small samples or near-separation.
- You want to bring in prior information.
When to use something else
- Large sample and no prior information; ordinary logistic regression gives nearly the same answer.
- You want to try other settings side by side; open Bayesian Generalized Linear Model and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable and predictor (feature) columns.
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 Model Comparison by LOO and Stacking
- 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.