PCA of Hellinger-Transformed Counts
PCA of Hellinger-transformed counts first turns each row into relative proportions and takes square roots, then performs an ordinary principal component analysis. Euclidean distances after the transformation are Hellinger distances, which do not treat shared absences as similarity.
헬링거 변환 PCA는 각 행을 상대 비율로 바꾸고 제곱근을 취한 뒤 일반 주성분분석을 합니다. 변환 후의 유클리드 거리가 헬링거 거리가 되므로, 함께 없는 종이 많다고 해서 서로 비슷하게 취급되지 않습니다.
How can I ordinate sites by species abundances, or documents by counts, without double zeros making unrelated rows look alike?
함께 0인 칸 때문에 관계없는 행이 비슷해 보이지 않도록 종 풍부도나 빈도로 지점을 배열하려면 어떻게 하나요?
Each count is divided by its row total and square-rooted, the transformed table is centred, and a covariance PCA gives eigenvalues, site scores and variable scores in scaling 1 or scaling 2. Axes are compared with the broken-stick model, and variables whose arrows exceed the equilibrium contribution are flagged.
When to use PCA of Hellinger-Transformed Counts
- You analyse species abundance or community composition tables with many zeros.
- You want a linear ordination that is suitable for counts and can be linked to redundancy analysis.
- You need a quick test of how many axes stand out against chance.
When to use something else
- Gradients are long and responses unimodal: use Detrended Correspondence Analysis (DCA)
- You want to relate composition to explanatory variables: use Redundancy Analysis (RDA)
- Your data are continuous measurements rather than counts: use Principal Component Analysis (PCA)
Assumptions and requirements
- Nonnegative counts or abundances
- Every row has a positive total
- Linear relations among transformed variables
What the analysis reports
- Eigenvalues and share of variance per axis
- Broken-stick expectations and number of axes above them
- Variable scores in the chosen scaling
- Variables exceeding the equilibrium contribution
How to report it
PCA of Hellinger-transformed abundances of [value] species at [value] sites explained [value]% of the variance on the first [value] axes; [value] axes exceeded the broken-stick model.
Related methods
- Principal Component Analysis (PCA)
- Redundancy Analysis (RDA)
- Correspondence Analysis
- Detrended Correspondence Analysis (DCA)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).
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 PCA of Hellinger-Transformed Counts on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.