Stepwise penalised logistic regression
Forward selection of main effects and their interactions with small L2-penalised logistic fits, size chosen by BIC.
단계적 벌점 로지스틱 회귀 — 작은 L2 벌점을 둔 로지스틱 적합으로 주효과와 상호작용을 전진 선택하고, 크기는 BIC로 정합니다.
Runs Regularized Logistic Regression (Lasso, Ridge, Elastic Net) with: stepwise set to “on”.
기본 방법(Regularized Logistic Regression (Lasso, Ridge, Elastic Net))에 다음 설정을 고정해 실행합니다: stepwise = on.
Which predictors and pairwise interactions matter for a binary outcome when there are many candidates for the sample size?
표본 크기에 비해 후보가 많을 때, 이진 결과에 중요한 설명변수와 두 변수 상호작용은 무엇인가요?
Main effects, and interactions between main effects already entered, are added one at a time by forward selection, each fit using a small L2 penalty, and the model size with the lowest BIC is kept (Park and Hastie 2008). Behind it is Regularized Logistic Regression (Lasso, Ridge, Elastic Net) with stepwise = true already set; checks and report are the same as for Regularized Logistic Regression (Lasso, Ridge, Elastic Net).
When to use Stepwise penalised logistic regression
- You suspect interactions but cannot fit all of them.
- Separation makes unpenalised logistic fits unstable.
When to use something else
- You need valid p-values for the selected terms; stepwise selection biases them.
- You want to try other settings side by side; open Regularized Logistic Regression (Lasso, Ridge, Elastic Net) 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 Regularized Logistic Regression (Lasso, Ridge, Elastic Net):
- Observations are independent
- The log-odds are linear in the (standardized) predictors
- Cross-validation folds represent future data
What the analysis reports
The output of Regularized Logistic Regression (Lasso, Ridge, Elastic Net), with the preset shown in the settings:
- Coefficients (standardized and original scale) and odds ratios (binary outcomes)
- Selected variables at the chosen λ
- λ_min and λ_1se
- Cross-validated log loss and AUC with the λ path
How this is validated
검증 근거
This variant runs the same engine as Regularized Logistic Regression (Lasso, Ridge, Elastic Net) 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.
이 설정 묶음은 Regularized Logistic Regression (Lasso, Ridge, Elastic Net)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Regularized Logistic Regression (Lasso, Ridge, Elastic Net)
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- Same as Regularized Logistic Regression (Lasso, Ridge, Elastic Net): 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations, as recorded for Regularized Logistic Regression (Lasso, Ridge, Elastic Net) (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.