Exponential-Family PCA (Logistic and Poisson PCA)
Exponential-family PCA extends principal component analysis to binary or count data by placing the low-rank structure on the natural parameters of a Bernoulli or Poisson model instead of on the raw values. Logistic PCA and Poisson PCA are its two most common forms.
지수족 주성분분석은 이진 자료나 빈도 자료에 주성분분석을 확장한 방법으로, 원래 값이 아니라 베르누이나 포아송 모형의 자연모수에 저차원 구조를 둡니다. 로지스틱 PCA와 포아송 PCA가 대표적인 형태입니다.
How can I find a few underlying dimensions in a table of yes/no answers or counts without treating them as continuous?
예/아니오 응답이나 빈도로 이루어진 표를 연속형으로 취급하지 않고 몇 개의 잠재 차원을 찾으려면 어떻게 하나요?
Each cell's log-odds (binary data) or log-rate (counts) is modelled as a column offset plus a low-rank product of row scores and column loadings, and the model is fitted by maximum likelihood with a small ridge penalty that keeps estimates finite. The share of deviance explained by each rank, the loadings and the row scores are reported.
When to use Exponential-Family PCA (Logistic and Poisson PCA)
- Your variables are 0/1 indicators, such as symptoms, purchases or test items.
- Your variables are counts, such as word or species counts, and ordinary PCA on raw counts is distorted by the mean-variance relation.
- You want a likelihood-based measure of how much structure each extra dimension captures.
When to use something else
- Your variables are continuous: use Principal Component Analysis (PCA)
- You need a latent-trait model with item difficulty and discrimination: use Multidimensional Item Response Theory
- You want parts-based nonnegative factors of counts: use Non Negative Matrix Factorization (NMF)
Assumptions and requirements
- Binary values are 0/1 or counts are non-negative whole numbers
- Cells are independent given the low-rank structure
- The chosen rank is adequate
What the analysis reports
- Deviance and share of deviance explained by rank
- Column offsets and loadings
- Row scores
- Ridge penalty used
How to report it
A rank-[value] logistic PCA of [value] binary items explained [value]% of the deviance of the column-means model.
Related methods
- Principal Component Analysis (PCA)
- Generalized Low-Rank Model (GLRM)
- Multiple Correspondence Analysis
- Non Negative Matrix Factorization (NMF)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and statsmodels at a stated tolerance of 1e-4.
독립 계산. SciPy·statsmodels 대조 참조 시험 2건 통과(허용오차 1e-4).
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 Exponential-Family PCA (Logistic and Poisson PCA) 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.