Probabilistic Principal Component Analysis (PPCA)
Probabilistic PCA treats each observation as a linear function of a few standard normal latent variables plus noise with the same variance for every variable. Its maximum-likelihood loadings span the same space as ordinary principal components, but the model also gives a noise variance, a likelihood and therefore a principled way to compare numbers of components.
확률적 주성분분석은 각 관측치를 소수의 표준정규 잠재변수의 선형함수에 모든 변수에서 분산이 같은 오차를 더한 것으로 봅니다. 최대우도 적재값은 일반 주성분과 같은 공간을 이루지만, 오차분산과 우도를 함께 주므로 성분 수를 통계적으로 비교할 수 있습니다.
How many principal components does my data support when I treat PCA as a statistical model?
주성분분석을 통계모형으로 보았을 때 자료가 몇 개의 성분을 지지하는지 알고 싶습니다.
For each number of components q, the noise variance is the average of the discarded eigenvalues and the loadings are the leading eigenvectors scaled by the square root of their eigenvalue minus that noise. The log-likelihood, AIC and BIC are reported for every q, the model with the lowest BIC is chosen unless you fix q, and posterior latent scores are computed for each row.
When to use Probabilistic Principal Component Analysis (PPCA)
- You want to choose the number of components with a likelihood criterion instead of a rule of thumb.
- You need a noise variance or a density for the data, for example to score new observations.
- You want PCA results that can be compared across models by AIC or BIC.
When to use something else
- Variables have very different error variances: use Exploratory Factor Analysis (EFA)
- You only need components and explained variance: use Principal Component Analysis (PCA)
- The data contain gross outliers: use Robust Principal Component Analysis
Assumptions and requirements
- Rows are independent and approximately multivariate normal
- Noise has the same variance in every (standardized) variable
- Relations between variables are linear
What the analysis reports
- Selected number of components and the criterion used
- Noise variance sigma squared
- Loadings and share of each variable's variance that is noise
- Log-likelihood, AIC and BIC for every q
How to report it
Probabilistic PCA selected q = [value] latent dimensions by BIC (BIC = [value]); the noise variance was [value] and the signal accounted for [value]% of the total variance.
Related methods
- Principal Component Analysis (PCA)
- Exploratory Factor Analysis (EFA)
- Gaussian Process Latent Variable Model (GPLVM)
- Parallel Analysis for Factor Retention
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 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 Probabilistic Principal Component Analysis (PPCA) on Quorant
- Data you need
- a table (CSV or Excel) with 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.