Skip to content

Methods · Regression · Model selection

Stepwise Model Selection by AIC

Stepwise selection by AIC adds or removes one term at a time, each time making the move that lowers the Akaike (or Bayesian) information criterion the most, until no move improves it.

AIC 단계적 선택은 항을 하나씩 더하거나 빼되, 매번 아카이케(또는 베이즈) 정보기준을 가장 많이 낮추는 쪽을 골라 더 나아지지 않을 때까지 반복하는 방법입니다.

I have many candidate predictors and want a smaller model that predicts well; how do I let an information criterion, rather than p-values, decide which terms to keep?

후보 설명변수가 많아서 예측을 잘하는 작은 모형을 만들고 싶은데, p값 대신 정보기준으로 남길 항을 정하려면 어떻게 하나요?

Starting from the full or the intercept-only model, every allowed addition or deletion is scored by AIC = −2 log-likelihood + 2 × parameters (or BIC with log n), and the best move is taken while it lowers the criterion. Categorical predictors enter or leave as a whole, and the path, the final terms and their coefficients are reported with a warning that post-selection p-values are optimistic.

When to use Stepwise Model Selection by AIC

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Bidirectional stepwise selection by AIC retained [k] terms ([terms]); AIC fell from [value] to [value].

Common variants

자주 쓰는 설정

The same analysis with settings already chosen. Each runs Stepwise Model Selection by AIC itself, at the same price.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Stepwise Model Selection by AIC on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
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
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q21086 · Reviewed 2026-10-25