Pitman-Yor Process Mixture Model
A Pitman-Yor process mixture models a distribution as a mixture of normals with an unlimited number of components. It extends the Dirichlet process with a discount parameter: with a positive discount the number of clusters grows like a power of the sample size and many small clusters are allowed, which suits data with a long tail of rare groups.
피트먼-요르 과정 혼합모형은 분포를 성분 수에 제한이 없는 정규분포 혼합으로 나타냅니다. 디리클레 과정에 할인 모수를 더한 것으로, 할인 모수가 양수이면 군집 수가 표본 크기의 거듭제곱처럼 늘어나 작은 군집이 많이 생길 수 있어 드문 집단이 길게 이어지는 자료에 알맞습니다.
What does the distribution of my variable look like, and how many clusters does it seem to contain, without fixing that number in advance?
미리 정하지 않고 볼 때 이 변수의 분포는 어떤 모양이며, 군집은 몇 개쯤 들어 있을까요?
The sampler returns the posterior mean density on a grid with a pointwise credible band, the posterior distribution of the number of occupied components (with probabilities for 1 to 10) and, for comparison, the prior expected number of clusters implied by the discount and concentration.
When to use Pitman-Yor Process Mixture Model
- You want a flexible density estimate with uncertainty
- The number of clusters is unknown and may grow with more data
- You expect many small clusters (a power-law pattern)
When to use something else
- You want a quick smooth density without a model: use Kernel Density Estimation
- You know the number of components: use Gaussian Mixture Model (GMM)
- Data come in groups to be clustered by distribution: use Nested Dirichlet Process Mixture
Assumptions and requirements
- Observations are exchangeable draws from one distribution
- Each cluster is approximately normal
- The truncation level is large enough (checked from the weight of the last component)
What the analysis reports
- Posterior mean density with pointwise credible band
- Posterior distribution and interval of the number of clusters
- Prior expected number of clusters
- Truncation diagnostic
How to report it
A Pitman-Yor process mixture of normals (discount [value], concentration [value]) used on average [value] occupied components (95% CrI [value], [value]; prior mean [value]).
Related methods
- Bayesian Finite Mixture Model (Gibbs Sampling)
- Gaussian Mixture Model (GMM)
- Kernel Density Estimation
- Hierarchical Dirichlet 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 Pitman-Yor Process Mixture Model on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- 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.