Cluster-Weighted Model
A cluster-weighted model finds hidden groups that differ both in where their predictor values lie and in how the outcome depends on those predictors. Each group has its own distribution of the predictors and its own linear regression, and group membership is learned from the joint data.
군집가중 모형은 설명변수 값이 놓인 위치와 결과가 설명변수에 의존하는 방식이 모두 다른 숨은 집단을 찾습니다. 각 집단은 고유한 설명변수 분포와 선형회귀를 가지며, 집단 소속은 결합 자료에서 학습됩니다.
Does my data contain hidden subgroups with different regression relations, and where do those subgroups sit in predictor space?
자료 안에 회귀 관계가 다른 숨은 하위집단이 있는지, 그 집단들이 설명변수 공간의 어디에 있는지 어떻게 알 수 있습니까?
The method compares models with one to several groups by BIC and reports, for the selected model, each group's weight, regression coefficients, residual SD and predictor means, with an entropy measure of how clearly cases are assigned.
When to use Cluster-Weighted Model
- Relations between variables differ across unobserved subgroups.
- Subgroups also differ in their predictor values.
- You want the number of subgroups chosen by BIC.
When to use something else
- Only the regressions differ and predictors do not inform membership: use Finite Mixture of Regressions
Assumptions and requirements
- Normal predictors within groups
- Linear regression with normal errors within groups
- Independent observations
What the analysis reports
- BIC by number of groups
- Group weights and regression coefficients
- Residual SD and predictor means per group
- Classification entropy
How to report it
A cluster-weighted model selected [value] groups by BIC; group weights were [value] and [value] with slopes [value] and [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy, statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. SciPy·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 Cluster-Weighted Model on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.