Stepwise Discriminant Analysis (Wilks' Lambda)
Stepwise discriminant analysis selects, from a set of candidate predictors, the variables that best separate known groups. At each step the variable that most reduces Wilks' lambda enters if its F-to-enter is large enough, and variables already selected are removed if their F-to-remove becomes too small.
단계적 판별분석은 여러 후보 변수 가운데 집단을 가장 잘 구분하는 변수를 Wilks 람다를 가장 크게 줄이는 순서로 넣고, 기여가 약해진 변수는 빼면서 판별에 필요한 변수 집합을 고르는 방법이다.
Which of many measured variables are needed to tell the groups apart?
측정한 여러 변수 중 어떤 변수만 있으면 집단을 구분할 수 있나요?
Wilks' lambda is the share of total variation not explained by group differences. The procedure adds the variable whose partial lambda is smallest, checks earlier choices for removal, and stops when no remaining variable adds significant separation. It reports the selection path, the final multivariate test and classification accuracy.
When to use Stepwise Discriminant Analysis (Wilks' Lambda)
- You have a grouping variable and many numeric candidate predictors.
- You want a compact set of variables for a discriminant function.
- You need results comparable with the classic SPSS stepwise discriminant procedure.
When to use something else
- You already know which predictors to use: use Linear Discriminant Analysis.
- Predictors are far more numerous than cases or highly collinear: use PLS Discriminant Analysis (PLS-DA).
- You want to test group differences on all variables at once: use MANOVA.
Assumptions and requirements
- Predictors are approximately multivariate normal within groups.
- Groups share a common covariance matrix.
- Selection p-values ignore the search and are optimistic; validate the chosen set.
What the analysis reports
- Step-by-step entries and removals with F, df and p
- Final Wilks' lambda with Rao's F and Bartlett's chi-square
- F-to-remove for selected variables
- Resubstitution and cross-validated accuracy
How to report it
Stepwise discriminant analysis selected [value] of [value] predictors; the final set gave Wilks' λ = [value], F([df1], [df2]) = [value], p = [value], with [value]% cross-validated accuracy.
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Stepwise Discriminant Analysis (Wilks' Lambda) itself, at the same price.
- Forward stepwise discriminant analysis — method set to “forward”
- Backward elimination discriminant analysis — method set to “backward”
- Stepwise discriminant analysis with Pillai's trace — pillai set to “on”
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 1건 통과.
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 Discriminant Analysis (Wilks' Lambda) 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.