Comparing variable selection and model averaging methods for logistic regression

N Nikola Sekulovski (Department of Psychology, University of Amsterdam) F František Bartoš D Don van den Bergh (Department of Psychology, University of Amsterdam) G Giuseppe Arena (Department of Psychology, University of Amsterdam) H Henrik R. Godmann (Department of Psychology, University of Amsterdam) V Vipasha Goyal (Department of Psychology, University of Amsterdam) J Julius M. Pfadt (Department of Psychology, University of Amsterdam) M Maarten Marsman (Department of Psychology, University of Amsterdam) A Adrian E. Raftery (Department of Statistics, University of Washington)

Abstract

Model uncertainty is a central challenge in statistical models for binary outcomes such as logistic regression, arising when it is unclear which predictors should be included in the model. Many methods have been proposed to address this issue for logistic regression, but their relative performance under realistic conditions remains poorly understood. We therefore conducted a preregistered, simulation-based comparison of 28 established methods for variable selection and inference under model uncertainty, using 11 empirical datasets spanning a range of sample sizes and numbers of predictors, in cases both with and without separation. We found that Bayesian model averaging (BMA) methods based on g –priors, particularly g = max ( n , p 2 ) , show the strongest overall performance when separation is absent. When separation occurs, penalized likelihood approaches, especially the LASSO, provide the most stable results, while BMA with the local empirical Bayes (EB-local) prior is competitive in both situations. These findings offer practical guidance for applied researchers on how to effectively address model uncertainty in logistic regression in modern empirical and machine learning research.

Article Details

Volume / Issue Vol. 123, Issue 19
Published May 12, 2026
ISSN 0027-8424
Publisher National Academy of Sciences

Authors (9)

N

Nikola Sekulovski

Department of Psychology, University of Amsterdam

F

František Bartoš

D

Don van den Bergh

Department of Psychology, University of Amsterdam

G

Giuseppe Arena

Department of Psychology, University of Amsterdam

H

Henrik R. Godmann

Department of Psychology, University of Amsterdam

V

Vipasha Goyal

Department of Psychology, University of Amsterdam

J

Julius M. Pfadt

Department of Psychology, University of Amsterdam

M

Maarten Marsman

Department of Psychology, University of Amsterdam

A

Adrian E. Raftery

Department of Statistics, University of Washington