Optimal Whitening Transformations (ZCA, PCA and Cholesky; Covariance- and Correlation-Based)
Whitening turns correlated variables into uncorrelated variables with unit variance. Infinitely many transformations do this; ZCA, ZCA-cor, PCA, PCA-cor and Cholesky whitening are the common choices, each optimal under a different criterion.
상관된 변수를 서로 상관이 없고 분산이 1인 변수로 바꾸는 백색화 변환으로, ZCA, ZCA-cor, PCA, PCA-cor, 촐레스키 백색화가 각기 다른 기준에서 최적입니다.
Which whitening transformation should I use, and how close do the whitened variables stay to the originals?
어떤 백색화 변환을 써야 하고, 백색화된 변수는 원래 변수와 얼마나 가깝게 남을까요?
All five transformations are computed and compared on how strongly each whitened variable stays tied to its own original variable (traces of the cross-covariance and cross-correlation) and on how much of that tie the first component captures. ZCA keeps whitened variables most similar to the originals; PCA-type whitening compresses information into the first components.
When to use Optimal Whitening Transformations (ZCA, PCA and Cholesky; Covariance- and Correlation-Based)
- Preprocessing before methods that assume uncorrelated inputs.
- Decorrelating variables while keeping them interpretable.
- Comparing covariance- and correlation-based whitening.
When to use something else
- You want to reduce the number of variables: use Principal Component Analysis (PCA).
- You want statistically independent (not just uncorrelated) components: use Independent Component Analysis.
Assumptions and requirements
- The covariance matrix is non-singular.
- Linear relations capture the dependence of interest.
What the analysis reports
- Criteria for each transformation
- Whitening matrix of the chosen transformation
- Cross-correlation of each whitened variable with its original
How to report it
ZCA-cor whitening gave a cross-correlation trace of [value]; PCA-cor placed [value]% of the squared cross-correlation in the first component.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy at a stated tolerance of 1e-10.
독립 계산. SciPy 대조 참조 시험 1건 통과(허용오차 1e-10).
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 Optimal Whitening Transformations (ZCA, PCA and Cholesky; Covariance- and Correlation-Based) 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.