Nested Dirichlet Process Mixture
The nested Dirichlet process clusters groups such as hospitals or schools by the whole distribution of their outcome, not only by its mean. Each group's distribution is drawn from a discrete set of candidate distributions, and each candidate is itself a flexible mixture of normals, so groups that share a candidate are judged to have the same distribution.
중첩 디리클레 과정은 병원이나 학교 같은 집단을 결과 변수의 평균만이 아니라 분포 전체로 묶는 방법입니다. 각 집단의 분포는 이산적인 후보 분포들 가운데 하나에서 나오고, 각 후보는 다시 정규분포들의 유연한 혼합이므로 같은 후보를 공유하는 집단은 분포가 같다고 판단합니다.
Which of my groups have essentially the same outcome distribution, including its spread, skewness and number of modes, and how sure can I be?
어느 집단들이 퍼짐, 치우침, 봉우리 수까지 포함해 사실상 같은 결과 분포를 갖고 있으며, 그 판단은 얼마나 확실할까요?
The sampler alternates between assigning groups to distributional clusters and observations to mixture components. You get the posterior probability that every pair of groups shares a distribution, a single best clustering of the groups, the posterior number of distinct distributions and a predictive summary (mean, SD, quantiles) for each group.
When to use Nested Dirichlet Process Mixture
- Groups may differ in shape or spread, not just in location
- You want to know which groups are interchangeable without fixing the number of clusters
- Each group has enough observations to show its distribution (roughly 10 or more)
When to use something else
- You only want to compare group means: use Bayesian Hierarchical Model
- Observations are not nested in groups: use Hierarchical Dirichlet Process Mixture Model
- You need a fixed number of clusters of individuals: use Bayesian Finite Mixture Model (Gibbs Sampling)
Assumptions and requirements
- Observations within a group are exchangeable given the group's distribution
- Groups are exchangeable a priori
- The truncation levels are large enough (checked from the weight of the last component)
What the analysis reports
- Pairwise posterior co-clustering probabilities of groups
- Point clustering of groups (least-squares criterion)
- Posterior number of distinct distributions and probability that all groups share one
- Per-group predictive mean, SD and quantiles
How to report it
A nested Dirichlet process mixture grouped the outcome distributions of [value] hospitals into [value] distributional clusters (posterior mean number [value]); the posterior probability that all hospitals share one distribution was [value].
Related methods
- Hierarchical Dirichlet Process Mixture Model
- Bayesian Finite Mixture Model (Gibbs Sampling)
- Bayesian Hierarchical Model
- Pitman-Yor Process Mixture Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 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 Nested Dirichlet Process Mixture on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a grouping variable
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.