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 number 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.
翻译:模型不确定性是逻辑回归等二值结果统计模型中的一个核心挑战,其源于不确定应将哪些预测变量纳入模型。尽管已有多种方法被提出用于解决逻辑回归中的这一问题,但它们在现实条件下的相对表现仍不明确。为此,我们基于预注册设计,通过模拟研究比较了28种在模型不确定性下处理变量选择与推断的成熟方法,使用11个涵盖不同样本量和预测变量数量的实证数据集(包括存在和不存在分离情况)。研究发现:当不存在分离时,基于g先验的贝叶斯模型平均方法(特别是g = max(n, p^2))整体表现最优;当存在分离时,惩罚似然方法(尤以LASSO)提供最稳定的结果,而采用局部经验贝叶斯先验的BMA方法在两种情境下均具竞争力。这些发现为应用研究者在现代实证研究与机器学习中有效应对逻辑回归模型不确定性提供了实用指导。